

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; 
}

body, html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}



/* Content-visibility for off-screen sections (improves rendering) */
.about-company-intro,
.chairmans-message-section,
.our-main-services-section,
.events-exhibitions-section,
.why-choose-floating-korean,
.projects-portfolio-preview,
.news-updates-section,
.partners-clients-section,
.contact-banner-section,
.site-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 100px;
}

/* GPU acceleration for animated elements */
.hero-slide,
.main-service-card,
.floating-card-korean,
.portfolio-item,
.news-card {
    will-change: transform, opacity;
}

/* Lazy-loaded images fade-in */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img.loaded {
    opacity: 1;
}

/* Reduce layout shift for images */
img[width][height] {
    aspect-ratio: attr(width) / attr(height);
}

.container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* KOREAN PREMIUM NAVBAR - TOP UTILITY BAR */
.top-utility-bar {
    background: #F7F7F7;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    border-bottom: 1px solid #EEEEEE;
}

.utility-bar-left {
    font-size: 0.85rem;
    color: #7C7C7C;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.utility-bar-right {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: #7C7C7C;
}

.utility-bar-right a {
    color: #7C7C7C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.utility-bar-right a:hover {
    color: #3A68B8;
}

/* MAIN HEADER - KOREAN PREMIUM */
.main-header {
    background: #FFFFFF;
    width: 100%;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #EEEEEE;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

/* LEFT NAVIGATION */
.header-nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-right: 0; /* Remove margin */
}

/* RIGHT NAVIGATION */
.header-nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto; /* Push to the right */
}

/* NAVIGATION LINKS - KOREAN STYLE */
.header-nav-left .nav-link,
.header-nav-right .nav-link {
    color: #ffffff;
    font-weight: 300;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
}

.header-nav-left .nav-link:hover,
.header-nav-right .nav-link:hover {
    color: #3A68B8;
}

.header-nav-left .nav-link.active,
.header-nav-right .nav-link.active {
    color: #3A68B8;
}

.header-nav-left .nav-link.active::after,
.header-nav-right .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #3A68B8;
}

/* CTA BUTTON - KOREAN STYLE */
.header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #3A68B8;
    border-radius: 999px;
    color: #3A68B8;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-cta-btn:hover {
    background: #3A68B8;
    color: #FFFFFF;
}

/* MOBILE MENU TOGGLE */
.header-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    justify-content: center;
    position: absolute;
    right: 40px;
}

.header-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background: #222222;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.header-menu.active span:nth-child(2) {
    opacity: 0;
}

.header-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* DROPDOWN STYLES */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 12px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    border: 1px solid #EEEEEE;
}

.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown .dropdown-menu li a {
    color: #222222;
    font-size: 0.9rem;
    font-weight: 300;
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-dropdown .dropdown-menu li a:hover {
    background: #F7F7F7;
    color: #3A68B8;
}


/* ============================
   HERO SECTION STYLES
   ============================ */

/* Hero */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    color: white;
    text-align: center;
    min-height: 520px;
    padding: 0;
    overflow: hidden;
}
.hero-buttons {
    display: flex !important;
    flex-direction: row !important; 
    gap: 20px !important;          
    margin-top: 15px !important;
    justify-content: flex-start;    
}
.hero-buttons button {
    padding: 10px 30px !important;  
    font-size: 0.8rem !important;   
    font-weight: 500 !important;
    border-radius: 5px !important;  
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;      
    min-width: 180px;               
}

/* About Us ബട്ടൺ */
.Explore-Services {
    background-color: #f5f5f5;
    color: #067b9e73;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    border: none;
}
/* Get a quote ബട്ടൺ */
.Contact-Us {
    background-color: transparent;
    color: rgb(255, 255, 255);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid white !important;
}

/* ഹോവർ ചെയ്യുമ്പോൾ (Mouse Hover) */
.Contact-Us:hover {
    background-color: #067b9e73 !important;
    border-color:#067b9e73 !important;
    color: #000000 !important;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(6, 31, 54, 0.75), #067b9e73);
    z-index: 1;
    pointer-events: none;
}
.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
}
.hero-bg {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	transition: transform 0.6s ease, opacity 0.6s ease;
}

/* New Hero Styles */
.hero-container {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    padding-bottom: 40px; 
    z-index: 2;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 5%;  /* അക്ഷരങ്ങൾ തീരെ വശത്ത് മുട്ടാതിരിക്കാൻ ചെറിയൊരു പാഡിംഗ് */
    padding-right: 5%;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: clamp(28px, 4vw, 48px);
    background: transparent;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
    text-align: center;
}

.hero-animated-text h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 500; /* Medium weight for Korean style */
    line-height: 1.0;
    color: #FFFFFF; /* Pure white */
    margin: 0 0 2rem 0; /* Increased spacing */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px; /* Wide spacing */
    opacity: 0;
    transform: translateY(15px);
    animation: none;
}
.hero-slide.active .hero-animated-text h1 {
    animation: fadeInRise 0.8s ease-out 0.3s forwards;
}

/* Accent Line (Samsung-style) */
.hero-slide .hero-animated-text h1::after {
    content: '';
    position: absolute;
    bottom: -16px; /* Increased spacing */
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #3A68B8, #5A88D8); /* Korean blue gradient */
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(58, 104, 184, 0.4);
}

.hero-slide.active .hero-animated-text h1::after {
    animation: lineExpand 0.6s ease-out 0.8s forwards;
}

.hero-slide .hero-buttons {
    display: flex;
    gap: 1.5rem; /* Wider spacing */
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 1rem; /* Extra spacing */
    opacity: 0;
    transform: scale(0.95);
    animation: none;
}
.hero-slide.active .hero-buttons {
    animation: fadeInScale 0.8s ease-out 0.7s forwards;
}

