.domain-card.filler {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    min-height: 370px;
    height: 100%;
    margin: 0;
    padding: 0;
}
/* Domain card background images */
.domain-card.civil-infra {
    background-image: linear-gradient(rgba(10,12,16,0.72), rgba(10,12,16,0.36)), url('media/images/civil_infra.jpeg');
    background-size: cover;
    background-position: center;
}
.domain-card.peb {
    background-image: linear-gradient(rgba(10,12,16,0.72), rgba(10,12,16,0.36)), url('media/images/peb_image.jpg');
    background-size: cover;
    background-position: center;
}
.domain-card.mep {
    background-image: linear-gradient(rgba(10,12,16,0.72), rgba(10,12,16,0.36)), url('media/images/mep.jpg');
    background-size: cover;
    background-position: center;
}
.domain-card.warehouse {
    background-image: linear-gradient(rgba(10,12,16,0.72), rgba(10,12,16,0.36)), url('media/images/warehouse.webp');
    background-size: cover;
    background-position: center;
}
.domain-card.fmcg {
    background-image: linear-gradient(rgba(10,12,16,0.72), rgba(10,12,16,0.36)), url('media/images/store1.jpeg');
    background-size: cover;
    background-position: center;
}
.domain-card.oilgas {
    background-image: linear-gradient(rgba(10,12,16,0.72), rgba(10,12,16,0.36)), url('media/images/oil&gas.jpeg');
    background-size: cover;
    background-position: center;
}
.domain-card.heavy {
    background-image: linear-gradient(rgba(10,12,16,0.72), rgba(10,12,16,0.36)), url('media/images/heavy_eng.jpeg');
    background-size: cover;
    background-position: center;
}
.domain-card.automobile {
    background-image: linear-gradient(rgba(10,12,16,0.72), rgba(10,12,16,0.36)), url('media/images/automobile.jpeg');
    background-size: cover;
    background-position: center;
}
.domain-card.foodpharma {
    background-image: linear-gradient(rgba(10,12,16,0.72), rgba(10,12,16,0.36)), url('media/images/FOOD-BEVERAGE-PHARMA-PROJECTS-01.webp');
    background-size: cover;
    background-position: center;
}
.domain-card.power {
    background-image: linear-gradient(rgba(10,12,16,0.72), rgba(10,12,16,0.36)), url('media/images/powersector.jpg');
    background-size: cover;
    background-position: center;
}
.domain-card.tank {
    background-image: linear-gradient(rgba(10,12,16,0.72), rgba(10,12,16,0.36)), url('media/images/tanksector.jpeg');
    background-size: cover;
    background-position: center;
}
:root {
    --primary-color: #0c4271;
    /* Engineering Blue */
    --primary-light: #1e88e5;
    /* Professional Blue */
    --secondary-color: #37474f;
    /* Steel Grey */
    --accent-color: #f57c00;
    /* Safety Orange */
    --accent-soft: rgba(245, 124, 0, 0.1);
    --bg-dark: #0a0c10;
    --bg-card: rgba(17, 24, 39, 0.8);
    --text-white: #f1f5f9;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --navbar-height: 88px;
}

/* Ensure in-page anchor scrolling accounts for the fixed navbar */
html {
    scroll-padding-top: calc(var(--navbar-height) + 8px);
}

/* Extra safety for elements targeted by fragment links */
:target {
    scroll-margin-top: calc(var(--navbar-height) + 12px);
}

/* Give headings and major section blocks a margin for anchor jumps */
h1, h2, h3, .section-header, .page-header {
    scroll-margin-top: calc(var(--navbar-height) + 12px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Push page content below the fixed navbar so pages (like Careers) are not hidden */
body {
    padding-top: var(--navbar-height);
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    /* use fixed navbar height to avoid clipping of inner items */
    height: var(--navbar-height);
    padding: 0;
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.98) 0%, rgba(10, 12, 16, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(245, 124, 0, 0.2);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled {
    /* keep same height when scrolled to avoid layout shifts */
    height: var(--navbar-height);
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.99) 0%, rgba(10, 12, 16, 0.98) 100%);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-right: 2rem;
    letter-spacing: -0.8px;
}

.logo span {
    color: var(--primary-light);
    font-weight: 900;
    margin-left: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2.5px;
    font-family: 'Outfit', sans-serif;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: nowrap;
}

/* ensure nav links vertically center to the navbar height to avoid clipping */
.nav-links {
    align-items: center;
    height: 100%;
}

.nav-links {
    order: 1;
}

.nav-links li {
    margin-left: 0;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.76rem;
    transition: var(--transition);
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    display: inline-block;
    padding: 0.35rem 0.2rem;
    border-bottom: 2px solid transparent;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-color);
    opacity: 1;
    border-bottom-color: var(--accent-color);
}

