/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #0b1120;
    overflow-x: hidden;
}

section,
main,
div#services {
    scroll-margin-top: 120px;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d2156 0%, #1a3a7a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.preloader-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: logoFadeIn 1s ease-out;
}

.logo-icon-loader {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    animation: logoPulse 2s ease-in-out infinite;
}

.logo-text-loader {
    height: 35px;
    width: auto;
    animation: logoSlideIn 1s ease-out 0.3s both;
}

.preloader-spinner {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.spinner-ring {
    width: 12px;
    height: 12px;
    border: 3px solid rgba(249, 198, 35, 0.3);
    border-top-color: #f9c623;
    border-radius: 50%;
    animation: spinnerRotate 1s linear infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-ring:nth-child(3) {
    animation-delay: 0.4s;
}

.preloader-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
    animation: textFadeIn 1s ease-out 0.6s both;
}

/* Preloader Animations */
@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

@keyframes logoSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spinnerRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 0.8;
    }
}

/* Prevent body scroll when preloader is active */
body.preloader-active {
    overflow: hidden;
}

/* Typewriter Effect for Headings */
.typewriter:not(.typed)::after {
    content: '|';
    color: #f9c623;
    animation: blink 0.7s infinite;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

/* Container Utility */
.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Header --- */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 98%;
    max-width: 1400px;
    background-color: #0d2156;
    padding: 10px 40px;
    border-radius: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: none;
    transition: box-shadow 0.3s ease;
    z-index: 1000;
}

header.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container nav ul li a {

    color: #fff;
}

/* Logo Styles */
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 25px;
    border-radius: 4px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Creating the inner arch of the logo with CSS */
.logo-icon span {
    width: 12px;
    height: 18px;
    border: 2px solid #000;
    border-bottom: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-top: 6px;
}

.logo-text img {
    height: 35px;
    width: auto;
}

.logo-icon {
    height: 35px;
    width: auto;
    object-fit: contain;
}

/* Navigation Links */
nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    /* White for header */
    font-weight: 500;
    font-size: 16px;
    padding-bottom: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 2px solid transparent;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f9c623;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav ul li a.active::after,
nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    border-bottom: none;
    /* Using ::after instead */
}