/* Hero Buttons - Korean Style */
.hero-slide .hero-content button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 16px 48px; /* Wider padding */
    border-radius: 999px;
    font-weight: 500; /* Medium weight */
    font-size: 1.05rem;
    letter-spacing: 1.2px; /* Wide spacing */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.hero-slide .hero-content button:hover {
    transform: translateY(-3px);
}

/* Primary Button - Korean Blue */
.hero-slide .Explore-Services {
    background: #3A68B8; /* Korean blue */
    color: #FFFFFF;
    border: 2px solid #3A68B8;
    box-shadow: 0 8px 24px rgba(58, 104, 184, 0.35);
}

.hero-slide .Explore-Services:hover {
    background: #2E5499; /* Darker Korean blue */
    border-color: #2E5499;
    box-shadow: 0 12px 32px rgba(58, 104, 184, 0.45);
}

/* Secondary Button - Transparent with White Border */
.hero-slide .Contact-Us {
    background: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-slide .Contact-Us:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #FFFFFF;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
/* Layout Adjustment */
.about-company-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Text on left, Mosaic on right */
    gap: 80px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 40px;
}

/* Mosaic Grid Logic */
.about-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 20px;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images don't stretch */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Sizing the 4 images differently */
.main-img {
    grid-row: span 2; /* Makes the first image tall */
}

.side-img-top {
    height: 100%;
}

.side-img-bottom {
    height: 100%;
}

/* Optional: Make the 4th image pop out or stay as a square */
.wide-img {
    display: none; /* If you only have 3 slots in this specific grid, hide the 4th or change grid-template */
}

/* Refined 4-Image Grid Version (If you want all 4 visible) */
.about-mosaic-grid {
    grid-template-rows: 180px 180px 100px; /* Adds a third row for the 4th image */
}
.wide-img {
    display: block;
    grid-column: span 2; /* Makes the 4th image wide across the bottom */
}
/* HEADING STYLE */
.about-company-title {
    font-size: 2.5rem;
    line-height: 1.1;
    color: #14396a; /* Deep Navy */
    margin-bottom: 30px;
    font-weight: 800;
    position: relative;
}

.about-company-title .accent-text {
    color: #3a68b8; /* Professional Blue Accent */
    display: block;
    margin-top: 5px;
}

/* Subtle accent line under heading */
.about-company-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #3a68b8;
    margin-top: 20px;
}

/* PARAGRAPH STYLE */
.about-company-text {
    font-size: 0.8rem;
    line-height: 1.8;
    color: #5a6a7a;
    margin-bottom: 25px;
    max-width: 540px;
}

.about-company-text.highlight {
    font-size: 1.25rem;
    color: #2d3748;
    font-weight: 400;
}

.brand-name {
    color: #14396a;
    font-weight: 700;
    position: relative;
}

/* IMAGE GRID LOGIC */
.about-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 200px 200px 120px; /* Three-tier grid */
    gap: 15px;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.item-tall { grid-row: span 2; } /* Main image spans two rows */
.item-wide { grid-column: span 2; } /* Bottom image spans full width */

/* Responsive Fix */
@media (max-width: 992px) {
    .about-company-container {
        grid-template-columns: 1fr;
    }
    .about-company-title { text-align: center; }
    .about-company-title::after { margin: 20px auto 0; }
    .about-company-text { text-align: center; margin-left: auto; margin-right: auto; }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .about-company-container {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 40px;
    }
    .about-mosaic-grid {
        grid-template-rows: repeat(2, 180px);
    }
}
/* SEO INTRODUCTION SECTION */
.seo-intro {
    width: 100%;
    background: #ffffff;
    padding: 28px 0;
    border-bottom: 1px solid #f0f0f0;
}

.seo-intro-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.seo-intro-title {
    font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem);
    font-weight: 400;
    color: #14396a;
    margin: 0 0 16px 0;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.seo-intro-text {
    font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
    font-weight: 300;
    color: #555;
    line-height: 1.8;
    margin: 0;
    letter-spacing: 0.3px;
}


/* CEO SECTION */
.ceo-section {
    padding: 100px 0;
    /* Use RGBA for transparency (0.9 means 90% opaque) */
   background-color: rgb(45 63 91);
    
    /* The Mirror/Glass effect */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(15px); /* Required for Safari */
    
    /* Optional: adds a slight reflection effect */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ceo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
}

.ceo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 320px;
}

.ceo-label {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.12);
    padding: 7px 18px;
    border-radius: 20px;
    width: fit-content;
}

.ceo-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.ceo-text {
    font-size: 1.08rem;
    color: #fff;
    line-height: 1.7;
    margin-bottom: 0;
    opacity: 0.95;
}

.ceo-text:last-of-type {
    margin-bottom: 0;
}

.ceo-figure {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ceo-figure img {
    width: 180px;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    border: 4px solid #fff;
}

.ceo-figure figcaption {
    margin-top: 10px;
    text-align: center;
    color: #fff;
}

.ceo-figure figcaption strong {
    font-size: 1.08rem;
    font-weight: 700;
    color: #fff;
}

.ceo-figure figcaption span {
    display: block;
    font-size: 0.98rem;
    color: #e0eaf6;
    margin-top: 2px;
}


/* CHAIRMAN'S MESSAGE SECTION */
.chairmans-message-section {
    width: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #fafbfc 100%);
    padding: 100px 0;
    position: relative;
}

.chairmans-message-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.chairmans-message-main-title {
    font-size: clamp(1.5rem, 1.25rem + 1.5vw, 2.5rem);
    font-weight: 300;
    color: #14396a;
    letter-spacing: clamp(1px, 0.5px + 0.5vw, 4px);
    text-align: center;
    margin-bottom: 70px;
    text-transform: uppercase;
    position: relative;
}

.chairmans-message-main-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #14396a, #067b9e);
}

