/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* New Hero Section with Animated Cards */
.new-hero-section {
    position: relative;
    min-height: 80vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 60px;
    overflow: hidden;
    z-index: 100;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Hire Us Button */
.hire-us-btn {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    background: #E3F2FD;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    min-height: 40px;
}

.hire-us-btn:hover {
    background: #357ABD;
}

/* Hero Content */
.hero-content {
    margin-bottom: 40px;
    z-index: 5;
}

.hero-main-title {
    font-size: 4rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 40px;
    line-height: 1.2;
    max-width: 900px;
}

/* Get in Touch Link */
.get-in-touch-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.get-in-touch-link:hover {
    color: #4A90E2;
}

.link-text {
    position: relative;
    z-index: 2;
}

.moving-line {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #000, transparent);
    animation: moveLine 2s linear infinite;
}

@keyframes moveLine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Animated Cards Container */
.animated-cards-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    z-index: 3;
}

.animated-card {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}

.animated-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Card specific backgrounds */
.card-1 {
    background: #87CEEB;
}

.card-2 {
    background: #D3D3D3;
}

.card-3 {
    background: #20B2AA;
}

/* Scroll Animation Classes */
.animated-card.fade-out {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 1s ease;
}

.animated-card.fade-out:nth-child(1) {
    transition-delay: 0s;
}

.animated-card.fade-out:nth-child(2) {
    transition-delay: 0.3s;
}

.animated-card.fade-out:nth-child(3) {
    transition-delay: 0.6s;
}

/* About Hero Section */
.about-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f5f5f5;
    padding: 20px;
    box-sizing: border-box;
}

.about-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-hero-image img {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    object-fit: cover;
    border-radius: 80px;
    margin: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    margin-left: 80px;
    max-width: 600px;
}

.about-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.changing-text {
    color: white;
    transition: all 0.5s ease;
    min-height: 1.2em;
    display: inline-block;
}

/* About Content Section */
.about-content-section {
    background: #ffffff;
    padding: 80px 0;
}

.about-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-separator-line {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin-bottom: 40px;
}

.about-content-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 40px;
    text-align: left;
}

.about-content-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
}

.about-text-column p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #000;
    text-align: left;
    margin: 0;
}

/* Dynamic Content Section */
.dynamic-content-section {
    background: #ffffff;
    padding: 100px 0;
    overflow: hidden;
}

.dynamic-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left Side - Image Container */
.dynamic-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
}

.dynamic-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
    border-radius: 20px;
}

.dynamic-image.active {
    opacity: 1;
}

