/* Base Styles */
:root {
    --primary-color: #4e6bff;
    --secondary-color: #ff6b4e;
    --dark-color: #2d3748;
    --light-color: #f8f9fa;
    --text-color: #4a5568;
    --section-padding: 80px 0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
}

section {
    padding: var(--section-padding);
}

.section-bg {
    background-color: #f8f9fa;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    position: relative;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: calc(50% - 25px);
}

.section-title p {
    margin-bottom: 0;
    font-size: 18px;
}

/* Buttons */
.btn-primary-custom {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #3a57ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.btn-secondary-custom {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 24px;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: all 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
#hero {
    width: 100%;
    height: 100vh;
    background-color: #f8f9fa;
    padding-top: 82px;
}

#hero h1 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
}

#hero h2 {
    font-size: 24px;
    color: #777;
    margin: 15px 0 0 0;
}

#hero p {
    margin: 20px 0 30px 0;
    font-size: 18px;
}

#hero .hero-img {
    text-align: center;
}

#hero .hero-img img {
    width: 80%;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Hero Arrow */
.hero-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-arrow a {
    color: black;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.hero-arrow a:hover {
    color: #0d6efd;
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

/* Services */
.service-card {
    text-align: center;
    padding: 30px 25px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card .icon-box {
    margin-bottom: 20px;
}

.service-card .icon-box i {
    color: var(--primary-color);
    font-size: 48px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: left;
}

.service-card ul li {
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.service-card ul li:before {
    content: "\F633";
    font-family: bootstrap-icons;
    color: var(--primary-color);
    font-size: 18px;
    margin-right: 8px;
}

/* Technologies Section */
.tech-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.tech-item {
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
}

.tech-item:hover {
    transform: translateY(-10px);
}

.tech-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.tech-item:hover .tech-icon {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
}

.tech-item:hover .tech-icon::after {
    transform: scale(1.2);
    opacity: 0.7;
}

.tech-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(78, 107, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    transition: all 0.5s ease;
    opacity: 0;
}

.tech-icon img {
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
}

.tech-item:hover .tech-icon img {
    transform: scale(1.1);
}

.tech-item p {
    font-weight: 500;
    margin: 0;
    transition: all 0.3s ease;
}

.tech-item:hover p {
    color: var(--primary-color);
}

/* Contact */
.contact .contact-info {
    width: 100%;
    background: white;
    padding: 30px;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.contact .contact-info i {
    font-size: 24px;
    color: var(--primary-color);
    float: left;
    width: 44px;
    height: 44px;
    background: #e7f1fd;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    margin-right: 15px;
}

.contact .contact-info h4 {
    padding: 0 0 0 60px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact .contact-info p {
    padding: 0 0 0 60px;
    margin-bottom: 20px;
    font-size: 15px;
    color: #6c757d;
}

.contact .contact-info .social-links {
    padding-left: 60px;
}

.contact .contact-info .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #e7f1fd;
    color: var(--primary-color);
    line-height: 1;
    padding: 8px 0;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    margin-right: 10px;
    transition: 0.3s;
}

.contact .contact-info .social-links a:hover {
    background: var(--primary-color);
    color: white;
}

.contact .contact-form {
    width: 100%;
    background: white;
    padding: 30px;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.contact .contact-form .form-group {
    padding-bottom: 15px;
}

.contact .contact-form label {
    padding-bottom: 8px;
    color: var(--dark-color);
    font-weight: 500;
}

.contact .contact-form input,
.contact .contact-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    border-radius: 5px;
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus {
    border-color: var(--primary-color);
}

.contact .contact-form .form-check {
    margin-top: 15px;
    margin-bottom: 15px;
}

.contact .contact-form .form-check-label {
    cursor: pointer;
    padding-left: 5px;
    padding-bottom: 0;
}

.contact .contact-form .form-check-input {
    cursor: pointer;
}

.contact .contact-form .form-check-input.is-invalid ~ .invalid-feedback {
    display: block;
}

.contact .contact-form .form-text {
    margin-top: 5px;
    font-size: 0.875em;
}

.contact .contact-form .form-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 60px 0 30px 0;
    font-size: 15px;
}

.footer h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 30px;
    background-color: var(--primary-color);
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.footer ul {
    padding: 0;
    list-style: none;
}

.footer ul li {
    padding: 8px 0;
}

.footer .footer-newsletter {
    display: none;
}

.copyright {
    background: #202736;
    padding: 20px 0;
    color: #fff;
}

/* Projects page styles */
.projects-header {
    background: linear-gradient(rgba(45, 55, 72, 0.8), rgba(45, 55, 72, 0.8)), url('../img/projects-header-bg.jpg') center center;
    background-size: cover;
    padding: 100px 0;
    color: #fff;
    text-align: center;
}

.projects-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
}

.projects-header p {
    font-size: 20px;
    margin-bottom: 0;
}

.projects .projects-intro {
    max-width: 800px;
    margin: 0 auto;
}

.project-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.project-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
}

.project-card .project-img {
    position: relative;
    overflow: hidden;
}

.project-card .project-img img {
    transition: all 0.3s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-card .project-info {
    padding: 25px;
}

.project-card .project-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.project-card .technology-tags {
    margin-top: 15px;
}

.project-card .technology-tags span {
    display: inline-block;
    background: #f0f4ff;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 50px;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}

.future-project {
    display: flex;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.future-project:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.future-project .icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    margin-right: 20px;
}

.future-project .icon i {
    font-size: 32px;
}

.future-project .content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), #3a57ff);
    color: #fff;
    padding: 50px;
    border-radius: 10px;
}

.cta-box h3 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-box .btn {
    margin-top: 20px;
    background-color: #fff;
    color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
}

.cta-box .btn:hover {
    background-color: var(--dark-color);
    color: #fff;
}

/* Projects Preview Section */
.projects-preview {
    padding: 80px 0;
    background-color: #ffffff;
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card .card-body {
    padding: 20px;
}

.project-card h4 {
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c4964;
}

.project-card p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Projects Banner Styles */
.projects-banner {
    padding: 120px 0 80px;
    margin-bottom: 0;
    z-index: 1;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    z-index: -1;
}

.banner-content h1,
.banner-content p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-weight: 400;
}

.banner-badges .badge {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    margin-top: 10px;
}

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.3);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.shape-4 {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.2);
    bottom: 10%;
    right: 20%;
    animation-delay: 3s;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* Project Cards Styling */
.project-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    transition: transform 0.5s;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links a {
    margin: 0 5px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s;
}

.project-card:hover .project-links a {
    transform: translateY(0);
    opacity: 1;
}

.project-card:hover .project-links a:nth-child(2) {
    transition-delay: 0.1s;
}

.project-tech {
    margin-top: 15px;
}

.tech-tag {
    display: inline-block;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 12px;
    color: #666;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Project Category Buttons */
.category-btn {
    border-radius: 30px;
    padding: 8px 20px;
    transition: all 0.3s;
}

.category-btn.active {
    background-color: #4e54c8;
    border-color: #4e54c8;
    color: white;
}

/* Project CTA Section */
.project-cta .cta-content {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    border-radius: 15px;
}

.project-cta h2,
.project-cta p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Animation classes */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeInDown {
    animation-name: fadeInDown;
}

.fadeInUp {
    animation-name: fadeInUp;
}

.zoomIn {
    animation-name: zoomIn;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    50% {
        opacity: 1;
    }
}

/* Toast notification styling */
#notification-container .toast {
    opacity: 0;
    transition: all 0.3s ease;
    animation: slideInRight 0.3s ease forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#notification-container .toast.hide {
    animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

/* Pricing Section */
.pricing-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.recommended-plan {
    position: relative;
    overflow: hidden;
    transform: scale(1.05);
}

.recommended-plan:hover {
    transform: translateY(-10px) scale(1.05);
}

.pricing-card .card-header {
    padding: 2rem 1.5rem;
    border-bottom: none;
    background-color: transparent;
    text-align: center;
}

.recommended-plan .card-header {
    border-radius: 12px 12px 0 0;
}

.pricing-card .display-4 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.recommended-plan .display-4 {
    color: white;
}

.pricing-card .card-body {
    padding: 1.5rem;
}

.pricing-card .list-unstyled li i {
    font-size: 1.2rem;
}

.pricing-card .card-footer {
    padding: 1.5rem;
    background-color: transparent;
}

.pricing-card .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pricing-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Pricing Banner */
#pricing-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9)), 
                url('../img/hero-img.svg') no-repeat center right;
    background-size: cover;
    padding: 100px 0 50px;
    position: relative;
}

#pricing-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

#pricing-cta .cta-content {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: all 0.3s ease;
}

#pricing-cta .cta-content:hover {
    transform: translateY(-10px);
}

/* Responsive */
@media (max-width: 991px) {
    #hero {
        text-align: center;
        height: auto;
        padding: 120px 0 60px 0;
    }

    #hero .hero-img {
        margin-top: 50px;
    }

    #hero .hero-img img {
        width: 70%;
    }
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 36px;
    }
    #hero h2 {
        font-size: 20px;
    }
    .section-title h2 {
        font-size: 28px;
    }
    
    .pricing-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .contact .contact-info .social-links {
        padding-left: 0;
    }
    .contact .contact-info h4,
    .contact .contact-info p {
        padding-left: 50px;
    }
}

@media (max-width: 991px) {
    .recommended-plan {
        transform: scale(1);
    }
    
    .recommended-plan:hover {
        transform: translateY(-10px) scale(1);
    }
    
    #pricing-banner h1 {
        font-size: 2.5rem;
    }
}