.chairmans-message-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 20px 80px rgba(20, 57, 106, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: grid;
    grid-template-columns: 420px 1fr;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chairmans-message-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 100px rgba(20, 57, 106, 0.12);
}

.chairman-photo {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.chairman-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(58, 104, 184, 0.05) 0%, rgba(6, 123, 158, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.chairmans-message-card:hover .chairman-photo::before {
    opacity: 1;
}

.chairman-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.chairmans-message-card:hover .chairman-photo img {
    transform: scale(1.05);
}

.chairman-text-area {
    padding: 60px 60px 60px 70px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    background: rgba(255, 255, 255, 0.5);
}

.chairman-text-area::before {
    content: '"';
    position: absolute;
    top: 30px;
    left: 20px;
    font-size: 120px;
    font-weight: 900;
    color: rgba(58, 104, 184, 0.06);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.chairman-message-title {
    font-size: clamp(1.25rem, 1.1rem + 1vw, 2rem);
    font-weight: 300;
    color: #14396a;
    letter-spacing: clamp(0.5px, 0.3px + 0.3vw, 1.5px);
    margin: 0;
    position: relative;
    z-index: 1;
}

.chairman-message-text {
    font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.1rem);
    font-weight: 300;
    color: #555;
    line-height: 1.9;
    letter-spacing: 0.3px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.chairman-signature-area {
    margin-top: 20px;
    padding-top: 30px;
    border-top: 2px solid rgba(58, 104, 184, 0.15);
    position: relative;
    z-index: 1;
}

.chairman-signature {
    font-family: 'Dancing Script', 'Brush Script MT', cursive;
    font-size: 2.2rem;
    font-weight: 400;
    color: #14396a;
    margin-bottom: 8px;
    font-style: italic;
    letter-spacing: 1px;
}

.chairman-position {
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    letter-spacing: 0.5px;
    margin: 0;
}

/* OUR MAIN SERVICES SECTION */
.our-main-services-section {
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), 
                      url('images/services.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* ചിത്രം സ്ക്രോൾ ചെയ്യാതെ നിൽക്കാൻ */
    padding: 80px 0;
}
.our-main-services-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.our-main-services-title {
    font-size: clamp(1.5rem, 1.25rem + 1.5vw, 2.5rem);
    font-weight: 300;
    color: #14396a;
    letter-spacing: clamp(1px, 0.5px + 0.5vw, 4px);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
}

.our-main-services-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #14396a, #067b9e);
}

.our-main-services-subtitle {
    font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem);
    font-weight: 300;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
    margin-top: 25px;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.our-main-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1300px;
    margin: 0 auto;
    align-items: stretch;
}

.main-service-card {
    /* പഴയ ബാക്ക്ഗ്രൗണ്ട് മാറ്റി ഇത് നൽകുക */
    background: rgba(255, 255, 255, 0.7); /* വെളുത്ത നിറത്തിന്റെ തെളിമ കുറച്ചു (Transparency) */
    
    /* ബ്ലർ ഇഫക്റ്റ് ഇവിടെ ചേർക്കുന്നു */
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); /* സഫാരി ബ്രൗസറുകൾക്ക് വേണ്ടി */
    
    /* ബോർഡർ അല്പം കൂടി വ്യക്തമാക്കാൻ */
    border: 1px solid rgba(255, 255, 255, 0.3);
    
    /* ബാക്കിയുള്ള നിങ്ങളുടെ പഴയ കോഡുകൾ താഴെ നൽകാം */
    border-radius: 18px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 420px;
    padding: 36px 28px 28px 28px;
    transition: all 0.3s ease;
}

.main-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #14396a, #067b9e);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.main-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(20, 57, 106, 0.12);
    background: #ffffff;
}

.main-service-card:hover::before {
    transform: scaleX(1);
}

.main-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e6ecf5;
    color: #0F2854;
    font-size: 2.2rem;
    margin: 0 auto 24px auto;
    box-shadow: 0 2px 8px 0 rgba(15,40,84,0.07);
}

.main-service-icon i {
    font-size: 2rem;
    color: #ffffff;
    transition: all 0.4s ease;
}

.main-service-card:hover .main-service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(20, 57, 106, 0.3);
}

.main-service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0F2854;
    margin-bottom: 12px;
    text-align: center;
}

.main-service-desc {
    font-size: 1rem;
    color: #4a5a6a;
    margin-bottom: 18px;
    text-align: center;
    flex: 1 1 auto;
}

.main-service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    text-align: left;
}

.main-service-features li {
    font-size: 0.98rem;
    color: #0F2854;
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}

.main-service-features li::before {
    content: '\2022';
    color: #0F2854;
    position: absolute;
    left: 0;
    font-size: 1.1em;
    top: 0;
}

.main-service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0F2854;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 24px;
    margin-top: auto;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 1px 4px 0 rgba(15,40,84,0.08);
    width: 100%;
    gap: 8px;
}

.main-service-btn i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.main-service-btn:hover {
    background: #1a3a7c;
    color: #fff;
}

/* EVENTS & EXHIBITIONS SECTION */
.events-exhibitions-section {
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    padding: 100px 0;
    position: relative;
}

.events-exhibitions-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.events-exhibitions-title {
    font-size: clamp(1.3rem, 1.25rem + 1.5vw, 2.5rem);
    font-weight: 700;
    color: #14396a;
    letter-spacing: clamp(1px, 0.5px + 0.5vw, 4px);
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
}

.events-exhibitions-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #14396a, #067b9e);
}

.events-exhibitions-subtitle {
    font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.1rem);
    font-weight: 300;
    color: #999;
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom:70px;
}