.nav-links a.active {
    color: var(--accent-color);
    opacity: 1;
    border-bottom-color: var(--accent-color);
}

/* Logo Scroller */
.logo-track {
    display: flex;
    width: max-content;
    animation: scroll 50s linear infinite;
}

.logo-scroll {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-right: 20px;
}

.logo-track img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    filter: brightness(1.2) grayscale(0) opacity(0.85) drop-shadow(0 0 8px rgba(245, 124, 0, 0.2));
    transition: all 0.4s ease;
}

.logo-track img:hover {
    filter: brightness(1.4) grayscale(0) opacity(1) drop-shadow(0 0 12px rgba(245, 124, 0, 0.4));
    transform: scale(1.15);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Portfolio & Filtering */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent-light);
    color: white;
    border-color: var(--accent-color);
}

.project-item {
    display: block;
    transition: all 0.4s ease;
}

.project-item.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.9);
}

/* Resource Center & PDF Cards */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-top: 3px solid var(--accent-color);
}

.resource-card .pdf-icon {
    font-size: 3rem;
    color: #ff4d4d;
}

.resource-card h4 {
    font-size: 1.1rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
}

/* Events Timeline */
.timeline {
    position: relative;
    max-width: 1500px;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.timeline::after {
    content: '';
    display: none;
}

.event-container {
    padding: 0;
    position: relative;
    background-color: inherit;
    width: 100%;
}

.event-container::after {
    content: '';
    display: none;
}

.left {
    left: 0;
}

.right {
    left: 0;
}

.event-content {
    position: relative;
    border-radius: 12px;

.logo {
    order: 2;
    margin-left: auto;
}
}

.event-date {
    color: var(--accent-light);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

@media screen and (max-width: 1024px) {
    .timeline {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .timeline {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .timeline::after {
        display: none;
    }

    .event-container {
        width: 100%;
        padding: 0;
    }

    .event-container::after {
        display: none;
    }

    .right {
        left: 0%;
    }
}

/* Photo Gallery Tabs */
.photo-gallery {
    padding: 4rem 0;
    background: var(--bg-dark);
}

.section-header {
    margin-bottom: 3rem;
}

/* Reduce gap specifically for portfolio section headers so intro sits closer */
.portfolio .section-header {
    margin-bottom: 1rem;
}

.section-header span {
    color: var(--accent-light);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--accent-color);
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: var(--accent-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--accent-color);
    color: var(--bg-dark);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

/* Tab Content */
.tab-content-wrapper {
    position: relative;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 165, 0, 0.2);
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.2);
}

/* Machinery Collage - all images in one grid inside a single card */
.machinery-collage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.collage-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 165, 0, 0.15);
}

.collage-img:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(245, 124, 0, 0.3);
}

@media screen and (max-width: 1024px) {
    .machinery-collage {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .collage-img {
        height: 140px;
    }
}
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }


@media screen and (max-width: 768px) {
    .tab-navigation {
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-img {
        height: 250px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* Hero Section */
/* Hero Slider */
.hero {
    position: relative;
    min-height: calc(100vh - var(--navbar-height));
    /* keep a small internal offset; overall page is already pushed down by body padding */
    padding-top: 8px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #050710;
    box-sizing: border-box;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Ensure images placed inside slides cover the area (useful for local files) */
.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero .container {
    position: relative;
    z-index: 10;
}

.slider-controls {
    position: absolute;
    bottom: 3rem;
    right: 5%;
    display: flex;
    gap: 1rem;
    z-index: 20;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

/* Design Capabilities block */
.design-capabilities { padding: 4rem 0; background: linear-gradient(180deg,#071026, #02040a); color: #fff; }
.design-capabilities .container { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; align-items: start; }
.dc-card { background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)); border-radius: 8px; padding: 1.6rem; box-shadow: 0 12px 30px rgba(2,6,23,0.6); border: 1px solid rgba(255,255,255,0.03); }
.dc-step { display:flex; gap:1rem; align-items:flex-start; margin-bottom:1rem; }
.dc-step .badge { width:56px; height:56px; border-radius:8px; background:#b71c1c; display:flex; align-items:center; justify-content:center; font-weight:700; color:#fff; font-size:0.95rem; box-shadow:0 8px 20px rgba(183,28,28,0.18);}
.dc-standards { display:grid; grid-template-columns: repeat(2,1fr); gap:12px; }
.dc-standards .tile { background: rgba(255,255,255,0.03); padding:14px 12px; text-align:center; border-radius:6px; font-weight:700; color:#eee; box-shadow: inset 0 -10px 20px rgba(183,28,28,0.03); }
.dc-tools { display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; align-items:center; justify-items:center; }
.dc-tools img { max-width:100%; height:38px; object-fit:contain; filter: grayscale(0.05); opacity:0.95; }
@media (max-width:980px){ .design-capabilities .container{ grid-template-columns: 1fr; } .dc-tools{ grid-template-columns: repeat(4, 1fr); } .dc-standards{ grid-template-columns: repeat(2,1fr);} }

/* EPC image gallery */
.epc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.epc-gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; box-shadow: 0 8px 20px rgba(2,6,23,0.6); transition: transform 0.3s ease; }
.epc-gallery img:hover { transform: scale(1.05); }
@media (max-width: 900px) { .epc-gallery { grid-template-columns: repeat(2, 1fr); } .epc-gallery img { height: 160px; } }
@media (max-width: 600px) { .epc-gallery { grid-template-columns: 1fr; } }

/* Manufacturing and Export galleries */
.Manufacturing-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.Manufacturing-gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; box-shadow: 0 8px 20px rgba(2,6,23,0.6); transition: transform 0.3s ease; }
.Manufacturing-gallery img:hover { transform: scale(1.05); }

/* Site Service gallery - 3x3 grid */
.Site { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.Site img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; box-shadow: 0 8px 20px rgba(2,6,23,0.6); transition: transform 0.3s ease; }
.Site img:hover { transform: scale(1.05); }
@media (max-width: 900px) { .Site { grid-template-columns: repeat(2, 1fr); } .Site img { height: 160px; } }
@media (max-width: 600px) { .Site { grid-template-columns: 1fr; } }

.export-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.export-gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; box-shadow: 0 8px 20px rgba(2,6,23,0.6); transition: transform 0.3s ease; }
.export-gallery img:hover { transform: scale(1.05); }

@media (max-width: 900px) { 
    .Manufacturing-gallery { grid-template-columns: repeat(2, 1fr); } 
    .Manufacturing-gallery img { height: 160px; }
    .export-gallery { grid-template-columns: repeat(2, 1fr); } 
    .export-gallery img { height: 160px; }
}
@media (max-width: 600px) { 
    .Manufacturing-gallery { grid-template-columns: 1fr; }
    .export-gallery { grid-template-columns: 1fr; }
}

.slider-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.hero-content {
    max-width: 850px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero h1 span {
    color: var(--primary-light);
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 650px;
}

.btn {
    padding: 0.95rem 2.8rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light) 0%, #1565c0 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(30, 136, 229, 0.5);
}

.btn-secondary {
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
    background: transparent;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(30, 136, 229, 0.4);
}

/* Glassmorphism */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 3rem;
    transition: var(--transition);
}

.glass:hover {
    border-color: rgba(30, 136, 229, 0.4);
}

/* Sections */
section {
    padding: 10rem 0;
}

.section-header {
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header span {
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.page-header {
    padding: 12rem 0 6rem;
    background: linear-gradient(to bottom, #0f172a, #0a0c10);
    background-image: linear-gradient(rgba(56, 62, 75, 0.75), rgba(10, 12, 16, 0.85)), url('media/images/tata_chemicals.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

/* Page-specific header backgrounds */
.page-header.about {
    background-image: linear-gradient(rgba(56, 62, 75, 0.75), rgba(10, 12, 16, 0.85)), url('media/images/hero_heritage.jpg');
}

.page-header.leadership {
    background-image: linear-gradient(rgba(56, 62, 75, 0.75), rgba(10, 12, 16, 0.85)), url('media/images/dash.jpeg');
}

.page-header.services {
    background-image: linear-gradient(rgba(56, 62, 75, 0.75), rgba(10, 12, 16, 0.85)), url('media/images/epc_eng.jpeg');
}

.page-header.projects {
    background-image: linear-gradient(rgba(56, 62, 75, 0.75), rgba(10, 12, 16, 0.85)), url('media/images/civil_infra.jpeg');
}

.page-header.events {
    background-image: linear-gradient(rgba(56, 62, 75, 0.75), rgba(10, 12, 16, 0.85)), url('media/images/defence_expo_1.jpg');
}

.page-header.investors {
    background-image: linear-gradient(rgba(56, 62, 75, 0.75), rgba(10, 12, 16, 0.85)), url('media/events/CUSTOMER.jpeg');
}

.page-header.careers {
    background-image: linear-gradient(rgba(56, 62, 75, 0.75), rgba(10, 12, 16, 0.85)), url('media/images/employe_welfare.jpeg');
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Grids */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: stretch;
}


.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* Verticals Card */
.v-card {
    position: relative;
    overflow: hidden;
}

.v-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 0.95rem 2.8rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #e65100 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    border: none;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(245, 124, 0, 0.5);
}

/* Footer */
footer {
    padding: 6rem 0 3rem;
    background: #05070a;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--text-white);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
        width: 100%;
        text-align: center;
    }
}



/* ============= EXPO EVENTS CARDS ============= */
.expo-events {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(12, 66, 113, 0.05) 0%, rgba(245, 124, 0, 0.02) 100%);
}

.expo-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.expo-card {
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    group: "card";
}

.expo-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(245, 124, 0, 0.15);
}

.expo-card.active {
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(245, 124, 0, 0.3);
    background: linear-gradient(135deg, rgba(12, 66, 113, 0.1) 0%, rgba(245, 124, 0, 0.05) 100%);
}

.expo-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--secondary-color);
}

.expo-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.expo-card:hover .expo-card-image-wrapper img {
    transform: scale(1.08);
}

.expo-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: var(--transition);
}

.expo-card:hover .expo-card-overlay {
    opacity: 1;
}

.image-count-badge {
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.expo-card-content {
    padding: 1.5rem;
}

.expo-event-date {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.expo-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--text-white);
}

.expo-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Gallery Section */
.expo-gallery-section {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.expo-gallery-header {
    text-align: center;
    margin-bottom: 2rem;
}

.expo-gallery-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-img {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    object-fit: cover;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--glass-border);
}

.gallery-img:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(245, 124, 0, 0.2);
}