/* Buttons */
.btn {
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-dark {
    background-color: #f9c623;
    color: #0b1120;
    font-size: 15px;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #0b1120;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    /* Changed to solid white for full page */
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
    /* Center align text */
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mobile-logo {
    width: 40px;
    /* Slightly larger logo */
}

.close-menu-btn {
    font-size: 32px;
    /* Larger close button */
    cursor: pointer;
    color: #0b1120;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* Increased gap */
    margin-top: 40px;
    /* Push down links */
    align-items: center;
}

.mobile-nav-links a {
    text-decoration: none;
    color: #0b1120;
    font-size: 24px;
    /* Larger font size */
    font-weight: 600;
    display: block;
    font-family: 'Syne', sans-serif;
    /* Use heading font */
}

.mobile-nav-links a.active {
    color: #f9c623;
}

.mobile-cta {
    text-align: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    /* Center button */
    padding: 18px 30px;
    font-size: 18px;
}

body.no-scroll {
    overflow: hidden;
}

@media (max-width: 900px) {

    .desktop-nav,
    header .btn-dark {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* --- Hero Section --- */
main {
    padding-top: 160px;
}

.hero-container h1 {
    font-size: 56px;
    /* Reduced font size */
    font-weight: 600;
    /* Slightly bolder to match typical modern headers */
    line-height: 1.1;
    color: #0b1120;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    font-family: 'Syne', sans-serif;

}

.hero-container h1 .highlight {
    font-weight: 500;
}

.sub-headline {
    font-size: 20px;
    font-weight: 400;
    color: #444;
    margin-bottom: 50px;
    max-width: 600px;
}

/* Action Buttons Row */
.actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
}

.left-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* WhatsApp Button */
.btn-whatsapp {
    background-color: #37b34a;
    /* WhatsApp Green */
    color: white;
    font-size: 18px;
    font-weight: 500;
    padding: 16px 32px;
}

.btn-whatsapp i {
    font-size: 24px;
}

/* Consultant Button (Pill shape with border) */
.consult-card {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 8px 25px 8px 8px;
    cursor: pointer;
    transition: 0.3s;
}

.consult-card:hover {
    border-color: #bbb;
    background-color: #f9f9f9;
}

.avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.consult-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.consult-text .bold {
    font-weight: 700;
    font-size: 14px;
    color: #0b1120;
}

.consult-text .small {
    font-size: 13px;
    color: #555;
}

/* Featured Work Link (Moved to Portfolio Section below) */

/* --- Portfolio Preview Section --- */
.portfolio-section {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    margin-bottom: 60px;
}

.portfolio-card {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

/* Row 1: 30% + 70% */
.portfolio-card:nth-child(1) {
    grid-column: 1 / 4;
    /* 3 out of 10 = 30% */
}

.portfolio-card:nth-child(2) {
    grid-column: 4 / 11;
    /* 7 out of 10 = 70% */
}

/* Row 2: 70% + 30% */
.portfolio-card:nth-child(3) {
    grid-column: 1 / 8;
    /* 7 out of 10 = 70% */
}

.portfolio-card:nth-child(4) {
    grid-column: 8 / 11;
    /* 3 out of 10 = 30% */
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Testimonials Section --- */
.testimonials-section {
    background-color: #f7f7f7;
    padding: 80px 0;
    margin-top: 60px;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 60px;
}

.header-left {
    flex: 1;
}

.header-right {
    flex: 1;
}

.section-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 10px;
}

.testimonials-header h2 {
    font-size: 42px;
    font-weight: 600;
    color: #0b1120;
    line-height: 1.2;
    font-family: 'Syne', sans-serif;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.testimonials-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 40px;
    padding: 0 40px;
    margin-left: -40px;
    margin-right: -40px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.testimonials-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.testimonials-grid {
    display: flex;
    gap: 20px;
    width: max-content;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 350px;
    height: 350px;
    aspect-ratio: 1 / 1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-icon {
    flex-shrink: 0;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0b1120;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.icon-circle.green {
    background-color: #4CAF50;
}

.icon-circle.dark {
    background-color: #333;
}

.icon-circle.purple {
    background-color: #9C27B0;
}

.icon-circle.gold {
    background-color: #f9c623;
}

.icon-circle.orange {
    background-color: #FF9800;
}

.client-name {
    font-size: 18px;
    font-weight: 600;
    color: #0b1120;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Syne', sans-serif;
}

.quote-mark {
    font-size: 28px;
    font-weight: 400;
    color: #0b1120;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    -webkit-box-orient: vertical;
}

.stars {
    color: #ffc107;
    font-size: 16px;
    letter-spacing: 2px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #0b1120;
}

/* --- Animated Banner Section --- */
/* --- Video Banner Card Section --- */
.video-banner-section {
    width: 100%;
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.video-banner-card {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 450px;
    background: #f3f2f2;
    border-radius: .5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .04;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 40px;
}

.banner-content h2 {
    font-size: 56px;
    font-weight: 600;
    color: #0b1120;
    font-family: 'Syne', sans-serif;
    line-height: 1.2;
}

/* --- Stats Section --- */
.stats-section {
    padding: 80px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
}

.stats-header-left {
    flex: 1;
}

.stats-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    display: block;
    margin-bottom: 10px;
}

.stats-header-left h2 {
    font-size: 48px;
    font-weight: 600;
    color: #0b1120;
    font-family: 'Syne', sans-serif;
    line-height: 1.1;
}

.stats-header-right {
    flex: 0 0 400px;
}

.stats-header-right p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stats-card {
    background: white;
    border: 1px solid #0b1120;
    border-radius: 1rem;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 1 / 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stats-card h3 {
    font-size: 56px;
    font-weight: 600;
    color: #0b1120;
    margin-bottom: 20px;
    font-family: 'Syne', sans-serif;
    transition: color 0.3s ease;
}

.stats-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    transition: color 0.3s ease;
}

/* Hover State */
.stats-card:hover {
    background-color: #f9c623;
    border-color: #f9c623;
}

.stats-card:hover h3 {
    color: #0b1120;
}

.stats-card:hover p {
    color: rgba(11, 17, 32, 0.9);
}

/* --- Floating Socials --- */
.floating-socials {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon.whatsapp {
    background-color: #45c655;
}

.social-icon.instagram {
    /* Instagram Gradient */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon.linkedin {
    background-color: #0077b5;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1400px) {

    /* Add padding to main container */
    main {
        padding-left: 5%;
        padding-right: 5%;
    }

    .portfolio-section {
        padding-left: 0;
        padding-right: 0;
    }

    /* Testimonials Section - edge to edge */
    .testimonials-section {
        margin-left: -5%;
        margin-right: -5%;
        width: 100vw;
        position: relative;
        left: 0;
    }

    .testimonials-section .container {
        padding-left: 0;
        padding-right: 0;
    }

    .testimonials-wrapper {
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .testimonials-header {
        padding: 0 5%;
    }

    .slider-dots {
        padding: 0 5%;
    }
}

@media (max-width: 1100px) {
    .hero-container h1 {
        font-size: 60px;
    }

    .actions-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .left-actions {
        flex-wrap: wrap;
    }

    .portfolio-section {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-card {
        height: 300px;
    }

    .testimonials-header {
        flex-direction: column;
        gap: 20px;
    }

    .testimonial-card {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {

    /* Add padding to main container */
    main {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-container h1 {
        font-size: 40px;
    }

    .sub-headline {
        font-size: 18px;
    }

    .portfolio-section {
        grid-template-columns: 1fr;
        padding-left: 0;
        padding-right: 0;
    }

    .portfolio-card {
        height: 250px;
    }

    header {
        width: 95%;
        padding: 12px 20px;
    }

    nav ul {
        gap: 20px;
    }

    nav ul li a {
        font-size: 14px;
    }

    .testimonials-header h2 {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* Testimonials Section - edge to edge */
    .testimonials-section {
        margin-left: -5%;
        margin-right: -5%;
        width: 100vw;
        position: relative;
        left: 0;
    }

    .testimonials-section .container {
        padding-left: 0;
        padding-right: 0;
    }

    .testimonials-wrapper {
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .testimonials-header {
        padding: 0 5%;
    }

    .slider-dots {
        padding: 0 5%;
    }

    .video-banner-card {
        height: 200px;
        margin-left: 0;
        margin-right: 0;
    }

    .banner-content {
        padding: 0 20px;
    }

    .banner-content h2 {
        font-size: 28px;
    }

    /* Stats Section Responsive */
    .stats-section {
        padding: 40px 0;
    }

    .stats-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 40px;
    }

    .stats-header-left h2 {
        font-size: 32px;
    }

    .stats-header-right {
        flex: auto;
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stats-card {
        height: auto;
        min-height: 250px;
    }

    .stats-card h3 {
        font-size: 42px;
    }
}

/* --- Founder Section --- */
.founder-section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.founder-headline {
    margin-bottom: 60px;
    text-align: left;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.founder-headline h2 {
    font-size: 42px;
    font-weight: 600;
    color: #0b1120;
    font-family: 'Syne', sans-serif;
    line-height: 1.2;
    max-width: 900px;
}

.founder-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.founder-info {
    flex: 1;
    max-width: 700px;
}

.founder-role {
    font-size: 13px;
    color: #666;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-name {
    font-size: 28px;
    font-weight: 600;
    color: #0b1120;
    margin-bottom: 15px;
    font-family: 'Syne', sans-serif;
}

.founder-bio {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 30px;
}

.founder-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary,
.btn-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background-color: #f9c623;
    color: #0b1120;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.btn-linkedin {
    gap: 10px;
}

.btn-primary:hover,
.btn-linkedin:hover {
    background-color: #e0b31f;
}

.founder-image-container {
    flex: 0 0 300px;
    height: 400px;
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50px 150px 30px 30px;
}

@media (max-width: 900px) {
    .founder-headline h2 {
        font-size: 36px;
    }

    .founder-content {
        flex-direction: column;
        gap: 40px;
    }

    .founder-info {
        max-width: 100%;
    }

    .founder-image-container {
        width: 100%;
        height: 400px;
        flex: auto;
    }
}

/* --- Team Section --- */
.team-section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.team-header-left {
    flex: 1;
}

.team-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    display: block;
    margin-bottom: 10px;
}

.team-header-left h2 {
    font-size: 48px;
    font-weight: 600;
    color: #0b1120;
    font-family: 'Syne', sans-serif;
    line-height: 1.1;
}

.team-header-right {
    flex: 0 0 400px;
}

.team-header-right p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.team-grid {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.team-member-card {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 80px;
}

.team-member-card:last-child {
    margin-bottom: 0;
}

.team-member-image-wrapper {
    position: relative;
    flex: 0 0 300px;
    height: 400px;
}

.decorative-lines {
    display: none;
}

.team-member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50px 150px 30px 30px;
    position: relative;
    z-index: 2;
}

.team-member-info {
    flex: 1;
    padding-top: 20px;
}

.member-role {
    font-size: 13px;
    color: #666;
    display: block;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.member-name {
    font-size: 28px;
    font-weight: 600;
    color: #0b1120;
    margin-bottom: 20px;
    font-family: 'Syne', sans-serif;
}

.member-bio {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

@media (max-width: 900px) {
    .team-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .team-header-left h2 {
        font-size: 32px;
    }

    .team-header-right {
        flex: auto;
        width: 100%;
    }

    .team-member-card {
        flex-direction: column;
        gap: 30px;
    }

    .team-member-image-wrapper {
        width: 100%;
        flex: auto;
        height: 400px;
    }
}

/* --- Instagram Section --- */
.instagram-section {
    padding: 80px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.instagram-content {
    background-color: #f5f5f5;
    border-radius: 20px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.instagram-phone {
    flex: 0 0 200px;
}

.phone-mockup {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.instagram-text {
    flex: 1;
    max-width: 500px;
}

.instagram-text h2 {
    font-size: 3rem;
    font-weight: 600;
    color: #0b1120;
    font-family: 'Syne', sans-serif;
    line-height: 1.1;
    margin-bottom: 40px;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #f9c623;
    color: #0b1120;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.instagram-button:hover {
    background-color: #e0b31f;
}

@media (max-width: 900px) {
    .instagram-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 40px 20px;
    }

    .instagram-text h2 {
        font-size: 36px;
    }

    .instagram-phone {
        flex: auto;
        width: 250px;
    }
}

/* --- Comparison Section --- */
.comparison-section {
    padding: 80px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-header-left {
    flex: 1;
}

.comparison-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    display: block;
    margin-bottom: 10px;
}

.comparison-header-left h2 {
    font-size: 48px;
    font-weight: 600;
    color: #0b1120;
    font-family: 'Syne', sans-serif;
    line-height: 1.1;
}

.comparison-header-right {
    flex: 0 0 400px;
}

.comparison-header-right p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.comparison-table {
    max-width: 1400px;
    margin: 0 auto;
    /* Removed background and border-radius from container */
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1.5fr;
    padding: 25px 40px;
    background-color: #f9f9f9;
    /* Background for each row */
    margin-bottom: 10px;
    /* Gap between rows */
    align-items: center;
    /* No border-radius for sharp edges */
}

.comparison-row:last-child {
    margin-bottom: 0;
}

.comparison-row.header {
    background-color: #f9f9f9;
    /* Same background as other rows */
    font-weight: 600;
    font-size: 20px;
    color: #0b1120;
    font-family: 'Syne', sans-serif;
    margin-bottom: 10px;
}

.col-feature {
    font-weight: 600;
    color: #0b1120;
    font-size: 18px;
}

.comparison-row:not(.header) .col-feature {
    font-size: 20px;
    font-family: 'Syne', sans-serif;
}

.col-others {
    color: #666;
    font-size: 16px;
}

.col-we {
    color: #0b1120;
    font-weight: 500;
    font-size: 16px;
}

.icon-cross,
.icon-check {
    margin-left: 10px;
    font-size: 20px;
}

@media (max-width: 900px) {
    .comparison-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .comparison-header-left h2 {
        font-size: 32px;
    }

    .comparison-header-right {
        flex: auto;
        width: 100%;
    }

    .comparison-row {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }

    .col-feature {
        margin-bottom: 10px;
    }

    .comparison-row.header {
        display: none;
        /* Hide header on mobile for cleaner look */
    }

    .col-others::before {
        content: "Others: ";
        font-weight: 600;
    }

    .col-we::before {
        content: "We: ";
        font-weight: 600;
    }
}

/* --- FAQ Section --- */
.faq-section {
    padding: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.faq-header-left {
    flex: 1;
}

.faq-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    display: block;
    margin-bottom: 10px;
}

.faq-header-left h2 {
    font-size: 48px;
    font-weight: 600;
    color: #0b1120;
    font-family: 'Syne', sans-serif;
    line-height: 1.1;
}

.faq-header-right {
    flex: 0 0 400px;
}

.faq-header-right p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    /* Placeholder for border */
}

.faq-item.open {
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Prominent shadow for open item */
    border-color: transparent;
    margin-bottom: 20px;
    /* Add space below open item */
    margin-top: 10px;
    /* Add space above open item */
    transform: scale(1.02);
    /* Slight scale up */
}

.faq-question {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0b1120;
    margin: 0;
    font-family: 'Syne', sans-serif;
}

.faq-icon {
    font-size: 18px;
    color: #0b1120;
    width: 36px;
    height: 36px;
    border: 1px solid #0b1120;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    /* Prevent icon shrinking */
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px 30px;
    display: none;
    color: #444;
    line-height: 1.7;
    font-size: 16px;
}

.faq-item.open .faq-answer {
    display: block;
}

/* CTA Card */
.faq-cta-card {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.faq-cta-card h3 {
    font-size: 28px;
    font-weight: 600;
    color: #0b1120;
    font-family: 'Syne', sans-serif;
    margin-bottom: 30px;
    line-height: 1.3;
}

.btn-get-started {
    display: inline-block;
    background-color: #f9c623;
    color: #0b1120;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.btn-get-started:hover {
    background-color: #e0b31f;
}

@media (max-width: 900px) {
    .faq-container {
        grid-template-columns: 1fr;
    }

    .faq-cta-card {
        padding: 40px 20px;
    }

    .faq-header-right p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* --- Contact Section --- */
.contact-section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-left {
    flex: 0 0 300px;
}

.contact-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    display: block;
    margin-bottom: 15px;
}

.contact-left h2 {
    font-size: 56px;
    font-weight: 600;
    color: #0b1120;
    font-family: 'Syne', sans-serif;
    line-height: 1.1;
}

.contact-right {
    flex: 1;
    max-width: 700px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: flex;
    gap: 25px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

.form-group input,
.form-group textarea {
    background-color: #f9f9f9;
    border: none;
    padding: 15px;
    border-radius: 4px;
    font-size: 16px;
    color: #0b1120;
    font-family: inherit;
    width: 100%;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #0b1120;
    background-color: white;
}

.btn-submit {
    background-color: #f9c623;
    color: #0b1120;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #e0b31f;
}

@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-left h2 {
        font-size: 42px;
    }

    .form-row {
        flex-direction: column;
        gap: 25px;
    }
}

/* --- Footer Section --- */
.site-footer {
    background-color: #050d21;
    /* Dark blue background */
    color: white;
    padding: 80px 5% 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 100px;
}

.footer-column h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    font-family: 'Syne', sans-serif;
}

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

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.newsletter-column {
    flex: 0 0 500px;
}

.turnstile-placeholder {
    margin-bottom: 20px;
}

.turnstile-box {
    background: #333;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 300px;
    font-size: 14px;
}

.check-icon {
    background: #4caf50;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.cloudflare-logo {
    margin-left: auto;
    font-size: 10px;
    color: #aaa;
}

.form-group-dark {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.form-group-dark label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.form-group-dark input {
    background-color: #1a2236;
    border: none;
    padding: 15px;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    width: 100%;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.checkbox-group label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.btn-footer-submit {
    background-color: white;
    color: #050d21;
    border: none;
    padding: 15px 60px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-footer-submit:hover {
    background-color: #e0e0e0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.footer-logo-img {
    height: 40px;
    filter: brightness(0) invert(1);
    /* Make logo white */
}

.footer-copyright {
    text-align: right;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .footer-columns {
        flex-direction: column;
        gap: 40px;
    }

    .newsletter-column {
        flex: auto;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-copyright {
        text-align: left;
    }
}

/* --- Mobile Responsive Adjustments (< 600px) --- */
@media (max-width: 600px) {

    /* Hero Section */
    main {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-container h1 {
        font-size: 36px;
    }

    .sub-headline {
        font-size: 16px;
    }

    .actions-row {
        gap: 20px;
    }

    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }

    .consult-card {
        width: 100%;
    }

    /* Portfolio Section */
    .portfolio-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .portfolio-card {
        grid-column: auto !important;
        /* Reset grid column spans */
        height: 250px;
    }

    /* Testimonials Section */
    .testimonials-section {
        margin-left: -5%;
        margin-right: -5%;
        width: 100vw;
        position: relative;
        left: 0;
    }

    .testimonials-section .container {
        padding-left: 0;
        padding-right: 0;
    }

    .testimonials-wrapper {
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .testimonials-header {
        padding: 0 5%;
    }

    .slider-dots {
        padding: 0 5%;
    }

    .testimonials-header h2 {
        font-size: 28px;
    }

    .testimonial-card {
        width: 280px;
        height: auto;
        min-height: 300px;
    }

    /* Video Banner */
    .video-banner-section {
        padding-left: 0;
        padding-right: 0;
    }

    .banner-content {
        padding: 0 20px;
    }

    .banner-content h2 {
        font-size: 24px;
    }

    .video-banner-card {
        height: 250px;
    }

    /* Stats Section */
    .stats-header-left h2 {
        font-size: 28px;
    }

    .stats-card h3 {
        font-size: 36px;
    }

    /* Founder Section */
    .founder-headline h2 {
        font-size: 28px;
    }

    .founder-name {
        font-size: 24px;
    }

    .founder-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-linkedin {
        width: 100%;
    }

    .founder-image-container {
        height: 300px;
    }

    /* Team Section */
    .team-header-left h2 {
        font-size: 28px;
    }

    .team-member-image-wrapper {
        height: 300px;
    }

    .member-name {
        font-size: 24px;
    }

    /* Instagram Section */
    .instagram-text h2 {
        font-size: 28px;
    }

    /* Comparison Section */
    .comparison-header-left h2 {
        font-size: 28px;
    }

    .comparison-row {
        padding: 15px;
    }

    .col-feature {
        font-size: 18px;
    }

    /* FAQ Section */
    .faq-header-left h2 {
        font-size: 28px;
    }

    .faq-header-right p {
        font-size: 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .faq-question h3 {
        font-size: 16px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-cta-card h3 {
        font-size: 22px;
    }

    /* Contact Section */
    .contact-left h2 {
        font-size: 32px;
    }

    .contact-section,
    .faq-section,
    .comparison-section,
    .instagram-section,
    .team-section,
    .founder-section,
    .stats-section {
        padding: 40px 5%;
        /* Reduce padding on mobile */
    }

    .testimonials-section {
        padding: 40px 0;
        /* No horizontal padding - touch screen edges */
    }

    .contact-container,
    .faq-container,
    .comparison-table,
    .instagram-content,
    .team-grid,
    .founder-content,
    .stats-grid {
        width: 100%;
    }

    /* Footer */
    .site-footer {
        padding: 40px 5%;
    }
}

/* --- Scroll Animation Styles --- */
.scroll-animate {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.fade-in {
    opacity: 0;
}

.scroll-animate.slide-up {
    opacity: 0;
    transform: translateY(50px);
}

.scroll-animate.slide-left {
    opacity: 0;
    transform: translateX(50px);
}

.scroll-animate.slide-right {
    opacity: 0;
    transform: translateX(-50px);
}

/* Active state when element is in viewport */
.scroll-animate.active {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Stagger animation delays for child elements */
.scroll-animate-stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-stagger.active>*:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.scroll-animate-stagger.active>*:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.scroll-animate-stagger.active>*:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.scroll-animate-stagger.active>*:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.scroll-animate-stagger.active>*:nth-child(5) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.scroll-animate-stagger.active>*:nth-child(6) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* ============================================
   Quote Modal Styles
   ============================================ */

.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.quote-modal.active {
    display: flex;
}

.quote-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 33, 86, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.quote-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.4s ease-out;
    display: flex;
    flex-direction: column;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.quote-modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.quote-modal-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 5px;
}

.modal-logo-text {
    height: 24px;
    width: auto;
}

.quote-modal-close {
    background: #f3f4f6;
    border: none;
    color: #6b7280;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.quote-modal-close:hover {
    background: #e5e7eb;
    color: #374151;
    transform: rotate(90deg);
}

.quote-modal-body {
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

.quote-modal-intro,
.quote-modal-introx {
    padding: 18px 24px 14px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #e5e7eb;
}

.quote-modal-introx {
    padding: 0;
    background: transparent;
    border-bottom: none;
    text-align: center;
}

.quote-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #0d2156;
    margin-bottom: 4px;
    font-family: 'Syne', sans-serif;
}

.quote-modal-subtitle {
    color: #6b7280;
    font-size: 12px;
    margin: 0;
}

/* Step Progress Indicator */
.step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.step-item {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 1;
    max-width: 200px;
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 11px;
    transition: all 0.3s ease;
    border: 1.5px solid #e5e7eb;
}

.step-item.active .step-number {
    background: linear-gradient(135deg, #0d2156 0%, #1a3a7a 100%);
    color: #ffffff;
    border-color: #0d2156;
    box-shadow: 0 2px 8px rgba(13, 33, 86, 0.25);
}

.step-item.completed .step-number {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.step-item.completed .step-number::after {
    content: '✓';
    font-size: 12px;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.step-connector::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #0d2156 0%, #1a3a7a 100%);
    transition: width 0.5s ease;
}

.step-item.completed~.step-connector::after,
.step-item.active~.step-connector::after {
    width: 100%;
}

/* Form Steps */
.quote-form {
    position: relative;
    min-height: 400px;
}

.form-step {
    display: none;
    padding: 20px 24px 24px;
    animation: fadeInSlide 0.4s ease-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-header {
    margin-bottom: 16px;
    text-align: center;
    text-align: left;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: #0d2156;
    margin-bottom: 4px;
    font-family: 'Syne', sans-serif;
}

.step-description {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

.form-fields-compact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Form Sections */
.form-section {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #0d2156;
    margin-bottom: 15px;
    font-family: 'Syne', sans-serif;
}

.form-section-hint {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 5px;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0d2156;
    box-shadow: 0 0 0 2px rgba(13, 33, 86, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Services Section */
.services-section {
    margin-top: 10px;
}

.services-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.services-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}

.service-checkbox {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
}

.service-checkbox:hover {
    border-color: #0d2156;
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(13, 33, 86, 0.1);
}

.service-checkbox input[type="checkbox"]:checked~.service-info {
    color: #0d2156;
    font-weight: 500;
}

.service-checkbox input[type="checkbox"]:checked {
    border-color: #0d2156;
    background: #f0f4ff;
}

.service-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 16px;
    height: 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-checkbox input[type="checkbox"]:checked+.checkbox-custom {
    background: #0d2156;
    border-color: #0d2156;
}

.service-checkbox input[type="checkbox"]:checked+.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

.service-checkbox input[type="checkbox"]:checked~.service-info {
    color: #0d2156;
    font-weight: 600;
}

.service-checkbox input[type="checkbox"]:checked~.service-info i {
    color: #f9c623;
}

.service-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #374151;
    transition: all 0.3s ease;
}

.service-info i {
    font-size: 16px;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.service-info span {
    font-size: 12px;
}

/* File Upload */
.file-upload-wrapper {
    margin-top: 10px;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f3f4f6;
    border: 1.5px dashed #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #374151;
    font-size: 12px;
}

.file-upload-label:hover {
    background: #e5e7eb;
    border-color: #0d2156;
    color: #0d2156;
}

.file-upload-wrapper input[type="file"] {
    display: none;
}

.file-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: #f3f4f6;
    border-radius: 5px;
    font-size: 12px;
}

.file-item-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
}

.file-item-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.file-item-remove:hover {
    background: #fee2e2;
}

/* Step Actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.btn-next-step,
.btn-back-step {
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
}

.btn-next-step {
    background: linear-gradient(135deg, #0d2156 0%, #1a3a7a 100%);
    color: #ffffff;
    margin-left: auto;
    box-shadow: 0 4px 12px rgba(13, 33, 86, 0.3);
}

.btn-next-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 33, 86, 0.4);
}

.btn-back-step {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.btn-back-step:hover {
    background: #e5e7eb;
    color: #0d2156;
}

/* Form Actions */
.form-actions {
    margin-top: 30px;
    text-align: center;
}

.btn-submit-quote {
    background: linear-gradient(135deg, #0d2156 0%, #1a3a7a 100%);
    color: #ffffff;
    border: none;
    padding: 9px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 3px 10px rgba(13, 33, 86, 0.25);
    margin-left: auto;
}

.btn-submit-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 33, 86, 0.4);
}

.btn-submit-quote:active {
    transform: translateY(0);
}

.btn-submit-quote:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-note {
    margin-top: 15px;
    color: #6b7280;
    font-size: 13px;
}

/* Success Message */
.quote-success-message {
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: scaleIn 0.5s ease-out;
}

.success-icon i {
    font-size: 40px;
    color: #ffffff;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.quote-success-message h3 {
    font-size: 28px;
    color: #0d2156;
    margin-bottom: 15px;
    font-family: 'Syne', sans-serif;
}

.quote-success-message p {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-close-success {
    background: #0d2156;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-close-success:hover {
    background: #1a3a7a;
    transform: translateY(-2px);
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
    .quote-modal-content {
        max-height: 95vh;
        border-radius: 16px;
        max-width: 95%;
    }

    .quote-modal-header {
        padding: 6px 10px;
        border-radius: 16px 16px 0 0;
    }

    .quote-modal-close {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .quote-modal-intro,
    .quote-modal-introx {
        padding: 14px 16px 10px;
    }

    .quote-modal-introx {
        padding: 0;
    }

    .quote-modal-title {
        font-size: 20px;
    }

    .step-progress {
        padding: 8px 16px;
    }

    .step-number {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .form-step {
        padding: 16px 16px 20px;
    }

    .step-title {
        font-size: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .services-grid-compact {
        grid-template-columns: 1fr;
    }

    .step-actions {
        flex-direction: column-reverse;
    }

    .btn-next-step,
    .btn-back-step,
    .btn-submit-quote {
        width: 100%;
        justify-content: center;
    }
}

/* Scrollbar Styling for Modal */
.quote-modal-content::-webkit-scrollbar {
    width: 8px;
}

.quote-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.quote-modal-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.quote-modal-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ============================================
   Contact Success Message
   ============================================ */
.contact-success-message {
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-top: 20px;
    animation: fadeIn 0.5s ease;
}

/* ============================================
   Mobile & Tablet Optimization
   ============================================ */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-container h1 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Hero adjustments */
    .hero-container h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .sub-headline {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .actions-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        margin-bottom: 40px;
    }

    .left-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Portfolio - Stack cards */
    .portfolio-section {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .portfolio-card {
        height: 250px;
        width: 100%;
    }

    /* Testimonials */
    .testimonials-header {
        flex-direction: column;
        gap: 10px;
    }

    .testimonial-card {
        width: 280px;
        height: 320px;
        /* Allow auto height or fixed */
        padding: 20px;
    }

    .client-name {
        font-size: 16px;
    }

    /* Instagram section */
    .instagram-content {
        flex-direction: column;
        text-align: center;
    }

    .instagram-text h2 {
        font-size: 24px;
    }

    /* Contact Form */
    .contact-container {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Founder/About */
    .founder-content {
        flex-direction: column-reverse;
    }

    /* Floating Icons - ensure size */
    .floating-socials .social-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* ============================================
   Floating Socials (Re-added/Ensured)
   ============================================ */
.floating-socials {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-socials .social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    color: #0d2156;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-socials .social-icon.whatsapp {
    background: #25D366;
    color: white;
}

.floating-socials .social-icon.instagram {
    background: #E1306C;
    color: white;
}

.floating-socials .social-icon.linkedin {
    background: #0077b5;
    color: white;
}

.floating-socials .social-icon:hover {
    transform: translateY(-5px);
}

/* ============================================
   Services Showcase Carousel Section
   ============================================ */
.services-showcase-section {
    padding: 80px 0;
    background: #fafafa;
    overflow: hidden;
}

.services-showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    gap: 60px;
    padding: 0 60px;
}

.services-header-left {
    flex: 1;
}

.services-header-right {
    flex: 1;
    max-width: 400px;
}

.services-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    display: block;
    margin-bottom: 10px;
}

.services-header-left h2 {
    font-size: 48px;
    font-weight: 600;
    color: #0b1120;
    font-family: 'Syne', sans-serif;
    line-height: 1.1;
}

.services-header-right p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* Services Carousel Wrapper */
.services-carousel-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 60px 40px;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.services-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.services-carousel-wrapper:active {
    cursor: grabbing;
}

.services-carousel {
    display: flex;
    gap: 25px;
    transition: transform 0.3s ease;
}

/* Service Card */
.service-card {
    flex: 0 0 280px;
    min-width: 280px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card-image {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.08);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.service-card-title {
    margin-top: 18px;
    font-size: 16px;
    font-weight: 600;
    color: #0b1120;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

/* Responsive for Services Carousel */
@media (max-width: 1024px) {
    .services-showcase-header {
        flex-direction: column;
        gap: 20px;
        padding: 0 30px;
    }

    .services-header-left h2 {
        font-size: 36px;
    }

    .services-header-right {
        max-width: 100%;
    }

    .services-carousel-wrapper {
        padding: 20px 30px 40px;
    }

    .service-card {
        flex: 0 0 240px;
        min-width: 240px;
    }

    .service-card-image {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .services-showcase-section {
        padding: 60px 0;
    }

    .services-showcase-header {
        padding: 0 20px;
    }

    .services-header-left h2 {
        font-size: 28px;
    }

    .services-carousel-wrapper {
        padding: 20px 20px 30px;
    }

    .service-card {
        flex: 0 0 220px;
        min-width: 220px;
    }

    .service-card-image {
        height: 260px;
        border-radius: 12px;
    }

    .service-card-title {
        font-size: 14px;
    }
}

/* ============================================
   Client Logo Belt / Marquee
   ============================================ */
.clients-section {
    padding: 60px 0;
    background: #fff;
    overflow: hidden;
}

.clients-header {
    text-align: center;
    margin-bottom: 40px;
}

.clients-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

.clients-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #0b1120;
    font-family: 'Syne', sans-serif;
}

.logo-marquee-wrapper {
    width: 100%;
    overflow: hidden;
}

.logo-marquee {
    display: flex;
    width: max-content;
    animation: marqueeScroll 60s linear infinite;
    /* Slower, more professional speed */
}

.logo-set {
    display: flex;
    gap: 60px;
    /* Consistent gap between logos */
    padding-right: 60px;
}

/* Cleaned up old placeholder styles */

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .clients-section {
        padding: 40px 0;
    }

    .clients-header h2 {
        font-size: 24px;
    }

    .logo-marquee {
        gap: 50px;
    }

    .logo-marquee img {
        height: 35px;
    }
}

.services-main-container {
    position: relative;
    width: 100%;
    overflow: visible;
    /* Allow arrows to overlap */
}

.services-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Services Navigation Arrows */
.services-nav-arrows {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 100;
    pointer-events: none;
}

/* Global Smooth Transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Service transitions */
.service-card,
.client-logo-item,
.btn,
.nav-links a {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hero Highlights Removed */

/* Printing Service Placeholder Art Enhancement */
.placeholder-art.printing {
    background: linear-gradient(135deg, #0d2156 0%, #1a3a7a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.placeholder-art.printing::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 198, 35, 0.1) 0%, transparent 70%);
    animation: rotateGradient 10s linear infinite;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.placeholder-art.printing .art-content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.placeholder-art.printing .art-content i {
    font-size: 60px;
    color: #f9c623;
    filter: drop-shadow(0 0 15px rgba(249, 198, 35, 0.4));
}

.placeholder-art.printing .art-content span {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    pointer-events: auto;
    /* Ensure clickable */
}

.service-arrow:hover {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Professional Client Logos Styling - Redesigned for Natural Look */
.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 20px !important;
    white-space: nowrap;
}

.client-logo-item img {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: none;
    /* Always colorful */
    opacity: 1;
    /* Always visible */
    transition: all 0.4s ease;
}

.client-logo-item:hover img {
    transform: scale(1.1);
}

/* Printing Placeholder Art */
.service-card-image.placeholder-art {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-card-image.placeholder-art::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.03) 10px, rgba(255, 255, 255, 0.03) 20px);
    top: -25%;
    left: -25%;
    animation: rotatePattern 20s linear infinite;
}

@keyframes rotatePattern {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.placeholder-art .art-content {
    text-align: center;
    z-index: 2;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.placeholder-art i {
    font-size: 40px;
    margin-bottom: 5px;
    color: #cbd5e1;
}

.placeholder-art span {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
}

/* Ensure no scrollbar on carousel */
.services-carousel-wrapper {
    overflow: hidden;
    /* Hide scrollbar for JS loop */
}

.services-carousel {
    display: flex;
    gap: 20px;
    /* Remove padding to allow simple JS translation */
    padding-bottom: 10px;
}

/* =============================================
   PORTFOLIO EXPANDABLE SECTION
   ============================================= */
.featured-link {
    font-size: 20px;
    font-weight: 500;
    color: #0b1120;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-link:hover {
    color: #0d2156;
}

.featured-link i {
    color: #f9c623;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-link.active i {
    transform: rotate(180deg);
}

.portfolio-expand-container {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 95%;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.portfolio-expand-container.active {
    max-height: 4000px;
    opacity: 1;
    transform: translateY(0);
    padding: 30px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
}

.portfolio-card {
    height: 450px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Row 1: 30% | 70% */
.portfolio-grid .portfolio-card:nth-child(1) {
    grid-column: 1 / 4;
}

.portfolio-grid .portfolio-card:nth-child(2) {
    grid-column: 4 / 11;
}

/* Row 2: 70% | 30% */
.portfolio-grid .portfolio-card:nth-child(3) {
    grid-column: 1 / 8;
}

.portfolio-grid .portfolio-card:nth-child(4) {
    grid-column: 8 / 11;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.portfolio-card img.zoomed-out {
    object-fit: contain !important;
    background: #ffffff;
    padding: 10px;
}

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

.portfolio-card:hover img {
    transform: scale(1.08);
}

/* Responsive Portfolio Styling */
@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid .portfolio-card:nth-child(1),
    .portfolio-grid .portfolio-card:nth-child(2),
    .portfolio-grid .portfolio-card:nth-child(3),
    .portfolio-grid .portfolio-card:nth-child(4) {
        grid-column: span 1;
        height: 350px;
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid .portfolio-card {
        height: 300px;
    }
}

/* =============================================
   ENHANCED PAGE ANIMATIONS
   ============================================= */

/* Hero Section Entrance Animations */
.hero-section .hero-header,
.hero-section .hero-title,
.hero-section .hero-subtitle,
.hero-section .hero-cta-buttons {
    opacity: 0;
    animation: heroFadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-section .hero-header {
    animation-delay: 0.2s;
}

.hero-section .hero-title {
    animation-delay: 0.4s;
}

.hero-section .hero-subtitle {
    animation-delay: 0.6s;
}

.hero-section .hero-cta-buttons {
    animation-delay: 0.8s;
}

@keyframes heroFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Service Card Hover */
.service-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-image img {
    transform: scale(1.08);
}

/* Stats Card Animation */
.stats-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.stats-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Floating Social Icons Pulse */
.floating-socials .social-icon {
    animation: floatPulse 2s ease-in-out infinite;
}

.floating-socials .social-icon:nth-child(2) {
    animation-delay: 0.3s;
}

.floating-socials .social-icon:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes floatPulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Header Slide Down Animation */
.site-header {
    animation: headerSlideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes headerSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scroll Reveal for Sections */
[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Button Glow Effect */
.btn-dark,
.btn-view-portfolio {
    position: relative;
    overflow: hidden;
}

.btn-dark::after,
.btn-view-portfolio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-dark:hover::after,
.btn-view-portfolio:hover::after {
    width: 300px;
    height: 300px;
}

/* Responsive Portfolio Modal */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid .portfolio-card:nth-child(1),
    .portfolio-grid .portfolio-card:nth-child(2),
    .portfolio-grid .portfolio-card:nth-child(3),
    .portfolio-grid .portfolio-card:nth-child(4) {
        grid-column: 1 / -1;
    }

    .portfolio-modal-close {
        top: 10px;
        right: 10px;
    }
}