.featured-event-banner {
    margin-bottom: 40px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(20, 57, 106, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-event-banner:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(20, 57, 106, 0.18);
}

.featured-event-image {
    position: relative;
    width: 100%;
    height: clamp(320px, 35vw, 450px);
    overflow: hidden;
}

.featured-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-event-banner:hover .featured-event-image img {
    transform: scale(1.08);
}

.featured-event-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 57, 106, 0.88) 0%, rgba(58, 104, 184, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.featured-event-content {
    text-align: center;
    max-width: 800px;
}

.event-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.featured-event-title {
    font-size: clamp(1.5rem, 1.3rem + 1.5vw, 2.8rem);
    font-weight: 400;
    color: #ffffff;
    letter-spacing: clamp(0.3px, 0.2px + 0.2vw, 1px);
    margin-bottom: 25px;
    line-height: 1.3;
}

.featured-event-desc {
    font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.15rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    letter-spacing: 0.5px;
    margin-bottom: 35px;
}

.featured-event-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 30px;
    color: #14396a;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.featured-event-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.featured-event-btn:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateX(5px);
}

.featured-event-btn:hover i {
    transform: translateX(5px);
}

.events-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.event-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(20, 57, 106, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.event-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(20, 57, 106, 0.12);
}

.event-card-image {
    position: relative;
    width: 100%;
    height: clamp(200px, 25vw, 280px);
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-card-image img {
    transform: scale(1.1);
}

.event-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 57, 106, 0.7) 0%, rgba(58, 104, 184, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.event-card:hover .event-card-overlay {
    opacity: 1;
}

.event-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transform: scale(0.8);
    transition: transform 0.4s ease 0.1s;
}

.event-card:hover .event-icon {
    transform: scale(1);
}

.event-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.event-card-content {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-card-title {
    font-size: clamp(1.1rem, 1rem + 0.6vw, 1.5rem);
    font-weight: 400;
    color: #14396a;
    letter-spacing: 0.5px;
    line-height: 1.4;
    margin: 0;
}

.event-card-desc {
    font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
    font-weight: 300;
    color: #666;
    line-height: 1.7;
    letter-spacing: 0.3px;
    margin: 0;
    flex: 1;
}

.event-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3A68B8;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 10px;
}

.event-card-link i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.event-card-link:hover {
    color: #2E5499;
    gap: 12px;
}

.event-card-link:hover i {
    transform: translateX(4px);
}

/* WHY CHOOSE US */
.why-choose-floating-korean {
    position: relative;
    padding: 100px 0; /* Extra space for the background to show */
    /* Replace 'your-image-path.jpg' with the actual image link or file name */
    background-image: 
                      url('images/why-choose1.jpeg ');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Optional: creates a parallax scrolling effect */
    color: #ffffff;
}

.why-choose-floating-korean::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(58, 104, 184, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.why-choose-floating-korean::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 123, 158, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.why-choose-floating-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.why-choose-floating-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    margin-bottom: 3rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* The stylish accent line below the title */
.why-choose-floating-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #004a99; /* Your brand blue */
    margin: 15px auto 0;
    border-radius: 2px;
}

.why-choose-floating-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 50px;
}

.floating-card-korean {
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 30px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.floating-card-korean::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(58, 104, 184, 0.1), rgba(6, 123, 158, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.floating-card-korean:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.floating-card-korean:hover::before {
    opacity: 1;
}

.floating-card-korean:nth-child(1) {
    background: linear-gradient(135deg, rgba(218, 230, 248, 0.6), rgba(255, 255, 255, 0.8));
}

.floating-card-korean:nth-child(2) {
    background: linear-gradient(135deg, rgba(230, 248, 240, 0.6), rgba(255, 255, 255, 0.8));
}

.floating-card-korean:nth-child(3) {
    background: linear-gradient(135deg, rgba(248, 235, 230, 0.6), rgba(255, 255, 255, 0.8));
}

.floating-card-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(58, 104, 184, 0.1), rgba(6, 123, 158, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.5s ease;
    position: relative;
    box-shadow: 0 8px 24px rgba(20, 57, 106, 0.08);
}

.floating-card-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: linear-gradient(135deg, #3A68B8, #067b9e);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.floating-card-icon i {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #14396a, #067b9e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.5s ease;
}

.floating-card-korean:hover .floating-card-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 32px rgba(20, 57, 106, 0.15);
}

.floating-card-korean:hover .floating-card-icon::after {
    opacity: 0.1;
}

.floating-card-heading {
    font-size: clamp(1.1rem, 1rem + 0.6vw, 1.5rem);
    font-weight: 400;
    color: #14396a;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.floating-card-text {
    font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
    font-weight: 300;
    color: #666;
    line-height: 1.8;
    letter-spacing: 0.3px;
}


/* PROJECTS & PORTFOLIO SECTION */
.projects-portfolio-preview {
    position: relative;
    padding: 100px 0;
    /* REPLACE 'your-image-path.jpg' with your actual image URL */
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), 
                      url('images/services.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* This creates a parallax scrolling effect */
    overflow: hidden;
}

.projects-portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.projects-portfolio-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #13345f;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.projects-portfolio-subtitle {
    font-size: 1.1rem;
    color:#13345f;
    margin-bottom: 60px;
}

/* THE GRID */
.projects-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* INDIVIDUAL ITEMS */
.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