/* Right Side - Text Container */
.dynamic-text-container {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.text-section {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.text-section.active {
    top: 0;
    opacity: 1;
    transform: translateY(0);
}

.section-number {
    display: inline-block;
    background: #f0f0f0;
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .animated-cards-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .animated-card {
        width: 250px;
        height: 250px;
    }
    
    .hire-us-btn {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 30px;
    }
    
    .hero-container {
        flex-direction: column;
    }
    
    .about-hero-title {
        font-size: 3rem;
        margin-left: 20px;
    }
    
    .about-hero-content {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .about-hero-image img {
        margin: 10px;
        border-radius: 50px;
    }
    
    .about-content-section {
        padding: 60px 0;
    }
    
    .about-content-container {
        padding: 0 20px;
    }
    
    .about-content-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .about-content-text {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text-column p {
        font-size: 1rem;
    }
    
    .dynamic-content-section {
        padding: 60px 0;
    }
    
    .dynamic-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .dynamic-image-container {
        height: 400px;
    }
    
    .dynamic-text-container {
        height: auto;
        min-height: 400px;
    }
    
    .text-section {
        position: relative;
        top: auto;
        opacity: 1;
        transform: none;
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2rem;
    }
    
    .animated-card {
        width: 220px;
        height: 220px;
    }
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(240, 240, 240, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.nav-logo {
    font-size: 1.5rem;
    color: #ff6b35;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff6b35;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
    padding-top: 80px; /* Add distance from navbar */
}

.hero-background {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero-title {
    font-size: 20vw;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 0.8;
    opacity: 0.15;
    user-select: none;
}

/* Cards Container */
.cards-container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    height: 300px;
}

/* Card Styles */
.card {
    position: absolute;
    width: 300px;
    height: 200px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    pointer-events: none;
}

/* Individual Card Positions - Overlapping Stack */
.cards-container .card:nth-child(1) {
    transform: translateX(0) translateY(0) rotateY(180deg) rotateZ(90deg);
    z-index: 5;
}

.cards-container .card:nth-child(2) {
    transform: translateX(-75px) translateY(-25px) rotateY(180deg) rotateZ(90deg);
    z-index: 4;
}

.cards-container .card:nth-child(3) {
    transform: translateX(-150px) translateY(-50px) rotateY(180deg) rotateZ(90deg);
    z-index: 3;
}

.cards-container .card:nth-child(4) {
    transform: translateX(-225px) translateY(-75px) rotateY(180deg) rotateZ(90deg);
    z-index: 2;
}

.cards-container .card:nth-child(5) {
    transform: translateX(-300px) translateY(-100px) rotateY(180deg) rotateZ(90deg);
    z-index: 1;
}

.card.active {
    opacity: 1;
    pointer-events: all;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.card-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.card-indicator.orange { background: #ff6b35; }
.card-indicator.light-orange { background: #ffa726; }
.card-indicator.red { background: #f44336; }
.card-indicator.black { background: #333; }
.card-indicator.blue { background: #2196f3; }

.card-title {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.card-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 18px;
    font-weight: bold;
}

.card-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

.card-content {
    padding: 0;
    height: calc(100% - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .carousel-image {
    transform: scale(1.05);
}

/* Carousel Animation - Simple fade in/out */
@keyframes fadeInOut {
    0%, 15% {
        opacity: 1;
        transform: translateX(0) translateY(0) rotateY(-45deg) rotateZ(-15deg);
    }
    20%, 95% {
        opacity: 0;
        transform: translateX(-150px) translateY(-50px) rotateY(-45deg) rotateZ(-15deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) rotateY(-45deg) rotateZ(-15deg);
    }
}

.carousel-card {
    animation: fadeInOut 10s infinite;
}

.carousel-card:nth-child(1) { animation-delay: 0s; }
.carousel-card:nth-child(2) { animation-delay: 2s; }
.carousel-card:nth-child(3) { animation-delay: 4s; }
.carousel-card:nth-child(4) { animation-delay: 6s; }
.carousel-card:nth-child(5) { animation-delay: 8s; }

/* Section Styles */
.about, .works, .services, .pricing {
    padding: 80px 0;
}

.about {
    background: #f8f9fa;
}

.works {
    background: #ffffff;
}

.services {
    background: #f8f9fa;
}

.pricing {
    background: #ffffff;
}

.about h2, .works h2, .services h2, .pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
}

.about p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

/* Works Grid */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.work-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.work-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.work-item p {
    color: #666;
    line-height: 1.6;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-item i {
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.pricing-item.featured {
    border-color: #ff6b35;
    transform: scale(1.05);
}

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

.pricing-item.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #ff6b35;
    margin-bottom: 2rem;
}

.pricing-item ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-item li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #eee;
}

.pricing-item li:last-child {
    border-bottom: none;
}

/* Footer */
.footer {
    background: #333;
    color: #ffffff;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin: 0;
    color: #ccc;
}

/* Comprehensive Responsive Design */

/* Large Desktop (1400px and above) */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 18vw;
    }
    
    .card {
        width: 350px;
        height: 230px;
    }
    
    .card.card-1 { transform: translateX(-175px) translateY(-60px) rotateY(-15deg) rotateZ(-5deg); }
    .card.card-2 { transform: translateX(-87px) translateY(-30px) rotateY(-10deg) rotateZ(-3deg); }
    .card.card-3 { transform: translateX(0) translateY(0) rotateY(0deg) rotateZ(0deg); }
    .card.card-4 { transform: translateX(87px) translateY(-30px) rotateY(10deg) rotateZ(3deg); }
    .card.card-5 { transform: translateX(175px) translateY(-60px) rotateY(15deg) rotateZ(5deg); }
    
    .card.card-1 { --x: -175px; --y: -60px; --ry: -15deg; --rz: -5deg; }
    .card.card-2 { --x: -87px; --y: -30px; --ry: -10deg; --rz: -3deg; }
    .card.card-3 { --x: 0; --y: 0; --ry: 0deg; --rz: 0deg; }
    .card.card-4 { --x: 87px; --y: -30px; --ry: 10deg; --rz: 3deg; }
    .card.card-5 { --x: 175px; --y: -60px; --ry: 15deg; --rz: 5deg; }
}

/* Standard Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-title {
        font-size: 19vw;
    }
    
    .card {
        width: 320px;
        height: 210px;
    }
    
    .card.card-1 { transform: translateX(-160px) translateY(-55px) rotateY(-15deg) rotateZ(-5deg); }
    .card.card-2 { transform: translateX(-80px) translateY(-28px) rotateY(-10deg) rotateZ(-3deg); }
    .card.card-3 { transform: translateX(0) translateY(0) rotateY(0deg) rotateZ(0deg); }
    .card.card-4 { transform: translateX(80px) translateY(-28px) rotateY(10deg) rotateZ(3deg); }
    .card.card-5 { transform: translateX(160px) translateY(-55px) rotateY(15deg) rotateZ(5deg); }
    
    .card.card-1 { --x: -160px; --y: -55px; --ry: -15deg; --rz: -5deg; }
    .card.card-2 { --x: -80px; --y: -28px; --ry: -10deg; --rz: -3deg; }
    .card.card-3 { --x: 0; --y: 0; --ry: 0deg; --rz: 0deg; }
    .card.card-4 { --x: 80px; --y: -28px; --ry: 10deg; --rz: 3deg; }
    .card.card-5 { --x: 160px; --y: -55px; --ry: 15deg; --rz: 5deg; }
}

/* Medium Desktop (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .hero-title {
        font-size: 20vw;
    }
    
    .card {
        width: 300px;
        height: 200px;
    }
    
    .nav-container {
        gap: 2.5rem;
    }
}

/* Small Desktop/Laptop (992px - 1023px) */
@media (min-width: 992px) and (max-width: 1023px) {
    .hero-title {
        font-size: 21vw;
    }
    
    .card {
        width: 280px;
        height: 190px;
    }
    
    .card.card-1 { transform: translateX(-140px) translateY(-45px) rotateY(-12deg) rotateZ(-4deg); }
    .card.card-2 { transform: translateX(-70px) translateY(-22px) rotateY(-8deg) rotateZ(-2deg); }
    .card.card-3 { transform: translateX(0) translateY(0) rotateY(0deg) rotateZ(0deg); }
    .card.card-4 { transform: translateX(70px) translateY(-22px) rotateY(8deg) rotateZ(2deg); }
    .card.card-5 { transform: translateX(140px) translateY(-45px) rotateY(12deg) rotateZ(4deg); }
    
    .card.card-1 { --x: -140px; --y: -45px; --ry: -12deg; --rz: -4deg; }
    .card.card-2 { --x: -70px; --y: -22px; --ry: -8deg; --rz: -2deg; }
    .card.card-3 { --x: 0; --y: 0; --ry: 0deg; --rz: 0deg; }
    .card.card-4 { --x: 70px; --y: -22px; --ry: 8deg; --rz: 2deg; }
    .card.card-5 { --x: 140px; --y: -45px; --ry: 12deg; --rz: 4deg; }
    
    .nav-container {
        gap: 2rem;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: 22vw;
    }
    
    .card {
        width: 260px;
        height: 175px;
    }
    
    .card.card-1 { transform: translateX(-120px) translateY(-40px) rotateY(-10deg) rotateZ(-3deg); }
    .card.card-2 { transform: translateX(-60px) translateY(-20px) rotateY(-6deg) rotateZ(-2deg); }
    .card.card-3 { transform: translateX(0) translateY(0) rotateY(0deg) rotateZ(0deg); }
    .card.card-4 { transform: translateX(60px) translateY(-20px) rotateY(6deg) rotateZ(2deg); }
    .card.card-5 { transform: translateX(120px) translateY(-40px) rotateY(10deg) rotateZ(3deg); }
    
    .card.card-1 { --x: -120px; --y: -40px; --ry: -10deg; --rz: -3deg; }
    .card.card-2 { --x: -60px; --y: -20px; --ry: -6deg; --rz: -2deg; }
    .card.card-3 { --x: 0; --y: 0; --ry: 0deg; --rz: 0deg; }
    .card.card-4 { --x: 60px; --y: -20px; --ry: 6deg; --rz: 2deg; }
    .card.card-5 { --x: 120px; --y: -40px; --ry: 10deg; --rz: 3deg; }
    
    .nav-container {
        gap: 1.5rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
}

/* Mobile & Tablet (up to 768px) */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-container {
        justify-content: space-between;
        gap: 0;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #f0f0f0;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 24vw;
    }

    .card {
        width: 240px;
        height: 160px;
    }

    .card.card-1 { transform: translateX(-100px) translateY(-30px) rotateY(-8deg) rotateZ(-2deg); }
    .card.card-2 { transform: translateX(-50px) translateY(-15px) rotateY(-4deg) rotateZ(-1deg); }
    .card.card-3 { transform: translateX(0) translateY(0) rotateY(0deg) rotateZ(0deg); }
    .card.card-4 { transform: translateX(50px) translateY(-15px) rotateY(4deg) rotateZ(1deg); }
    .card.card-5 { transform: translateX(100px) translateY(-30px) rotateY(8deg) rotateZ(2deg); }

    .card.card-1 { --x: -100px; --y: -30px; --ry: -8deg; --rz: -2deg; }
    .card.card-2 { --x: -50px; --y: -15px; --ry: -4deg; --rz: -1deg; }
    .card.card-3 { --x: 0; --y: 0; --ry: 0deg; --rz: 0deg; }
    .card.card-4 { --x: 50px; --y: -15px; --ry: 4deg; --rz: 1deg; }
    .card.card-5 { --x: 100px; --y: -30px; --ry: 8deg; --rz: 2deg; }
    
    .device-knob {
        width: 16px;
        height: 16px;
    }
    
    .knob-ring {
        width: 12px;
        height: 12px;
    }
    
    .device-light {
        width: 6px;
        height: 6px;
    }
    
    .control-btn {
        width: 4px;
        height: 4px;
    }
}

/* Mobile Large (480px - 599px) */
@media (min-width: 480px) and (max-width: 599px) {
    .hero-title {
        font-size: 26vw;
    }

    .card {
        width: 220px;
        height: 150px;
    }

    .card.card-1 { transform: translateX(-90px) translateY(-25px) rotateY(-6deg) rotateZ(-2deg); }
    .card.card-2 { transform: translateX(-45px) translateY(-12px) rotateY(-3deg) rotateZ(-1deg); }
    .card.card-3 { transform: translateX(0) translateY(0) rotateY(0deg) rotateZ(0deg); }
    .card.card-4 { transform: translateX(45px) translateY(-12px) rotateY(3deg) rotateZ(1deg); }
    .card.card-5 { transform: translateX(90px) translateY(-25px) rotateY(6deg) rotateZ(2deg); }

    .card.card-1 { --x: -90px; --y: -25px; --ry: -6deg; --rz: -2deg; }
    .card.card-2 { --x: -45px; --y: -12px; --ry: -3deg; --rz: -1deg; }
    .card.card-3 { --x: 0; --y: 0; --ry: 0deg; --rz: 0deg; }
    .card.card-4 { --x: 45px; --y: -12px; --ry: 3deg; --rz: 1deg; }
    .card.card-5 { --x: 90px; --y: -25px; --ry: 6deg; --rz: 2deg; }
    
    .device-knob {
        width: 14px;
        height: 14px;
    }
    
    .knob-ring {
        width: 10px;
        height: 10px;
    }
    
    .device-light {
        width: 5px;
        height: 5px;
    }
    
    .control-btn {
        width: 3px;
        height: 3px;
    }
    
    .card-header {
        padding: 10px 12px;
    }
    
    .card-title {
        font-size: 12px;
    }
    
    .card-indicator {
        width: 10px;
        height: 10px;
    }
}

/* Mobile Medium (375px - 479px) */
@media (min-width: 375px) and (max-width: 479px) {
    .hero-title {
        font-size: 28vw;
    }

    .card {
        width: 200px;
        height: 140px;
    }

    .card.card-1 { transform: translateX(-80px) translateY(-20px) rotateY(-5deg) rotateZ(-1deg); }
    .card.card-2 { transform: translateX(-40px) translateY(-10px) rotateY(-2deg) rotateZ(-0.5deg); }
    .card.card-3 { transform: translateX(0) translateY(0) rotateY(0deg) rotateZ(0deg); }
    .card.card-4 { transform: translateX(40px) translateY(-10px) rotateY(2deg) rotateZ(0.5deg); }
    .card.card-5 { transform: translateX(80px) translateY(-20px) rotateY(5deg) rotateZ(1deg); }

    .card.card-1 { --x: -80px; --y: -20px; --ry: -5deg; --rz: -1deg; }
    .card.card-2 { --x: -40px; --y: -10px; --ry: -2deg; --rz: -0.5deg; }
    .card.card-3 { --x: 0; --y: 0; --ry: 0deg; --rz: 0deg; }
    .card.card-4 { --x: 40px; --y: -10px; --ry: 2deg; --rz: 0.5deg; }
    .card.card-5 { --x: 80px; --y: -20px; --ry: 5deg; --rz: 1deg; }
    
    .device-knob {
        width: 12px;
        height: 12px;
    }
    
    .knob-ring {
        width: 8px;
        height: 8px;
    }
    
    .device-light {
        width: 4px;
        height: 4px;
    }
    
    .control-btn {
        width: 2px;
        height: 2px;
    }
    
    .card-header {
        padding: 8px 10px;
    }
    
    .card-title {
        font-size: 11px;
    }
    
    .card-indicator {
        width: 8px;
        height: 8px;
    }
}

/* Mobile Small (320px - 374px) */
@media (min-width: 320px) and (max-width: 374px) {
    .hero-title {
        font-size: 30vw;
    }

    .card {
        width: 180px;
        height: 120px;
    }

    .card.card-1 { transform: translateX(-70px) translateY(-15px) rotateY(-4deg) rotateZ(-1deg); }
    .card.card-2 { transform: translateX(-35px) translateY(-8px) rotateY(-2deg) rotateZ(-0.5deg); }
    .card.card-3 { transform: translateX(0) translateY(0) rotateY(0deg) rotateZ(0deg); }
    .card.card-4 { transform: translateX(35px) translateY(-8px) rotateY(2deg) rotateZ(0.5deg); }
    .card.card-5 { transform: translateX(70px) translateY(-15px) rotateY(4deg) rotateZ(1deg); }

    .card.card-1 { --x: -70px; --y: -15px; --ry: -4deg; --rz: -1deg; }
    .card.card-2 { --x: -35px; --y: -8px; --ry: -2deg; --rz: -0.5deg; }
    .card.card-3 { --x: 0; --y: 0; --ry: 0deg; --rz: 0deg; }
    .card.card-4 { --x: 35px; --y: -8px; --ry: 2deg; --rz: 0.5deg; }
    .card.card-5 { --x: 70px; --y: -15px; --ry: 4deg; --rz: 1deg; }
    
    .device-knob {
        width: 10px;
        height: 10px;
    }
    
    .knob-ring {
        width: 6px;
        height: 6px;
    }
    
    .device-light {
        width: 3px;
        height: 3px;
    }
    
    .control-btn {
        width: 2px;
        height: 2px;
    }
    
    .card-header {
        padding: 6px 8px;
    }
    
    .card-title {
        font-size: 10px;
    }
    
    .card-indicator {
        width: 6px;
        height: 6px;
    }
}

/* Extra Small Mobile (below 320px) */
@media (max-width: 319px) {
    .hero-title {
        font-size: 32vw;
    }

    .card {
        width: 160px;
        height: 110px;
    }

    .card.card-1 { transform: translateX(-60px) translateY(-12px) rotateY(-3deg) rotateZ(-0.5deg); }
    .card.card-2 { transform: translateX(-30px) translateY(-6px) rotateY(-1deg) rotateZ(-0.25deg); }
    .card.card-3 { transform: translateX(0) translateY(0) rotateY(0deg) rotateZ(0deg); }
    .card.card-4 { transform: translateX(30px) translateY(-6px) rotateY(1deg) rotateZ(0.25deg); }
    .card.card-5 { transform: translateX(60px) translateY(-12px) rotateY(3deg) rotateZ(0.5deg); }

    .card.card-1 { --x: -60px; --y: -12px; --ry: -3deg; --rz: -0.5deg; }
    .card.card-2 { --x: -30px; --y: -6px; --ry: -1deg; --rz: -0.25deg; }
    .card.card-3 { --x: 0; --y: 0; --ry: 0deg; --rz: 0deg; }
    .card.card-4 { --x: 30px; --y: -6px; --ry: 1deg; --rz: 0.25deg; }
    .card.card-5 { --x: 60px; --y: -12px; --ry: 3deg; --rz: 0.5deg; }
    
    .device-knob {
        width: 8px;
        height: 8px;
    }
    
    .knob-ring {
        width: 4px;
        height: 4px;
    }
    
    .device-light {
        width: 2px;
        height: 2px;
    }
    
    .control-btn {
        width: 1px;
        height: 1px;
    }
    
    .card-header {
        padding: 4px 6px;
    }
    
    .card-title {
        font-size: 9px;
    }
    
    .card-indicator {
        width: 4px;
        height: 4px;
    }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        height: 100vh;
        padding-top: 60px;
    }
    
    .hero-title {
        font-size: 18vw;
    }
    
    .card {
        height: 160px;
    }
}

/* High DPI Displays (Retina, 4K, etc.) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }
    
    .card:hover {
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hamburger,
    .card-close {
        display: none;
    }
    
    .hero {
        height: auto;
        padding-top: 0;
    }
    
    .hero-title {
        font-size: 48pt;
        opacity: 0.3;
    }
    
    .cards-container {
        position: static;
        perspective: none;
    }
    
    .card {
        position: static;
        transform: none;
        animation: none;
        margin: 20px 0;
        break-inside: avoid;
    }
}

/* Marketing Section */
.marketing-section {
    background: #f8f9fa;
    padding: 100px 0;
    margin-top: 50px;
}

.marketing-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.marketing-image {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.people-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.people-image:hover {
    transform: scale(1.02);
}

.marketing-text {
    padding-left: 20px;
}

.marketing-headline {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
}

.highlight {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
    margin: 0 4px;
}

.marketing-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
    position: relative;
    padding-left: 20px;
}

.marketing-description::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
}

.marketing-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.cta-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.cta-link:hover::after {
    width: 100%;
}

.cta-link:hover {
    color: #ff6b35;
}

.cta-arrow {
    font-size: 1.2rem;
    font-weight: bold;
}

.cta-badge {
    width: 24px;
    height: 24px;
    background: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-number {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Responsive Design for Marketing Section */
@media (max-width: 1200px) {
    .marketing-content {
        gap: 60px;
        padding: 0 20px;
    }
    
    .marketing-headline {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .marketing-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .marketing-text {
        padding-left: 0;
        order: 2;
    }
    
    .marketing-image {
        order: 1;
    }
    
    .marketing-headline {
        font-size: 2rem;
    }
    
    .marketing-description::before {
        display: none;
    }
    
    .marketing-description {
        padding-left: 0;
    }
    
    .marketing-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .marketing-section {
        padding: 80px 0;
        margin-top: 30px;
    }
    
    .marketing-content {
        gap: 40px;
        padding: 0 20px;
    }
    
    .marketing-headline {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .marketing-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .cta-link {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .marketing-section {
        padding: 60px 0;
    }
    
    .marketing-content {
        gap: 30px;
        padding: 0 15px;
    }
    
    .marketing-headline {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .marketing-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .cta-link {
        font-size: 0.95rem;
    }
    
    .cta-badge {
        width: 20px;
        height: 20px;
    }
    
    .badge-number {
        font-size: 0.7rem;
    }
}

/* Services Page Styles */
.services-hero-section {
    padding: 120px 20px 80px;
    background: #ffffff;
    text-align: center;
}

.services-container {
    max-width: 800px;
    margin: 0 auto;
}

.services-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.services-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.services-content-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: #4A90E2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.service-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.service-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

/* Portfolio Page Styles */
.portfolio-section {
    padding: 120px 20px 80px;
    background: #ffffff;
    text-align: center;
}

.portfolio-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.portfolio-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.portfolio-grid-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #ffffff;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-project-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.portfolio-project-type {
    font-size: 0.9rem;
    color: #ccc;
    font-family: 'Inter', sans-serif;
}

/* Responsive Design for Services and Portfolio */
@media (max-width: 768px) {
    .services-title,
    .portfolio-title {
        font-size: 2.5rem;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .portfolio-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .services-title,
    .portfolio-title {
        font-size: 2rem;
    }
    
    .services-description,
    .portfolio-description {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 25px 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
}

/* Our Work Section */
.our-work-section {
    background: #ffffff;
    padding: 40px 0;
    position: relative;
}

.work-heading {
    font-size: 2.6rem;
    font-weight: 800;
    color: #000;
    text-align: center;
    margin-bottom: 05px;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.work-card-container {
    position: relative;
    max-width: 720px;
    margin: 0 auto 40px;
}

.main-work-card {
    background: #f5f5f5;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.main-work-card:hover {
    transform: translateY(-5px);
}

.main-card-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.main-work-card:hover .main-card-image {
    transform: scale(1.02) rotate(5deg);
}

.overlap-card {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 200px;
    height: 150px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: transform 0.3s ease;
}

.overlap-card:hover {
    transform: translateY(-5px) scale(1.05);
}

.overlap-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.overlap-card:hover .overlap-card-image {
    transform: scale(1.05) rotate(-8deg);
}

/* Hover effect for both cards together */
.work-card-container:hover .main-work-card {
    transform: translateY(-5px);
}

.work-card-container:hover .overlap-card {
    transform: translateY(-5px) scale(1.05);
}

.work-card-container:hover .main-card-image {
    transform: scale(1.02) rotate(5deg);
}

.work-card-container:hover .overlap-card-image {
    transform: scale(1.05) rotate(-8deg);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.project-info {
    text-align: center;
    margin-bottom: 50px;
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: transform 0.3s ease;
}

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

.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
}

.project-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-weight: 400;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
}

.project-link:hover .project-title {
    color: #ff6b35;
}

.project-link:hover .project-subtitle {
    color: #ff6b35;
}

.buy-template-container {
    text-align: right;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.buy-template-btn {
    display: inline-block;
    background: #f5f5f5;
    color: #000;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.buy-template-btn:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Our Work Section */
@media (max-width: 1200px) {
    .work-heading {
        font-size: 2.4rem;
    }
    
    .project-title {
        font-size: 2.2rem;
    }
    
    .project-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .our-work-section {
        padding: 50px 0;
    }
    
    .work-heading {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    .main-card-image {
        height: 340px;
    }
    
    .overlap-card {
        width: 180px;
        height: 135px;
        top: -25px;
        right: -25px;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .project-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .our-work-section {
        padding: 45px 0;
    }
    
    .work-heading {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .main-card-image {
        height: 300px;
    }
    
    .overlap-card {
        width: 150px;
        height: 110px;
        top: -20px;
        right: -20px;
    }
    
    .project-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .project-subtitle {
        font-size: 1rem;
    }
    
    .buy-template-container {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .work-heading {
        font-size: 1.9rem;
    }
    
    .main-card-image {
        height: 260px;
    }
    
    .overlap-card {
        width: 120px;
        height: 90px;
        top: -15px;
        right: -15px;
    }
    
    .project-title {
        font-size: 1.6rem;
    }
    
    .project-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .our-work-section {
        padding: 40px 0;
    }
    
    .work-heading {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .main-card-image {
        height: 230px;
    }
    
    .overlap-card {
        width: 100px;
        height: 75px;
        top: -10px;
        right: -10px;
    }
    
    .project-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .project-subtitle {
        font-size: 0.9rem;
    }
    
    .buy-template-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 375px) {
    .work-heading {
        font-size: 1.6rem;
    }
    
    .main-card-image {
        height: 210px;
    }
    
    .overlap-card {
        width: 80px;
        height: 60px;
        top: -8px;
        right: -8px;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-subtitle {
        font-size: 0.85rem;
    }
}

/* View Case Overlay - appears on hover */
.view-case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.view-case-text {
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Show overlay on hover */
.main-work-card:hover .view-case-overlay,
.overlap-card:hover .view-case-overlay {
    opacity: 1;
}

/* Ensure images have relative positioning for overlay */
.main-card-image,
.overlap-card-image {
    position: relative;
}

/* Partners Section - Dark Background Design */
.partners-section {
    background: #000000;
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Countdown Section (homepage, above partners) */
.countdown-section {
    position: relative;
    padding: 80px 20px;
    background: radial-gradient(circle at top, #050816 0, #020617 40%, #000000 100%);
    color: #f9fafb;
    overflow: hidden;
}

.countdown-overlay {
    position: absolute;
    inset: 0;
    background-image: url("../images/countdown-bg.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    mix-blend-mode: screen;
    pointer-events: none;
}

.countdown-inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

.countdown-header {
    margin-bottom: 32px;
}

.countdown-year {
    display: block;
    font-size: clamp(2.8rem, 7vw, 4.8rem);
    font-weight: 800;
    letter-spacing: 0.4em;
    text-indent: 0.4em;
}

.countdown-title {
    margin-top: 6px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.countdown-subtitle {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #cbd5f5;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.countdown-item {
    border-radius: 14px;
    border: 1px solid rgba(248, 250, 252, 0.3);
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95));
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
    padding: 18px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    transform: translateY(0) scale(1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.countdown-item:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(248, 250, 252, 0.55);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.9);
}

.countdown-item .countdown-value {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.countdown-item .countdown-label {
    margin-top: 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #e5e7eb;
}

@keyframes pulseCountdown {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.02); }
    100% { transform: translateY(0) scale(1); }
}

.countdown-item.is-ticking {
    animation: pulseCountdown 1s ease-in-out infinite;
}

@media (max-width: 1024px) {
    .countdown-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 18px;
    }
}

@media (max-width: 640px) {
    .countdown-section {
        padding: 60px 16px;
    }
    .countdown-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.partners-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.partners-header {
    text-align: center;
    margin-bottom: 80px;
}

.partners-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0 0 20px 0;
    text-align: left;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
}

.partners-headline {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.1;
    color: white;
    margin: 0 auto;
    max-width: 720px;
    text-align: center;
}

/* Partners Scroll Container */
.partners-scroll-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Partners Grid - Single Row with Continuous Scroll */
.partners-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: scrollPartners 30s linear infinite;
    width: max-content;
    flex-wrap: nowrap;
}

.partner-card {
    text-align: center;
    padding: 0;
    min-width: 245px;
    flex-shrink: 0;
}

.partner-logo {
    width: 245px;
    height: 245px;
    background: #000000;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    flex-direction: column;
    gap: 8px;
}

.partner-logo:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.logo-text.serif {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 22px;
    font-weight: 500;
}

/* Specific logo styling for different types */
.partner-card:nth-child(1) .logo-text,
.partner-card:nth-child(11) .logo-text {
    font-size: 18px;
    font-weight: 500;
}

.partner-card:nth-child(2) .logo-text,
.partner-card:nth-child(12) .logo-text {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 22px;
    font-weight: 500;
}

.partner-card:nth-child(3) .logo-text,
.partner-card:nth-child(13) .logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.partner-card:nth-child(4) .logo-text,
.partner-card:nth-child(14) .logo-text {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.partner-card:nth-child(5) .logo-text,
.partner-card:nth-child(15) .logo-text {
    font-size: 18px;
    font-weight: 600;
}

.partner-card:nth-child(6) .logo-text,
.partner-card:nth-child(16) .logo-text {
    font-size: 22px;
    font-weight: 600;
}

.partner-card:nth-child(7) .logo-text,
.partner-card:nth-child(17) .logo-text {
    font-size: 20px;
    font-weight: 700;
}

.partner-card:nth-child(8) .logo-text,
.partner-card:nth-child(18) .logo-text {
    font-size: 20px;
    font-weight: 700;
}

.partner-card:nth-child(9) .logo-text,
.partner-card:nth-child(19) .logo-text {
    font-size: 20px;
    font-weight: 700;
}

.partner-card:nth-child(10) .logo-text,
.partner-card:nth-child(20) .logo-text {
    font-size: 20px;
    font-weight: 700;
}

.logo-icon {
    font-size: 22px;
    color: white;
    margin: 0 6px;
}

/* Special styling for the 5th and 15th card with globe icon */
.partner-card:nth-child(5) .partner-logo,
.partner-card:nth-child(15) .partner-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.partner-card:nth-child(5) .logo-text,
.partner-card:nth-child(15) .logo-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.partner-info {
    text-align: center;
}

.partner-name {
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin: 0 0 12px 0;
}

.partner-description {
    font-size: 18px;
    color: #999;
    margin: 0;
    line-height: 1.4;
}

/* Continuous Scroll Animation */
@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Design for Partners - All Devices */
/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .partners-grid {
        gap: 25px;
    }
    
    .partner-logo {
        width: 245px;
        height: 245px;
    }
    
    .partner-card {
        min-width: 245px;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .partner-name {
        font-size: 24px;
    }
    
    .partner-description {
        font-size: 20px;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .partners-grid {
        gap: 20px;
    }
    
    .partner-logo {
        width: 245px;
        height: 245px;
    }
    
    .partner-card {
        min-width: 245px;
    }
}

/* Laptop (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .partners-headline {
        font-size: 56px;
    }
    
    .partners-grid {
        gap: 18px;
    }
    
    .partner-logo {
        width: 200px;
        height: 200px;
    }
    
    .partner-card {
        min-width: 200px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .partner-name {
        font-size: 20px;
    }
    
    .partner-description {
        font-size: 16px;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .partners-headline {
        font-size: 48px;
    }
    
    .partners-grid {
        gap: 15px;
    }
    
    .partner-logo {
        width: 180px;
        height: 180px;
    }
    
    .partner-card {
        min-width: 180px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .partner-name {
        font-size: 18px;
    }
    
    .partner-description {
        font-size: 14px;
    }
}

/* Tablet Portrait (481px - 767px) */
@media (max-width: 767px) and (min-width: 481px) {
    .partners-header {
        margin-bottom: 60px;
    }
    
    .partners-title {
        text-align: center;
        padding-left: 0;
    }
    
    .partners-headline {
        font-size: 40px;
    }
    
    .partners-grid {
        gap: 12px;
    }
    
    .partner-logo {
        width: 160px;
        height: 160px;
    }
    
    .partner-card {
        min-width: 160px;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    .partner-name {
        font-size: 16px;
    }
    
    .partner-description {
        font-size: 13px;
    }
}

/* Mobile Large (375px - 480px) */
@media (max-width: 480px) and (min-width: 375px) {
    .partners-headline {
        font-size: 26px;
    }
    
    .partners-grid {
        gap: 10px;
    }
    
    .partner-logo {
        width: 140px;
        height: 140px;
    }
    
    .partner-card {
        min-width: 140px;
    }
    
    .logo-text {
        font-size: 13px;
    }
    
    .partner-name {
        font-size: 15px;
    }
    
    .partner-description {
        font-size: 12px;
    }
}

/* Mobile Small (320px - 374px) */
@media (max-width: 374px) {
    .partners-headline {
        font-size: 24px;
    }
    
    .partners-grid {
        gap: 8px;
    }
    
    .partner-logo {
        width: 120px;
        height: 120px;
    }
    
    .partner-card {
        min-width: 120px;
    }
    
    .logo-text {
        font-size: 12px;
    }
    
    .partner-name {
        font-size: 14px;
    }
    
    .partner-description {
        font-size: 11px;
    }
}

/* Brand Marketing Section */
.brand-marketing-section {
    position: relative;
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-marketing-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-marketing-content {
    position: relative;
    z-index: 1;
    text-align: center;
    transition: all 1.5s ease;
    transform: translateY(-100px);
}

.brand-marketing-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #000000;
    line-height: 1.1;
    margin-bottom: 2rem;
    transition: all 1.5s ease;
}

.title-line-1, .title-line-2 {
    display: block;
}

.brand-marketing-btn {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin-top: 2rem;
    z-index: 10;
    position: relative;
    bottom: 50px;
}

.brand-marketing-btn:hover {
    background: #333333;
    transform: translateY(-2px);
}

.brand-marketing-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.brand-image {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    transition: all 1.5s ease;
    opacity: 1;
    transform: scale(1);
    z-index: 5;
}

.brand-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image Positions - Initial State */
.brand-image-1 {
    top: 10%;
    left: 10%;
    width: 280px;
    height: 350px;
}

.brand-image-2 {
    bottom: 15%;
    left: 12%;
    width: 250px;
    height: 300px;
}

.brand-image-3 {
    top: 12%;
    right: 12%;
    width: 280px;
    height: 280px;
}

.brand-image-4 {
    bottom: 18%;
    right: 15%;
    width: 260px;
    height: 260px;
}

.brand-image-5 {
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 240px;
}

/* Scroll Down State - Images merge into one */
.brand-marketing-section.scroll-down .brand-marketing-content {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.brand-marketing-section.scroll-down .brand-image {
    opacity: 0;
    transform: scale(0.3);
}

.brand-marketing-section.scroll-down .brand-image-5 {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    z-index: 20;
}

/* Scroll Up State - Images expand and spread */
.brand-marketing-section.scroll-up .brand-marketing-content {
    opacity: 1;
    transform: scale(1);
}

.brand-marketing-section.scroll-up .brand-image {
    opacity: 1;
    transform: scale(1);
}

.brand-marketing-section.scroll-up .brand-image-1 {
    top: 5%;
    left: 5%;
    width: 320px;
    height: 400px;
}

.brand-marketing-section.scroll-up .brand-image-2 {
    bottom: 10%;
    left: 8%;
    width: 280px;
    height: 340px;
}

.brand-marketing-section.scroll-up .brand-image-3 {
    top: 8%;
    right: 8%;
    width: 320px;
    height: 320px;
}

.brand-marketing-section.scroll-up .brand-image-4 {
    bottom: 12%;
    right: 10%;
    width: 300px;
    height: 300px;
}

.brand-marketing-section.scroll-up .brand-image-5 {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
}

/* Full Screen State - All images disappear, text becomes large */
.brand-marketing-section.full-screen .brand-marketing-content {
    opacity: 1;
    transform: scale(1.2);
    z-index: 10;
}

.brand-marketing-section.full-screen .brand-marketing-title {
    font-size: 3.5rem;
    margin-bottom: 3rem;
}

.brand-marketing-section.full-screen .brand-marketing-btn {
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
}

.brand-marketing-section.full-screen .brand-image {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .brand-marketing-title {
        font-size: 2.2rem;
    }
    
    .brand-image-1 {
        width: 220px;
        height: 275px;
    }
    
    .brand-image-2 {
        width: 200px;
        height: 240px;
    }
    
    .brand-image-3 {
        width: 220px;
        height: 220px;
    }
    
    .brand-image-4 {
        width: 200px;
        height: 200px;
    }
    
    .brand-image-5 {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .brand-marketing-title {
        font-size: 2rem;
    }
    
    .brand-marketing-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .brand-image-1 {
        width: 160px;
        height: 200px;
        top: 15%;
        left: 5%;
    }
    
    .brand-image-2 {
        width: 140px;
        height: 168px;
        bottom: 20%;
        left: 8%;
    }
    
    .brand-image-3 {
        width: 160px;
        height: 160px;
        top: 18%;
        right: 5%;
    }
    
    .brand-image-4 {
        width: 140px;
        height: 140px;
        bottom: 25%;
        right: 8%;
    }
    
    .brand-image-5 {
        width: 120px;
        height: 120px;
        bottom: 15%;
    }
}

@media (max-width: 480px) {
    .brand-marketing-title {
        font-size: 1.5rem;
    }
    
    .brand-image-1 {
        width: 120px;
        height: 150px;
    }
    
    .brand-image-2 {
        width: 100px;
        height: 120px;
    }
    
    .brand-image-3 {
        width: 120px;
        height: 120px;
    }
    
    .brand-image-4 {
        width: 100px;
        height: 100px;
    }
    
    .brand-image-5 {
        width: 80px;
        height: 80px;
    }
}

/* Template Page Styles */
.main-content {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.welcome-section {
    text-align: center;
    padding: 4rem 0;
}

.welcome-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: white;
}

.welcome-section p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #ffffff;
    color: #667eea;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive for template page */
@media (max-width: 768px) {
    .welcome-section h1 {
        font-size: 2.5rem;
    }
    
    .welcome-section p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
}

/* Team Section Styles */
.team-section {
    padding: 80px 20px;
    background: #ffffff;
}

/* Project Details (Necta) */
.project-hero-section {
    padding: 120px 20px 40px;
    background: #ffffff;
}

.project-hero-container {
    max-width: 1100px;
    margin: 0 auto;
}

.project-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 16px;
}

.project-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin: 0 0 8px 0;
    color: #111827;
}

.project-hero-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    margin: 0;
}

.project-overview-section {
    padding: 10px 20px 60px;
    background: #ffffff;
}

.project-overview-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
    gap: 60px;
    align-items: flex-start;
}

.project-overview-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 18px 0;
}

.project-overview-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4b5563;
    margin: 0;
}

.project-overview-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-meta-group h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
    margin: 0 0 4px 0;
}

.project-meta-group p {
    font-size: 0.98rem;
    color: #111827;
    margin: 0;
}

.project-image-section {
    padding: 0 20px 70px;
    background: #ffffff;
}

.project-gallery-section {
    padding: 0 20px 80px;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.10) 0, rgba(255, 255, 255, 1) 45%, rgba(16, 185, 129, 0.08) 100%);
}

.project-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.project-gallery-card {
    grid-column: span 4;
    border-radius: 24px;
    overflow: hidden;
    background: #111827;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.20);
    transform: translateZ(0);
}

.project-gallery-card.tall {
    grid-column: span 5;
    grid-row: span 2;
}

.project-gallery-card.wide {
    grid-column: span 7;
}

.project-gallery-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.project-image-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.project-hero-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.project-content-section {
    padding: 0 20px 70px;
    background: #ffffff;
}

.project-content-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
}

.project-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
    margin-bottom: 10px;
}

.project-column-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 14px 0;
}

.project-column-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
    margin: 0 0 12px 0;
}

.project-metrics-section {
    padding: 0 20px 80px;
    background: #f9fafb;
}

.project-metrics-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.project-metric-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
}

.project-metric-label {
    font-size: 0.95rem;
    color: #6b7280;
}

.project-closing-section {
    padding: 70px 20px 90px;
    background: #ffffff;
}

.project-closing-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.project-closing-kicker {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
    margin-bottom: 10px;
}

.project-closing-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 20px 0;
}

.project-closing-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: #111827;
    color: #f9fafb;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.project-closing-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.32);
    background: #000000;
}

.project-closing-arrow {
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .project-hero-section {
        padding-top: 110px;
    }

    .project-hero-title {
        font-size: 3rem;
    }

    .project-overview-container {
        gap: 40px;
    }

    .project-hero-image {
        height: 440px;
    }
}

@media (max-width: 768px) {
    .project-hero-section {
        padding: 100px 20px 30px;
    }

    .project-hero-title {
        font-size: 2.5rem;
    }

    .project-overview-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-content-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-hero-image {
        height: 360px;
    }

    .project-metrics-container {
        grid-template-columns: 1fr;
    }

    .project-gallery-section {
        padding: 0 20px 70px;
    }

    .project-gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .project-gallery-card,
    .project-gallery-card.tall,
    .project-gallery-card.wide {
        grid-column: auto;
        grid-row: auto;
    }

    .project-gallery-card {
        border-radius: 20px;
        height: 260px;
    }
}

@media (max-width: 480px) {
    .project-hero-title {
        font-size: 2.1rem;
    }

    .project-hero-subtitle {
        font-size: 1.05rem;
    }

    .project-hero-image {
        height: 280px;
    }

    .project-closing-title {
        font-size: 1.8rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 90px 20px;
    background: radial-gradient(circle at top left, #f5f7ff 0, #ffffff 50%, #f8f9fa 100%);
}

.testimonials-container {
    max-width: 1100px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: left;
    margin-bottom: 48px;
}

.testimonials-eyebrow {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #4A90E2;
    margin-bottom: 10px;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
    margin: 0 0 12px 0;
}

.testimonials-subtitle {
    max-width: 520px;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

.testimonials-slider {
    position: relative;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.14);
    padding: 32px 32px 40px;
    overflow: hidden;
}

.testimonials-track {
    position: relative;
    min-height: 220px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    gap: 24px;
    align-items: center;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    position: relative;
}

.testimonial-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #111827;
    margin: 0 0 16px 0;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-name {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.testimonial-role {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.testimonials-dots {
    display: flex;
    gap: 10px;
    margin-top: 28px;
    justify-content: flex-end;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: #d1d5db;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s ease, width 0.25s ease, transform 0.25s ease;
}

.testimonial-dot.active {
    width: 28px;
    background: #111827;
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .testimonials-section {
        padding: 80px 20px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 70px 20px;
    }

    .testimonials-header {
        text-align: center;
    }

    .testimonials-subtitle {
        margin: 0 auto;
    }

    .testimonials-slider {
        padding: 26px 22px 32px;
    }

    .testimonial-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonial-avatar {
        width: 68px;
        height: 68px;
    }

    .testimonials-dots {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 60px 16px;
    }

    .testimonials-title {
        font-size: 2rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.team-title {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    row-gap: 80px;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.member-image {
    width: 280px;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-image:hover img {
    transform: scale(1.05);
}

.member-info {
    text-align: center;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
    font-family: 'Inter', sans-serif;
}

.member-role {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* Responsive Design for Team Section */
@media (max-width: 1024px) {
    .team-grid {
        gap: 40px;
        row-gap: 60px;
    }
    
    .member-image {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 60px 20px;
    }
    
    .team-container {
        gap: 40px;
    }
    
    .team-title {
        font-size: 2.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        row-gap: 50px;
    }
    
    .member-image {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 40px 20px;
    }
    
    .team-title {
        font-size: 2rem;
    }
    
    .member-image {
        width: 200px;
        height: 200px;
    }
    
    .member-name {
        font-size: 1.25rem;
    }
    
    .member-role {
        font-size: 0.9rem;
    }
}

/* Footer Section Styles */
.footer {
    background: #000000;
    color: #ffffff;
    padding: 60px 20px 30px;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 25px 0;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #4A90E2;
}

/* Contact Information */
.contact-info {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #ffffff;
}

.contact-item i {
    margin-right: 12px;
    font-size: 1rem;
    color: #ffffff;
    width: 16px;
}

.contact-item span {
    color: #ffffff;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.social-link:hover {
    background: #4A90E2;
    border-color: #4A90E2;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 0.9rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4A90E2;
}

/* Copyright */
.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.footer-copyright p {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0;
}

.footer-copyright strong {
    font-weight: 700;
}

/* Responsive Design for Footer */
@media (max-width: 1024px) {
    .footer-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 20px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 15px 15px;
    }
    
    .footer-heading {
        font-size: 1.1rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 30px;
        height: 30px;
    }
    
    .social-link i {
        font-size: 0.8rem;
    }
}

/* Services Main Section Styles */
.services-main-section {
    padding: 120px 20px 80px;
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.services-main-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.services-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
}

.services-main-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: #000;
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.1;
}

.services-number {
    font-size: 4.5rem;
    font-weight: 800;
    color: #000;
    font-family: 'Inter', sans-serif;
    line-height: 1.1;
}

.services-separator {
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        #ccc 0,
        #ccc 4px,
        transparent 4px,
        transparent 8px
    );
    margin-bottom: 40px;
    width: 100%;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: #000;
    font-family: 'Inter', sans-serif;
}

.service-number-badge {
    background: #ff6b35;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    min-width: 40px;
    text-align: center;
}

/* Responsive Design for Services Main Section */
@media (max-width: 1024px) {
    .services-main-title,
    .services-number {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .services-main-section {
        padding: 100px 20px 60px;
    }
    
    .services-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .services-main-title,
    .services-number {
        font-size: 3rem;
    }
    
    .service-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .services-main-section {
        padding: 80px 15px 40px;
    }
    
    .services-main-title,
    .services-number {
        font-size: 2.5rem;
    }
    
    .service-text {
        font-size: 1.1rem;
    }
    
    .service-number-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Interactive Services Section Styles */
.interactive-services-section {
    padding: 80px 20px;
    background: #ffffff;
}

.interactive-services-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.service-detail-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.service-detail-card.active {
    display: block;
}

.service-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

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

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

.service-separator-line {
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        #ccc 0,
        #ccc 4px,
        transparent 4px,
        transparent 8px
    );
    margin: 0;
}

.service-content {
    padding: 40px;
}

.service-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 20px 0;
    font-family: 'Inter', sans-serif;
}

.service-detail-text {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
    font-family: 'Inter', sans-serif;
    max-width: 600px;
}



/* Service Navigation */
.service-navigation {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: sticky;
    top: 100px;
    right: 0;
    max-width: 300px;
    margin-left: auto;
}

.service-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-nav-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-nav-item.active {
    border-color: #4A90E2;
    background: #f8f9ff;
}

.service-nav-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    font-family: 'Inter', sans-serif;
}

.service-nav-number {
    background: #ff6b35;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    min-width: 30px;
    text-align: center;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Interactive Services */
@media (max-width: 1024px) {
    .interactive-services-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    
    .service-navigation {
        position: static;
        max-width: 100%;
        order: -1;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .service-nav-item {
        min-width: 200px;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .interactive-services-section {
        padding: 60px 20px;
    }
    
    .service-content {
        padding: 30px 20px;
    }
    
    .service-detail-title {
        font-size: 1.5rem;
    }
    
    .service-detail-text {
        font-size: 1rem;
    }
    

    
    .service-navigation {
        flex-direction: column;
        overflow-x: visible;
    }
    
    .service-nav-item {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .interactive-services-section {
        padding: 40px 15px;
    }
    
    .service-image {
        height: 300px;
    }
    
    .service-content {
        padding: 25px 15px;
    }
    
    .service-detail-title {
        font-size: 1.3rem;
    }
    
    .service-detail-text {
        font-size: 0.95rem;
    }
    
    .service-nav-name {
        font-size: 1rem;
    }
}

/* ========== Services Cards Section (2 per row, 10 cards, multi-color) ========== */
.services-cards-section {
    padding: 60px 20px 80px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f5f7fa 100%);
    font-family: 'Inter', sans-serif;
}

.services-cards-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card-box {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    animation: serviceCardFadeIn 0.6s ease-out backwards;
}

.service-card-box:nth-child(1) { animation-delay: 0.05s; }
.service-card-box:nth-child(2) { animation-delay: 0.1s; }
.service-card-box:nth-child(3) { animation-delay: 0.15s; }
.service-card-box:nth-child(4) { animation-delay: 0.2s; }
.service-card-box:nth-child(5) { animation-delay: 0.25s; }
.service-card-box:nth-child(6) { animation-delay: 0.3s; }
.service-card-box:nth-child(7) { animation-delay: 0.35s; }
.service-card-box:nth-child(8) { animation-delay: 0.4s; }
.service-card-box:nth-child(9) { animation-delay: 0.45s; }
.service-card-box:nth-child(10) { animation-delay: 0.5s; }

@keyframes serviceCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Name on top - header strip with number */
.service-card-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.service-card-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    background: #333;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-card-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Multi-color accent per card */
.service-card-1 .service-card-header { background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); }
.service-card-1 .service-card-number { background: #1976d2; }

.service-card-2 .service-card-header { background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%); }
.service-card-2 .service-card-number { background: #c2185b; }

.service-card-3 .service-card-header { background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); }
.service-card-3 .service-card-number { background: #2e7d32; }

.service-card-4 .service-card-header { background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); }
.service-card-4 .service-card-number { background: #e65100; }

.service-card-5 .service-card-header { background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%); }
.service-card-5 .service-card-number { background: #7b1fa2; }

.service-card-6 .service-card-header { background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%); }
.service-card-6 .service-card-number { background: #0097a7; }

.service-card-7 .service-card-header { background: linear-gradient(135deg, #fbe9e7 0%, #ffccbc 100%); }
.service-card-7 .service-card-number { background: #d84315; }

.service-card-8 .service-card-header { background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%); }
.service-card-8 .service-card-number { background: #3949ab; }

.service-card-9 .service-card-header { background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%); }
.service-card-9 .service-card-number { background: #f9a825; }

.service-card-10 .service-card-header { background: linear-gradient(135deg, #efebe9 0%, #d7ccc8 100%); }
.service-card-10 .service-card-number { background: #5d4037; }

.service-card-image-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #eee;
}

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

.service-card-box:hover .service-card-image-wrap img {
    transform: scale(1.06);
}

.service-card-body {
    padding: 22px 24px 28px;
    flex: 1;
}

.service-card-body p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #444;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Service detail page */
.service-detail-page {
    padding: 120px 20px 80px;
    background: radial-gradient(circle at top left, #f5f7ff 0, #ffffff 40%, #f5f7fa 100%);
    font-family: 'Inter', sans-serif;
}

.service-detail-hero {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.service-detail-hero-inner {
    padding: 40px 32px;
    border-radius: 24px;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
}

.service-detail-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(249, 250, 251, 0.08);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-detail-title {
    margin: 18px 0 12px;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.service-detail-tagline {
    max-width: 560px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(249, 250, 251, 0.85);
}

.service-detail-content {
    max-width: 1200px;
    margin: 0 auto;
}

.service-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 40px;
}

.service-detail-main h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.service-detail-main p {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 32px;
}

.service-detail-highlights h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-detail-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-detail-highlights li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 0.98rem;
    color: #111827;
}

.service-detail-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.service-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-detail-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.service-detail-card h4 {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 600;
}

.service-detail-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.service-detail-card li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    padding: 6px 0;
    border-bottom: 1px dashed #e5e7eb;
}

.service-detail-card li:last-child {
    border-bottom: none;
}

.service-detail-card li span:first-child {
    color: #6b7280;
}

.service-detail-card li span:last-child {
    font-weight: 500;
    color: #111827;
}

.service-detail-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 6px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #f9fafb;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.service-detail-cta-arrow {
    font-size: 1rem;
}

.service-detail-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
    background: linear-gradient(135deg, #111827, #111827);
}

.service-detail-card.secondary {
    background: #f9fafb;
    box-shadow: none;
    border: 1px solid #e5e7eb;
}

.service-detail-card.secondary p {
    font-size: 0.9rem;
    color: #4b5563;
    margin: 0;
}

@media (max-width: 1024px) {
    .service-detail-page {
        padding: 110px 20px 70px;
    }
    .service-detail-layout {
        grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .service-detail-page {
        padding: 100px 16px 60px;
    }
    .service-detail-hero-inner {
        padding: 28px 22px;
    }
    .service-detail-title {
        font-size: 2.1rem;
    }
    .service-detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .service-detail-hero-inner {
        padding: 24px 18px;
    }
    .service-detail-title {
        font-size: 1.9rem;
    }
}

/* ===== Service Detail Page - Professional Layout ===== */
.svc-detail {
    font-family: 'DM Sans', sans-serif;
    padding-top: 80px;
}

.svc-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Breadcrumb */
.svc-detail-breadcrumb {
    padding: 20px 0;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.svc-detail-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.svc-detail-breadcrumb a:hover {
    color: #0f172a;
}

.svc-breadcrumb-sep {
    margin: 0 8px;
    color: #cbd5e1;
    font-size: 0.85rem;
}

.svc-breadcrumb-current {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero */
.svc-detail-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding: 0 24px 60px;
    overflow: hidden;
}

.svc-detail-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.svc-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0.2) 100%);
}

.svc-detail-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.svc-detail-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}

.svc-detail-hero-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.svc-detail-hero-tagline {
    max-width: 560px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Overview Section */
.svc-detail-overview {
    padding: 80px 0 100px;
    background: #fff;
}

.svc-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}

.svc-detail-section-title {
    font-family: 'Instrument Serif', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #0f172a;
    margin-bottom: 24px;
}

.svc-detail-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 48px;
}

/* Process Steps */
.svc-detail-process {
    margin-bottom: 48px;
}

.svc-detail-process-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 24px;
}

.svc-detail-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.svc-detail-step {
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.svc-detail-step:hover {
    background: #fff;
    border-color: #0f172a;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.svc-step-num {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.svc-detail-step h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.svc-detail-step p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Highlights */
.svc-detail-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.svc-detail-highlights-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 1rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.svc-detail-highlights-list li:last-child {
    border-bottom: none;
}

.svc-detail-highlights-list i {
    color: #22c55e;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Sidebar */
.svc-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

.svc-detail-card {
    background: #0f172a;
    color: #fff;
    border-radius: 16px;
    padding: 28px;
}

.svc-detail-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.svc-detail-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.svc-detail-meta li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
}

.svc-detail-meta li:last-of-type {
    border-bottom: none;
}

.svc-detail-meta li span:first-child {
    color: rgba(255, 255, 255, 0.7);
}

.svc-detail-meta li span:last-child {
    font-weight: 500;
}

.svc-detail-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: #fff;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.svc-detail-cta:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.svc-detail-cta i {
    font-size: 0.85rem;
    transition: transform 0.2s;
}

.svc-detail-cta:hover i {
    transform: translateX(4px);
}

.svc-detail-card-light {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.svc-detail-card-light h4 {
    color: #0f172a;
}

.svc-detail-card-light p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.svc-detail-cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.svc-detail-cta-box {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.svc-detail-cta-box h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 12px;
}

.svc-detail-cta-box p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
}

.svc-detail-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #fff;
    color: #0f172a;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.svc-detail-cta-btn:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Related Services */
.svc-detail-related {
    padding: 60px 0 80px;
    background: #fafafa;
}

.svc-related-title {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.svc-related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.svc-related-item {
    display: inline-block;
    padding: 12px 20px;
    background: #fff;
    color: #334155;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.svc-related-item:hover {
    border-color: #0f172a;
    color: #0f172a;
    background: #fff;
}

/* Service Detail Responsive */
@media (max-width: 1024px) {
    .svc-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .svc-detail-sidebar {
        position: static;
    }
    .svc-detail-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .svc-detail-hero {
        min-height: 320px;
        padding: 0 16px 40px;
    }
    .svc-detail-hero-title {
        font-size: 2.2rem;
    }
    .svc-detail-overview {
        padding: 50px 0 70px;
    }
    .svc-detail-container {
        padding: 0 16px;
    }
    .svc-detail-section-title {
        font-size: 1.65rem;
    }
    .svc-detail-cta-box h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .svc-detail-hero {
        min-height: 280px;
    }
    .svc-detail-breadcrumb {
        padding: 14px 0;
    }
}

/* Responsive: 2 per row → 1 per row on small screens */
@media (max-width: 992px) {
    .services-cards-section {
        padding: 50px 20px 60px;
    }
    .services-cards-grid {
        gap: 24px;
    }
    .service-card-name {
        font-size: 1.2rem;
    }
    .service-card-image-wrap {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .services-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .service-card-header {
        padding: 16px 20px;
    }
    .service-card-number {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    .service-card-name {
        font-size: 1.15rem;
    }
    .service-card-image-wrap {
        height: 200px;
    }
    .service-card-body {
        padding: 18px 20px 24px;
    }
    .service-card-body p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .services-cards-section {
        padding: 40px 16px 50px;
    }
    .services-cards-grid {
        gap: 20px;
    }
    .service-card-header {
        padding: 14px 18px;
        gap: 12px;
    }
    .service-card-number {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    .service-card-name {
        font-size: 1.05rem;
    }
    .service-card-image-wrap {
        height: 180px;
    }
    .service-card-body {
        padding: 16px 18px 20px;
    }
    .service-card-body p {
        font-size: 0.9rem;
    }
}

/* Get in Touch Section Styles */
.get-in-touch-section {
    padding: 90px 20px 30px;
    background: #ffffff;
    min-height: 85vh;
    transition: opacity 0.3s ease-in;
}

.get-in-touch-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Left Section: Content */
.get-in-touch-content {
    padding-right: 20px;
}

.get-in-touch-title {
    font-size: 3rem;
    font-weight: 800;
    color: #000;
    margin: 0 0 16px 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.1;
}

.get-in-touch-description {
    font-size: 1.1rem;
    color: #000;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* Right Section: Contact Form */
.contact-form-container {
    padding-left: 20px;
}

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

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

.form-group label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000 !important;
    font-family: 'Inter', sans-serif;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force-show Name label on Contact page */
.get-in-touch-section .contact-form-container .form-group label[for="name"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #000 !important;
    position: relative;
    z-index: 1;
}

.form-group input,
.form-group textarea {
    border: none;
    border-bottom: 2px solid #000;
    padding: 10px 0;
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
    display: block;
    width: 100%;
    visibility: visible;
    opacity: 1;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #000;
}

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

/* Ensure all form fields are visible */
.form-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.form-group label {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.form-group input,
.form-group textarea {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
}

/* Ensure Name label is specifically visible */
label[for="name"] {
    color: #000 !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.submit-btn {
    background: #000;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin-top: 16px;
    width: 100%;
}

.submit-btn:hover {
    background: #333;
}

/* FAQ Section Styles */
.faq-section {
    padding: 60px 20px;
    background: #ffffff;
    display: flex;
    justify-content: flex-end;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 0 auto;
    margin-left: auto;
    margin-right: 20px;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
    text-align: left;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px dotted #e0e0e0;
    padding: 20px 0;
}

.faq-header {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    padding: 10px 0;
}

.faq-number {
    width: 40px;
    height: 40px;
    background: #FF6B35;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.faq-question {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 500;
    color: #000;
    font-family: 'Inter', sans-serif;
}

.faq-icon {
    font-size: 1.5rem;
    color: #4A90E2;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    margin-top: 15px;
    margin-left: 60px;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
}

.faq-answer p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* Responsive Design for Get in Touch Section */
@media (max-width: 1024px) {
    .get-in-touch-container {
        gap: 60px;
    }
    
    .get-in-touch-title {
        font-size: 3.5rem;
    }
    
    .get-in-touch-description {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .get-in-touch-section {
        padding: 80px 20px;
    }
    
    .get-in-touch-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .get-in-touch-content {
        padding-right: 0;
    }
    
    .contact-form-container {
        padding-left: 0;
    }
    
    .get-in-touch-title {
        font-size: 3rem;
    }
    
    .get-in-touch-description {
        font-size: 1.1rem;
    }
    
    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .get-in-touch-section {
        padding: 60px 15px;
    }
    
    .get-in-touch-title {
        font-size: 2.5rem;
    }
    
    .get-in-touch-description {
        font-size: 1rem;
    }
    
    .contact-form {
        gap: 25px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 1rem;
    }
    
    .submit-btn {
        padding: 16px 28px;
        font-size: 1.1rem;
    }
}








/* Auto Stacked Cards - Homepage Hero Only */
.auto-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.card-stack {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 ratio */
    perspective: 1000px;
}

.card-stack .card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 1 !important;
    pointer-events: auto;
}

/* Initial stacked offsets */
.card-stack .card:nth-child(1) { transform: translateY(0) scale(1); z-index: 5; }
.card-stack .card:nth-child(2) { transform: translateY(12px) scale(0.985); z-index: 4; }
.card-stack .card:nth-child(3) { transform: translateY(24px) scale(0.97); z-index: 3; }
.card-stack .card:nth-child(4) { transform: translateY(36px) scale(0.955); z-index: 2; }
.card-stack .card:nth-child(5) { transform: translateY(48px) scale(0.94); z-index: 1; }

.card-stack .card:hover { transform: translateY(0) scale(1); }

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