@media (max-width: 768px) {
    .expo-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .expo-card-image-wrapper {
        height: 180px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .expo-gallery-header h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 640px) {
    .expo-cards-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* ============= LIGHTBOX / MODAL ============= */
.lightbox-modal { display: none; position: fixed; inset: 0; z-index: 2000; align-items: center; justify-content: center; }
.lightbox-modal.open { display: flex; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.lightbox-dialog { position: relative; max-width: 1100px; width: 94%; margin: 0 auto; z-index: 2010; }
.lightbox-content { display:flex; align-items:center; gap: 1rem; background: transparent; }
.lightbox-slide-wrapper { flex:1; display:flex; align-items:center; justify-content:center; background: transparent; }
.lightbox-image { max-width: 100%; max-height: 70vh; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.6); }
.lightbox-prev, .lightbox-next, .lightbox-close { background: rgba(0,0,0,0.6); border: none; color: white; font-size: 2rem; padding: 0.4rem 0.7rem; border-radius: 8px; cursor: pointer; }
.lightbox-close { position: absolute; right: -10px; top: -10px; font-size: 1.6rem; }
.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover { background: var(--accent-color); }
.lightbox-caption { font-size: 0.95rem; }

@media (max-width: 640px) {
    .lightbox-image { max-height: 55vh; }
    .lightbox-prev, .lightbox-next { font-size: 1.4rem; }
}
/* Domain Modal Styles */
.domain-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.domain-modal.active {
    display: flex;
}

.domain-modal-content {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(12, 66, 113, 0.3) 100%);
    border: 1px solid rgba(245, 124, 0, 0.3);
    border-radius: 12px;
    padding: 3rem;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    backdrop-filter: blur(12px);
}

.domain-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent-color);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.domain-modal-close:hover {
    background: #e56b00;
}

.domain-modal-header h2 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.domain-project {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(245, 124, 0, 0.2);
}

.domain-project:last-child {
    border-bottom: none;
}

.domain-project-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(245, 124, 0, 0.2);
}

.domain-project-info h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.domain-project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.domain-card {
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 370px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    box-sizing: border-box;
    height: 100%;
}

.domain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(245, 124, 0, 0.2);
    border-color: rgba(245, 124, 0, 0.4) !important;
    z-index: 2;
}
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .domain-card {
        min-height: 340px;
    }
}

@media (max-width: 640px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .domain-card {
        min-height: 280px;
        padding: 1.2rem;
    }
}

@media (max-width: 768px) {
    .domain-project {
        grid-template-columns: 1fr;
    }
    
    .domain-modal-content {
        padding: 2rem;
    }
}