/* OVERLAY ON HOVER */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 40, 84, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: left;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-category {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.portfolio-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.portfolio-link {
    color: #3a68b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* VIEW ALL BUTTON */
.projects-view-all-wrapper {
    margin-top: 40px;
}

.projects-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 36px;
    background: #ffffff;
    color: #0F2854;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.projects-view-all-btn:hover {
    background: #3a68b8;
    color: #ffffff;
    transform: scale(1.05);
}
/* NEWS & UPDATES SECTION */
.news-updates-section {
    width: 100%;
    background: linear-gradient(135deg, #faf9f8 0%, #f5f3f0 100%);
    padding: 100px 0;
    position: relative;
}

.news-updates-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.news-updates-title {
    font-size: clamp(1.5rem, 1.25rem + 1.5vw, 2.5rem);
    font-weight: 300;
    color: #14396a;
    letter-spacing: clamp(1px, 0.5px + 0.5vw, 4px);
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
}

.news-updates-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #14396a, #067b9e);
}

.news-updates-subtitle {
    font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.1rem);
    font-weight: 300;
    color: #999;
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 70px;
}

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.news-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(20, 57, 106, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(20, 57, 106, 0.12);
}

.news-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.08);
}

.news-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #14396a;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-card-content {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-card-title {
    font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
    font-weight: 400;
    color: #14396a;
    line-height: 1.5;
    letter-spacing: 0.3px;
    margin: 0;
    min-height: 60px;
}

.news-card-desc {
    font-size: clamp(0.875rem, 0.85rem + 0.25vw, 0.95rem);
    font-weight: 300;
    color: #666;
    line-height: 1.7;
    letter-spacing: 0.3px;
    margin: 0;
    flex: 1;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3A68B8;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 10px;
}

.news-card-link i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.news-card-link:hover {
    color: #2E5499;
    gap: 12px;
}

.news-card-link:hover i {
    transform: translateX(4px);
}

.news-view-all-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.news-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: transparent;
    border: 2px solid #14396a;
    border-radius: 30px;
    color: #14396a;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.news-view-all-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.news-view-all-btn:hover {
    background: #14396a;
    color: #ffffff;
    border-color: #14396a;
    transform: translateX(5px);
}

.news-view-all-btn:hover i {
    transform: translateX(5px);
}

/* PARTNERS & CLIENTS LOGO WALL */
/* PARTNERS & CLIENTS SECTION */
.partners-clients-section {
    position: relative;
    padding: 80px 0;
    /* Replace with your image path */
    background: linear-gradient(rgba(15, 40, 84, 0.9), rgba(15, 40, 84, 0.9)), 
                url('images/services.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    overflow: hidden;
}

.partners-clients-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.partners-clients-title {
    font-size: 2rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.partners-clients-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 50px;
}

/* LOGO SCROLLING TRACK */
.partners-logos-wrapper {
    overflow: hidden;
    padding: 40px 0;
    /* The Mirror Effect for the logo bar */
    background: rgb(255, 255, 255);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.partners-logos-track {
    display: flex;
    width: calc(250px * 16); /* Adjust based on number of logos */
    animation: scroll 30s linear infinite;
}

.partner-logo-item {
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
}

.partner-logo-item img {
    max-width: 150px;
    height: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo-item img:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: none; /* Shows original colors on hover */
}

/* LOGO ANIMATION */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 8)); } /* Scroll half the track width */
}

/* Responsive fix */
@media (max-width: 768px) {
    .partners-clients-title { font-size: 1.8rem; }
    .partners-logos-wrapper { border-radius: 0; }
}
/* CONTACT BANNER (Call to Action) */
/* 1. The Dark Blue Section */
.contact-banner-section {
    padding: 100px 20px;
   
    display: flex;
    justify-content: center;
}

/* 2. The Mirror Container */
.contact-banner-container {
    max-width: 700px;
    width: 100%;
    padding: 60px;
    text-align: center;
    border-radius: 24px;
    position: relative;
    overflow: hidden;

    /* Glassmorphism / Mirror Core */
    background: rgba(9, 37, 97, 0.664); /* Very faint white tint */
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);

    /* High-End Mirror Borders */
    border: 1px solid rgba(255, 255, 255, 0.15); /* The 'edge' of the glass */
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5), /* Deep outer shadow */
        inset 0 1px 1px rgba(255, 255, 255, 0.2); /* Inner top highlight */
}

/* 3. Text and Content Styling */
.contact-banner-title {
    font-size: 2.8rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); /* Makes text pop off the glass */
}

.contact-banner-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.contact-banner-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: #ffffff;
    color: #001a33; /* Matches dark blue background */
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-banner-btn:hover {
    background: #e6e6e6;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
/* FOOTER */
.site-footer {
    background: linear-gradient(135deg, #0b1d35 0%, #14396a 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.site-footer::before,
.site-footer::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(0);
}

.site-footer::before {
    top: -40%;
    left: -20%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.site-footer::after {
    bottom: -45%;
    right: -15%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
}

.site-footer .footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 260px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    color: #ffffff;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-company-main {
    font-size: clamp(0.875rem, 0.85rem + 0.25vw, 0.95rem);
    font-weight: 600;
    letter-spacing: clamp(0.8px, 0.5px + 0.2vw, 1px);
}

.footer-company-sub {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-description {
    font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.9rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.footer-column h4 {
    font-size: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
    font-weight: 500;
    letter-spacing: clamp(0.8px, 0.5px + 0.2vw, 1.2px);
    text-transform: uppercase;
    margin-bottom: 18px;
    color: #ffffff;
}

.footer-column a {
    display: block;
    font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.9rem);
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
    letter-spacing: 0.6px;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.9rem);
    letter-spacing: 0.5px;
}

.footer-meta span::before {
    content: '•';
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-meta span:first-child::before {
    content: none;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: #14396a;
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
}

.footer-note {
    margin-top: 40px;
    font-size: 0.85rem;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* Hero Slider */
.hero.hero-slider {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: white;
    text-align: center;
    min-height: 520px;
    padding: 0;
    overflow: hidden;
}

/* Individual Hero Slide */


.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Hero Video Background */
.hero-slide .hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}



/* Hero Slider Controls */
.hero-slider-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255,  255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.hero-dot.active {
    background: #ffffff;
    border-color: #ffffff;
    width: 40px;
    border-radius: 6px;
}

/* Hero Container & Content */
.hero-slide .hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.hero-slide .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 60px 0;
    background: transparent;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.hero-slide .hero-animated-text {
    position: relative;
    width: 100%;
}

.hero-slide .hero-animated-text h1 {
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    color: #FFFFFF;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    animation: none;
    text-align: center;
}

.hero-slide.active .hero-animated-text h1 {
    animation: fadeInRise 0.5s ease-out 0.1s forwards;
}

/* Accent Line - Center aligned */
.hero-slide .hero-animated-text h1::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #3A68B8, #5A88D8);
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(58, 104, 184, 0.4);
}

.hero-slide.active .hero-animated-text h1::after {
    animation: lineExpandCenter 0.4s ease-out 0.4s forwards;
}

@keyframes lineExpandCenter {
    from {
        transform: translateX(-50%) scaleX(0);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) scaleX(1);
        opacity: 1;
    }
}

.hero-slide .hero-animated-text p {
    font-size: 0.8rem;
    color: #FFFFFF;
    line-height: 1.5;
    max-width: 750px;
    margin: 0 auto;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.4);
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    animation: none;
    text-align: center;
    margin-top: 1.5rem;
}

.hero-slide.active .hero-animated-text p {
    animation: fadeInRise 0.5s ease-out 0.25s forwards;
}

.hero-slide .hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
    opacity: 0;
    transform: scale(0.95);
    animation: none;
}
.hero-slide.active .hero-buttons {
    animation: fadeInScale 0.5s ease-out 0.4s forwards;
}

.hero-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    z-index: 10;
    width: 90%;
    max-width: 1400px;
}

.hero-content {
    flex: 1;
    text-align: left;
    max-width: 550px;
}

#hero-title {
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 10px !important;
    display: block !important;
    text-transform: uppercase;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
    visibility: visible !important; 
    opacity: 1 !important;
    line-height: 1.1 !important;
    letter-spacing: -1px !important;
}
#hero-desc {
    font-size: 1rem !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    line-height: 2 !important;
    margin-top: 45px !important;
}
.hero-cards-container {
    display: flex;
    justify-content: center; 
    align-items: flex-end;  
    gap: 20px;
    width: 100%;
    margin-top: auto;      
}
.service-mini-card {
    position: relative;
    width: 220px;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px) !important;        
    -webkit-backdrop-filter: blur(15px);            
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}


.service-mini-card.active {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-10px);         
}

.service-mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;      
    opacity: 0.4;     
    transition: 0.5s;
}

.service-mini-card.active img {
    opacity: 0.7;     
}
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 1;
}

.card-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    z-index: 2;
    white-space: nowrap;
}

.card-text span {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #006eff;
    margin-bottom: 5px;
}

.card-text h4 {
    font-size: 0.9rem;
    margin: 0;
    font-weight: 700;

}
.hero-image-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.6s ease-in-out, opacity 0.6s ease;
    opacity: 1;
}

/* മൊബൈൽ സ്ക്രീൻ ക്രമീകരണങ്ങൾ - Max-width: 768px */
@media screen and (max-width: 768px) {
    
    /* ഹീറോ കണ്ടെയ്നർ അലൈൻമെന്റ് */
    .hero-container {
        padding: 80px 15px 20px 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* ടൈറ്റിൽ ചെറുതാക്കാൻ (Small Title) */
    .hero-animated-text h1, 
    #hero-title {
        font-size: 1.4rem !important; /* വളരെ ചെറിയ ടൈറ്റിൽ */
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
        font-weight: 600 !important;
    }

    /* വിവരണം ചെറുതാക്കാൻ (Small Description) */
    #hero-desc {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 15px !important;
        padding: 0 10px !important;
    }

    /* ബട്ടണുകൾ ചെറുതാക്കാൻ (Small Buttons) */
    .hero-buttons {
        display: flex !important;
        flex-direction: row !important; /* ബട്ടണുകൾ വശങ്ങളിലായി നിൽക്കാൻ */
        justify-content: center !important;
        gap: 10px !important;
        margin-top: 10px !important;
        width: 100% !important;
    }

    .Explore-Services, 
    .Contact-Us, 
    .hero-buttons button {
        padding: 8px 16px !important; 
        font-size: 0.75rem !important; 
        min-width: 130px !important; 
        height: auto !important;
        border-radius: 4px !important;
    }
    .hero-cards-container {
        gap: 5px !important;
        margin-top: 20px !important;
        transform: scale(0.9); 
    }
}
@media screen and (max-width: 768px) {
    .hero-cards-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: flex-end !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 0 10px !important;
        height: 160px !important; 
    }
    .service-mini-card {
        width: 60px !important; 
        height: 120px !important;
        border-radius: 10px !important;
    }
    .service-mini-card.active {
        width: 100px !important; 
        height: 140px !important;
    }
    .card-text h4 {
        font-size: 0.6rem !important; 
        bottom: 10px !important;
    }
    .card-text span {
        font-size: 0.5rem !important;
    }
}
@media (max-width: 1024px) {
        .about-company-container {
            flex-direction: column !important;
            text-align: center !important;
            padding: 40px 20px !important;
            gap: 40px !important;
        }
        .about-company-content {
            max-width: 100% !important;
        }
    }

    @keyframes fadeInRight {
        from { opacity: 0; transform: translateX(20px); }
        to { opacity: 1; transform: translateX(0); }
    }
.navbar {
    position: absolute !important; 
    top: 0;
    left: 0;
    width: 100%;
     background: #3f586a !important;
    z-index: 1000;
    border: none !important;
    transition: background 0.3s ease;
}
.navbar .nav-link, 
.navbar .brand-name, 
.navbar .brand-sub, 
.navbar .nav-dropdown-toggle,
.navbar .logo-link {
    color: #ffffff !important;
}
.navbar .dropdown-icon {
    stroke: #ffffff !important;
}
.brand-badge {
    color: #0F2854 !important; 
    background: #ffffff !important; 
}
.contact-btn {
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
    background: transparent !important;
}
.contact-btn:hover {
    background: #ffffff !important;
    color: #0F2854 !important;
}
.menu-toggle span {
    background-color: #ffffff !important;
}
/* --- RESPONSIVE ADJUSTMENTS FOR SERVICES SECTION --- */

/* For Tablets and Medium Screens (e.g., iPads) */
@media screen and (max-width: 1024px) {
    .our-main-services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns instead of 4 */
        gap: 24px;
        padding: 0 20px;
    }
    
    .main-service-card {
        min-height: 400px; /* Adjusting height for smaller space */
        padding: 30px 20px;
    }
}

/* For Mobile Phones (Portrait) */
@media screen and (max-width: 767px) {
    .our-main-services-section {
        padding: 50px 0;
        background-attachment: scroll; /* Fixed backgrounds can be glitchy on mobile browsers */
    }

    .our-main-services-grid {
        grid-template-columns: 1fr; /* 1 Full-width column */
        gap: 20px;
    }

    .our-main-services-title {
        font-size: 1.8rem; /* Smaller title for mobile */
        margin-bottom: 15px;
    }

    .our-main-services-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .main-service-card {
        min-height: auto; /* Let content define height on mobile */
        padding: 25px 20px;
    }

    .main-service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}

/* Special fix for very small devices (under 360px) */
@media screen and (max-width: 360px) {
    .our-main-services-title {
        font-size: 1.5rem;
    }
    
    .main-service-title {
        font-size: 1.1rem;
    }
}
@media screen and (max-width: 768px) {
    /* Main Services Section */
    .our-main-services-grid {
        grid-template-columns: 1fr; /* 1 column stack */
    }

    .our-main-services-section {
        background-attachment: scroll; /* Fixed backgrounds can be laggy on mobile */
        padding: 60px 0;
    }

    /* CEO Section Mobile Layout */
    .ceo-section {
        padding: 60px 0;
    }

    .ceo-container {
        flex-direction: column; /* Stack CEO image and text */
        text-align: center;
    }

    .ceo-content {
        min-width: 100%;
        align-items: center;
    }

    .ceo-heading {
        font-size: 1.8rem;
    }

    .ceo-label {
        margin: 0 auto 15px auto;
    }

    .ceo-figure {
        order: -1; /* Puts the CEO photo above the text on mobile */
        margin-bottom: 20px;
    }

    .ceo-figure img {
        width: 160px;
        height: 200px;
    }

    /* Header/Navbar Mobile Adjustments */
    .header-container {
        padding: 0 20px;
        height: 70px;
    }

    .header-menu {
        display: flex; /* Shows hamburger menu */
    }

    .header-nav-left, .header-nav-right {
        display: none; /* Hide desktop nav; you'll need a mobile JS toggle */
    }
}

/* Small Mobile Devices (480px and below) */
@media screen and (max-width: 480px) {
    .our-main-services-title {
        font-size: 1.6rem;
    }
    
    .main-service-card {
        padding: 24px 20px;
        min-height: auto;
    }
}
/* ==========================================
   MOBILE LAYOUT: EVENTS & EXHIBITIONS
   ========================================== */

/* Tablet & Smaller Laptops (1024px and below) */
@media screen and (max-width: 1024px) {
    .events-cards-grid {
        gap: 25px; /* Slightly tighter gap for tablets */
    }
    
    .featured-event-overlay {
        padding: 40px; /* Reduced padding from 60px */
    }
}

/* Mobile Phones (768px and below) */
@media screen and (max-width: 768px) {
    .events-exhibitions-section {
        padding: 60px 0; /* Consistent padding with other sections */
    }

    .events-exhibitions-subtitle {
        margin-bottom: 40px; /* Bring content closer for mobile flow */
    }

    /* Stack the side-by-side cards into a single column */
    .events-cards-grid {
        grid-template-columns: 1fr; 
        gap: 30px;
    }

    /* Adjust the Featured Banner */
    .featured-event-image {
        height: auto;
        min-height: 400px; /* Ensure enough height for text overlay */
    }

    .featured-event-overlay {
        padding: 30px 20px;
        position: relative; /* Removes absolute positioning if text is too long */
        background: linear-gradient(135deg, #14396a 0%, #3a68b8 100%);
    }

    .featured-event-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .featured-event-desc {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    /* Small Event Cards Adjustments */
    .event-card-image {
        height: 220px; /* Fixed height for consistency */
    }

    .event-card-content {
        padding: 25px 20px;
    }

    .event-card-title {
        font-size: 1.2rem;
    }
}

/* Very Small Devices (480px and below) */
@media screen and (max-width: 480px) {
    .featured-event-btn {
        width: 100%;
        padding: 14px 20px;
        justify-content: center;
    }

    .event-badge {
        font-size: 0.75rem;
        padding: 6px 15px;
    }
}
@media screen and (max-width: 768px) {
    .why-choose-floating-korean {
        padding: 60px 0; /* Match standard mobile section padding */
    }

    .why-choose-floating-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    /* Stack cards in a single column */
    .why-choose-floating-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .floating-card-korean, 
    .floating-card-korean:last-child {
        grid-column: auto; /* Reset tablet span */
        padding: 30px 20px;
        max-width: 100%;
    }

    .floating-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .floating-card-heading {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .floating-card-text {
        font-size: 0.95rem;
    }
}

/* Landscape Phones or small adjustments */
@media screen and (max-width: 480px) {
    .why-choose-floating-title {
        font-size: 1.6rem;
    }
}
/* ==========================================
   MOBILE HORIZONTAL SCROLL STYLE
   ========================================== */

@media screen and (max-width: 768px) {
    /* 1. Turn the grid into a flexbox row */
    .projects-portfolio-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory; /* Makes cards "snap" into place */
        gap: 15px;
        padding: 0 20px 20px 20px; /* Padding for the scroll area */
        margin-left: -20px; /* Pulls container to screen edges */
        margin-right: -20px;
        scrollbar-width: none; /* Hides scrollbar on Firefox */
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    .projects-portfolio-grid::-webkit-scrollbar {
        display: none;
    }

    /* 2. Adjust Card Width for Horizontal View */
    .portfolio-item {
        flex: 0 0 85%; /* Shows 85% of one card + a peek of the next */
        scroll-snap-align: center; /* Snaps the card to the middle of the screen */
        aspect-ratio: 1 / 1; /* Square cards look best for horizontal scroll */
        border-radius: 15px;
    }

    /* 3. Ensure Overlay is always visible on Mobile */
    .portfolio-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(15, 40, 84, 0.9) 0%, transparent 70%);
    }
}
/* ==========================================
   MOBILE HORIZONTAL SCROLL: NEWS & UPDATES
   ========================================== */

@media screen and (max-width: 768px) {
    /* 1. Transform Grid into Scrollable Row */
    .news-cards-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory; /* Snaps cards to center */
        gap: 16px;
        padding: 0 20px 20px 20px; /* Padding for the swipe area */
        margin-left: -20px; /* Stretch container to screen edges */
        margin-right: -20px;
        scrollbar-width: none; /* Hide scrollbar for Firefox */
    }

    /* Hide scrollbar for Chrome/Safari */
    .news-cards-grid::-webkit-scrollbar {
        display: none;
    }

    /* 2. Card Sizing for Horizontal Swipe */
    .news-card {
        flex: 0 0 85%; /* Shows 85% of card + peek of next card */
        scroll-snap-align: center;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
        height: auto;
    }

    /* 3. Image & Badge Adjustments */
    .news-card-image {
        height: 180px; /* Fixed height for consistency while swiping */
    }

    .news-date-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
        top: 10px;
        right: 10px;
    }

    .news-card-content {
        padding: 20px;
        flex-grow: 1;
    }

    .news-card-title {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    /* 4. Center the "View All" button on mobile */
    .news-view-all-wrapper {
        margin-top: 10px;
        padding: 0 20px;
    }

    .news-view-all-btn {
        width: 100%; /* Full width button for easier tapping on mobile */
        justify-content: center;
    }
}
/* ==========================================
   MOBILE HORIZONTAL SCROLL: PARTNERS
   ========================================== */

@media screen and (max-width: 768px) {
    .partners-clients-section {
        padding: 40px 0;
    }

    /* 1. Reset the Track for Manual Swiping */
    .partners-logos-wrapper {
        padding: 10px 0;
    }

    .partners-logos-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory; /* Snaps logos to center */
        gap: 20px;
        padding: 0 20px 20px 20px;
        width: auto; /* Overrides the fixed desktop width */
        animation: none; /* Disables auto-scroll for better mobile control */
        scrollbar-width: none; /* Hides scrollbar on Firefox */
    }

    .partners-logos-track::-webkit-scrollbar {
        display: none; /* Hides scrollbar on Chrome/Safari */
    }

    /* 2. Logo Item Sizing */
    .partner-logo-item {
        flex: 0 0 140px; /* Consistent width for each logo in the track */
        height: 80px;
        scroll-snap-align: center;
        padding: 0 10px;
    }

    .partner-logo-item img {
        filter: grayscale(0%); /* Full color on mobile for better visibility */
        opacity: 1;
        max-height: 50px;
    }
}
/* ==========================================
   MOBILE LAYOUT: PROJECTS, CTA & FOOTER
   ========================================== */

@media screen and (max-width: 768px) {
    /* 1. LATEST PROJECTS - Horizontal Scroll Style */
    .latest-projects-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 0 20px 20px 20px;
        margin-left: -20px;
        margin-right: -20px;
        scrollbar-width: none;
    }

    .latest-projects-grid::-webkit-scrollbar {
        display: none;
    }

    .project-card {
        flex: 0 0 85%; /* Shows a peek of the next project */
        scroll-snap-align: center;
        padding: 30px 20px;
        text-align: center;
    }

    /* 2. CONTACT CTA BANNER */
    .contact-banner-section {
        padding: 60px 20px;
    }

    .contact-banner-title {
        font-size: 1.8rem;
    }

    .contact-banner-btn {
        width: 100%;
        justify-content: center;
        padding: 16px;
    }

    /* 3. SITE FOOTER */
    .footer-columns {
        grid-template-columns: 1fr; /* Stack all columns vertically */
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: 20px;
    }

    .footer-column h4 {
        margin-bottom: 15px;
        font-size: 1.2rem;
        position: relative;
        display: inline-block;
    }

    /* Add a small underline to footer headers on mobile */
    .footer-column h4::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 25%;
        width: 50%;
        height: 2px;
        background: #3a68b8;
    }

    .footer-column a {
        padding: 8px 0;
        display: block;
    }

    /* 4. FOOTER BOTTOM (Meta & Socials) */
    .footer-bottom {
        flex-direction: column-reverse; /* Put socials above info */
        gap: 30px;
        padding-top: 40px;
    }

    .footer-meta {
        flex-direction: column;
        gap: 12px;
        font-size: 0.85rem;
    }

    .footer-socials {
        justify-content: center;
        gap: 20px;
    }

    .footer-socials a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* Extra small adjustments for small phones */
@media screen and (max-width: 480px) {
    .footer-company-main {
        font-size: 1.2rem;
    }
    .footer-company-sub {
        font-size: 0.7rem;
    }
}