/* Base Styles */
:root {
    --primary-color: #ff0000;
    --secondary-color: #cc0000;
    --background-light: #ffffff;
    --surface-light: #f5f5f5;
    --text-primary: #111111;
    --text-secondary: #666666;
    --border-color: #dddddd;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --spacing-section: 6rem;
    --border-radius: 15px;
    --accent-gray: #eeeeee;
    --hover-red: #cc0000;
    --dark-bg: #1a1a1a;
    --light-text: #ffffff;
    --accent-color: #ff0000;
    --text-dark: #333333;
    --container-max-width: 1200px;
    --container-padding: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background-light);
    cursor: default;
    padding-top: 0;
    /* Remove padding-top to accommodate transparent header */
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.header {
    position: fixed;
    top: 38px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(49, 49, 49, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    padding: 10px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 5px 0;
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 2rem;
}

.nav-right {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

/* Fix the search form */
.search-form {
    display: flex;
    justify-content: flex-end;
    padding-left: 0;
}

.search-wrapper {
    position: relative;
    width: 220px;
}

.search-wrapper input[type="search"] {
    width: 100%;
    padding: 8px 35px 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    background: transparent;
    color: #ffffff;
}

.header.scrolled .search-wrapper input[type="search"] {
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}

.header.scrolled .search-wrapper button svg {
    stroke: var(--text-primary);
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: white;
    /* Example color */
    transition: color 0.3s ease;
    flex-shrink: 0;
    /* Prevent logo itself from shrinking */
}

.header.scrolled .logo {
    color: var(--text-primary);
}

.logo-img {
    height: 45px;
    /* Adjust as needed */
    width: auto;
    transition: height 0.3s ease;
}

.header.scrolled .logo-img {
    height: 40px;
    /* Adjust scrolled height */
}

/* Logo Text (if applicable) */
.logo-text-container {
    display: flex;
    flex-direction: column;
    /* Add other styles */
}

.logo-line {
    /* Add styles */
    color: white;
    transition: color 0.3s ease;
}

.header.scrolled .logo-line {
    color: var(--text-primary);
}

/* Navigation Links Styles */
.nav-links {
    display: flex;
    /* Use flex for links */
    align-items: center;
    /* Vertically center links */
    list-style: none;
    /* Remove default list styling */
    padding: 0;
    margin: 0;
    gap: 1.5rem;
    /* Adjust spacing between links */
}

.nav-links a {
    text-decoration: none;
    color: white;
    /* Example color */
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    padding: 0.5rem 0;
    /* Vertical padding for click area */
    transition: color 0.3s ease;
    /* Add hover/active styles */
}

.header.scrolled .nav-links a {
    color: var(--text-primary);
}

/* Search Styles */
.search-form {
    /* Use your actual form/wrapper class e.g., .search-wrapper */
    display: flex;
    align-items: center;
}

/* Add styles for your .search-input and .search-button */
.search-wrapper input[type="search"] {
    /* Example */
    width: 220px;
    padding: 8px 35px 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Example border */
    border-radius: 20px;
    /* Example */
    font-size: 14px;
    background: transparent;
    color: white;
    /* Example */
    /* Add transitions, focus styles */
}

.search-wrapper button {
    /* Example */
    /* Style the button, position absolute if needed inside wrapper */
    background: none;
    border: none;
    color: white;
    /* Example */
    cursor: pointer;
    /* Add positioning styles */
}


/* Mobile Menu Button (Hidden on Desktop) */
.mobile-menu-btn {
    display: none;
    /* Hide by default */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    /* Add icon styles (hamburger) */
    color: white;
    /* Example */
    font-size: 1.5rem;
    /* Example */
}

.header.scrolled .mobile-menu-btn {
    color: var(--text-primary);
}

/* Responsive Styles */
@media (max-width: 991px) {

    /* Adjust breakpoint as needed */
    .nav-links {
        display: none;
        /* Hide nav links */
    }

    .nav-right {
        /* Optionally hide search on mobile, or adjust */
        display: none;
        /* Or keep it and adjust width/style: */
        /* margin-left: 0; */
    }

    .nav-left {
        gap: 1rem;
        /* Reduce gap if only logo is visible */
    }

    .mobile-menu-btn {
        display: flex;
        /* Show hamburger button */
        align-items: center;
        margin-left: auto;
        /* Push hamburger to the right */
    }

    /* Styles for the opened mobile menu container */
    /* Example: .mobile-nav { position: fixed; top: 0; right: -100%; ... } */
    /* Example: .mobile-nav.active { right: 0; } */

}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        /* Adjust padding for smaller screens */
    }

    .logo-img {
        height: 40px;
        /* Potentially smaller logo */
    }

    /* Further adjustments if needed */
}

/* Remove scrolled specific height changes for navbar */
/* .header.scrolled .navbar { ... } */

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    /* Pushes left and right apart */
    align-items: flex-start;
    /* Align top of logo and search */
    gap: 1rem;
}

.nav-left {
    display: flex;
    flex-direction: column;
    /* Stack logo/name and nav links */
    align-items: flex-start;
    /* Align items to the left */
    flex: 1;
    /* Allow left side to take available space */
}

.nav-right {
    display: flex;
    align-items: center;
    /* Vertically center search bar */
    /* Remove gap, handled by search form margin */
    /* Remove flex: 1, let it size based on content */
    height: 45px;
    /* Match logo height for alignment */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
    margin-bottom: 0.5rem;
    /* Space between logo/name and nav links */
}

.header.scrolled .logo {
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    /* Adjust space when scrolled */
}

.logo-img {
    height: 45px;
    width: auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: height 0.3s ease, transform 0.3s ease;
    /* Add height transition */
}

.header.scrolled .logo-img {
    height: 40px;
}

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

.logo-text-container {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo-line {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    line-height: 1.2;
    white-space: nowrap;
    color: white;
    transition: color 0.3s ease;
}

.header.scrolled .logo-line {
    color: var(--text-primary);
}

.first-letter {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    /* Adjust spacing between links */
    margin-left: 100px;
    /* Remove auto margin */
    padding: 0;
    /* Reset padding */
    justify-content: flex-start;
    /* Align links to the start */
    flex-wrap: nowrap;
    width: 100%;
    /* Ensure it takes available width */
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.90rem;
    /* Slightly smaller */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.2rem 0;
    /* Adjust padding */
    transition: color 0.3s ease;
}

.header.scrolled .nav-links a {
    color: var(--text-primary);
    /* Dark text when background is white */
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

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

.nav-contact {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
}

.contact-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.2);
}

.contact-btn i {
    font-size: 0.9rem;
    padding: 0.4rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.header.scrolled .mobile-menu-btn span {
    background-color: var(--text-primary);
}

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-right {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s ease;
        z-index: 999;
    }

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

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        padding: 15px;
        width: 100%;
        color: var(--text-primary);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }


    /* Hamburger Menu Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Menu overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Section Styles */
section {
    padding: var(--spacing-section) 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title .highlight {
    color: var(--primary-color);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.clients-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.clients-section .section-title .highlight {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-background .video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-background .video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-background .fallback-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease, transform 6s ease;
    transform: scale(1.1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.main-title {
    margin-bottom: 2rem;
}

.title-line {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.5rem;
    opacity: 0.9;
    margin: 1rem 0 2rem;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Quick Links Section */
.quick-links {
    padding: 4rem 2rem;
    background: var(--background-light);
    position: relative;
    z-index: 5;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.link-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: white;
    border-color: var(--primary-color);
}

.link-image {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface-light);
    border: 1px solid var(--border-color);
}

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

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

.link-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.link-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.link-card:hover h3::after {
    width: 60px;
}

.link-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.link-card .btn {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.link-card .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

@media (max-width: 1024px) {
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .link-image {
        height: 130px;
    }

}

/* About Section */
.about-section {
    padding: 4rem 2rem;
    background: var(--surface-light);
    position: relative;
    margin-top: -2rem;
    z-index: 1;
}

.about-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
    color: var(--text-primary);
}

.about-section .section-title .highlight {
    color: var(--primary-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    opacity: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    opacity: 1;
    position: relative;
    z-index: 2;
}

.about-image {
    position: relative;
    z-index: 2;
}

.image-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .about-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 3rem 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Clients Section */
.clients-section {
    padding: 4rem 0;
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.clients-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.clients-grid {
    display: flex;
    animation: slideLogos 40s linear infinite;
    width: fit-content;
    gap: 0;
}

.clients-grid:hover {
    animation-play-state: paused;
}

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

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

.client-card {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    padding: 10px;
    transition: transform 0.3s ease;
}

.client-card:hover {
    transform: scale(1.1);
}

.client-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo img:hover {
    filter: grayscale(0%);
}

/* Gradient edges for smooth transition */
.clients-container::before,
.clients-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.clients-container::before {
    left: 0;
    background: linear-gradient(to right, var(--light-bg) 0%, transparent 100%);
}

.clients-container::after {
    right: 0;
    background: linear-gradient(to left, var(--light-bg) 0%, transparent 100%);
}

@media (max-width: 768px) {
    .client-card {
        width: 150px;
        height: 150px;
    }

    .clients-container::before,
    .clients-container::after {
        width: 50px;
    }
}

/* Hide other content */
.client-content {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fill, 150px);
    }

    .client-card {
        width: 150px;
        height: 150px;
        padding: 15px;
    }

    .client-logo img {
        max-width: 120px;
        max-height: 120px;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fill, 120px);
    }

    .client-card {
        width: 120px;
        height: 120px;
        padding: 10px;
    }

    .client-logo img {
        max-width: 100px;
        max-height: 100px;
    }
}

/* Contact Section */
.section-light {
    background: white;
}

.contact-section {
    padding: 5rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
    outline: none;
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--text-dark);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface-light);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    text-decoration: none;
}

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

    .contact-form,
    .contact-info {
        padding: 2rem;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--dark-bg);
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/header-background.jpg') center center no-repeat;
    background-size: cover;
    color: var(--light-text);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}


.footer-brand .logo-text-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand .logo-line {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--light-text);
}

.footer-brand .first-letter {
    color: var(--accent-color);
    font-weight: 700;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-column p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--light-text);
    opacity: 0.9;
}

.footer-column p i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.footer-link {
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-link:hover {
    color: var(--accent-color);
    opacity: 1;
    transform: translateX(5px);
}

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

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-column ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--accent-color);
}

.footer-column ul li a:hover::before {
    opacity: 1;
    left: -15px;
}

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

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--light-text);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.copyright {
    color: var(--light-text);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Styles for Header and Footer */
@media (max-width: 1024px) {
    .nav-links {
        gap: 2rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .footer-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: auto;
        padding: 1rem 0;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-right {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--background-light);
        padding: 1rem;
        box-shadow: var(--shadow-sm);
        flex-direction: column;
        gap: 1rem;
    }

    .nav-right.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-contact {
        width: 100%;
    }

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

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

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .logo-img {
        height: 40px;
    }

    .logo-line {
        justify-content: center;
        /* font-size: 1rem; */
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: red;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.header.scrolled .mobile-menu-btn span {
    background-color: var(--text-primary);
}

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-right {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s ease;
        z-index: 999;
    }

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

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        padding: 15px;
        width: 100%;
        color: var(--text-primary);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }


    /* Hamburger Menu Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Ensure proper spacing for fixed header */
body {
    padding-top: 0;
    /* Remove padding-top to accommodate transparent header */
}

/* Add smooth transitions for all interactive elements */
a,
button {
    transition: all 0.3s ease;
}

/* Ensure proper z-index stacking */
.header {
    z-index: 1000;
}

.nav-right {
    z-index: 1001;
}

.mobile-menu-btn {
    z-index: 1002;
}

/* Update link cursor */
a,
button {
    cursor: pointer;
}

/* Remove any custom cursor classes */
.hover-glow,
.btn,
.nav-links a {
    cursor: pointer;
}

/* Who We Are Section */
.who-we-are {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.facility-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.facility-image {
    height: 200px;
    overflow: hidden;
}

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

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

.facility-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.facility-content.full-width {
    padding: 30px;
}

.facility-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.facility-content h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin-top: 8px;
}

.facility-features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto 0;
}

.facility-features li {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-color);
}

.facility-features i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 16px;
    min-width: 16px;
    text-align: center;
}

.facility-btn {
    margin-top: 15px;
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* Research Facilities */
.facilities-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.facilities-section .facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.facilities-section .facility-card {
    margin-bottom: 0;
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 4rem 0;
    background: var(--surface-light);
    position: relative;
    z-index: 5;
}

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

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
    /* This will make the icons white */
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-card:hover .feature-icon img {
    transform: scale(1.1);
    filter: brightness(0) invert(1);
    /* Maintain white color on hover */
}

@media (max-width: 768px) {
    .feature-icon {
        width: 70px;
        height: 70px;
        padding: 12px;
    }

    .feature-icon img {
        width: 35px;
        height: 35px;
        filter: brightness(0) invert(1);
        /* Maintain white color on mobile */
    }
}

@media (max-width: 576px) {
    .feature-icon {
        width: 60px;
        height: 60px;
        padding: 10px;
    }

    .feature-icon img {
        width: 30px;
        height: 30px;
        filter: brightness(0) invert(1);
        /* Maintain white color on smaller screens */
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon i {
        font-size: 1.2rem;
    }

    .feature-content h3 {
        font-size: 1.2rem;
    }
}

/* About Section Image Slider */
.image-slider {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .image-slider {
        height: 300px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.contact-form button[type="submit"]:active {
    transform: translateY(0);
}

.contact-form button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
}

.contact-form button[type="submit"]:hover::before {
    left: 100%;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.loading {
    display: block;
    background-color: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

/* About Hero Section */
.products-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}


.products-hero .container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.products-hero-content {
    text-align: center;
    color: white;
    padding: 4rem 0;
}

.products-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.products-hero-content p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.products-hero-content .highlight {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .products-hero {
        min-height: 50vh;
    }

    .products-hero-content h1 {
        font-size: 2.5rem;
    }

    .products-hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .products-hero {
        min-height: 40vh;
    }

    .products-hero-content h1 {
        font-size: 2rem;
    }

    .products-hero-content p {
        font-size: 1rem;
    }
}


.about-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;

    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(51, 51, 51, 0.9) 0%,
            rgba(51, 51, 51, 0.7) 50%,
            rgba(51, 51, 51, 0.5) 100%);
    z-index: 2;
}

.about-hero .container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-hero-content {
    text-align: center;
    color: white;
    padding: 4rem 0;
}

.about-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-hero-content p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-hero-content .highlight {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 50vh;
    }

    .about-hero-content h1 {
        font-size: 2.5rem;
    }

    .about-hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        min-height: 40vh;
    }

    .about-hero-content h1 {
        font-size: 2rem;
    }

    .about-hero-content p {
        font-size: 1rem;
    }
}

/* History Section */
.history-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.history-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.history-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--heading-color);
    text-align: left;
}

.history-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-color);
    text-align: left;
}

.history-content .btn {
    align-self: flex-start;
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

.history-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.history-content .btn i {
    font-size: 1.2rem;
}

.history-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
}

.history-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .history-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .history-image {
        order: -1;
        margin-bottom: 30px;
    }

    .history-content {
        text-align: center;
    }

    .history-content h2,
    .history-content p {
        text-align: center;
    }

    .history-content .btn {
        align-self: center;
    }
}

/* Certifications Section */
.certifications-section {
    padding: 5rem 0;
    background: var(--surface-light);
}

.certifications-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.certification-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.cert-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.cert-icon i {
    font-size: 2rem;
    color: white;
}

.certification-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.certification-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Organization Chart Section */
.org-chart-section {
    padding: 5rem 0;
    background: var(--background-light);
}

.org-chart-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.org-chart {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.org-member {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 250px;
}

.org-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.member-info h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.member-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Warranty Section */
.warranty-section {
    padding: 5rem 0;
    background: var(--surface-light);
}

.warranty-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.warranty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.warranty-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.warranty-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.warranty-card h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Responsive Styles for About Page */
@media (max-width: 1024px) {
    .about-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 3rem 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Clients Section */
.clients-section {
    padding: 4rem 0;
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.clients-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.clients-grid {
    display: flex;
    animation: slideLogos 40s linear infinite;
    width: fit-content;
    gap: 0;
}

.clients-grid:hover {
    animation-play-state: paused;
}

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

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

.client-card {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    padding: 10px;
    transition: transform 0.3s ease;
}

.client-card:hover {
    transform: scale(1.1);
}

.client-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo img:hover {
    filter: grayscale(0%);
}

/* Gradient edges for smooth transition */
.clients-container::before,
.clients-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.clients-container::before {
    left: 0;
    background: linear-gradient(to right, var(--light-bg) 0%, transparent 100%);
}

.clients-container::after {
    right: 0;
    background: linear-gradient(to left, var(--light-bg) 0%, transparent 100%);
}

@media (max-width: 768px) {
    .client-card {
        width: 150px;
        height: 150px;
    }

    .clients-container::before,
    .clients-container::after {
        width: 50px;
    }
}

/* Hide other content */
.client-content {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fill, 150px);
    }

    .client-card {
        width: 150px;
        height: 150px;
        padding: 15px;
    }

    .client-logo img {
        max-width: 120px;
        max-height: 120px;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fill, 120px);
    }

    .client-card {
        width: 120px;
        height: 120px;
        padding: 10px;
    }

    .client-logo img {
        max-width: 100px;
        max-height: 100px;
    }
}

/* Contact Section */
.section-light {
    background: white;
}

.contact-section {
    padding: 5rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
    outline: none;
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--text-dark);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface-light);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    text-decoration: none;
}

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

    .contact-form,
    .contact-info {
        padding: 2rem;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}


.footer-brand .logo-text-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand .logo-line {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--light-text);
}

.footer-brand .first-letter {
    color: var(--accent-color);
    font-weight: 700;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-column p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--light-text);
    opacity: 0.9;
}

.footer-column p i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.footer-link {
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-link:hover {
    color: var(--accent-color);
    opacity: 1;
    transform: translateX(5px);
}

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

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-column ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--accent-color);
}

.footer-column ul li a:hover::before {
    opacity: 1;
    left: -15px;
}

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

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--light-text);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.copyright {
    color: var(--light-text);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Styles for Header and Footer */
@media (max-width: 1024px) {
    .nav-links {
        gap: 2rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .footer-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: auto;
        padding: 1rem 0;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-right {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--background-light);
        padding: 1rem;
        box-shadow: var(--shadow-sm);
        flex-direction: column;
        gap: 1rem;
    }

    .nav-right.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-contact {
        width: 100%;
    }

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

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

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .logo-img {
        height: 40px;
    }

    .logo-line {
        justify-content: center;
        /* font-size: 1rem; */
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: red;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.header.scrolled .mobile-menu-btn span {
    background-color: var(--text-primary);
}

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-right {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s ease;
        z-index: 999;
    }

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

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        padding: 15px;
        width: 100%;
        color: var(--text-primary);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }


    /* Hamburger Menu Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Ensure proper spacing for fixed header */
body {
    padding-top: 0;
    /* Remove padding-top to accommodate transparent header */
}

/* Add smooth transitions for all interactive elements */
a,
button {
    transition: all 0.3s ease;
}

/* Ensure proper z-index stacking */
.header {
    z-index: 1000;
}

.nav-right {
    z-index: 1001;
}

.mobile-menu-btn {
    z-index: 1002;
}

/* Update link cursor */
a,
button {
    cursor: pointer;
}

/* Remove any custom cursor classes */
.hover-glow,
.btn,
.nav-links a {
    cursor: pointer;
}

/* Product and Service seciton */

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.grid-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.item-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-item:hover .item-image img {
    transform: scale(1.1);
}

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

.grid-item:hover .item-overlay {
    opacity: 1;
}

.item-content {
    padding: 2rem;
}

.item-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.item-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.item-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.item-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.item-features li i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

/* Service Process Section */
.service-process {
    padding: 5rem 0;
    background: var(--surface-light);
    position: relative;
    z-index: 5;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;

    margin: 10px auto;
    padding: 0 2rem;
}

.process-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.process-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.process-item:hover::before {
    transform: scaleX(1);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.process-icon i {
    font-size: 2rem;
    color: white;
}

.process-item h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.process-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.process-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}


/* Who We Are Section */
.who-we-are {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.facility-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.facility-image {
    height: 200px;
    overflow: hidden;
}

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

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

.facility-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.facility-content.full-width {
    padding: 30px;
}

.facility-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.facility-content h3::after {}

.grid-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.item-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    transition: transform 0.5s ease;
}

.grid-item:hover .item-image img {
    transform: scale(1.1);
}

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

.grid-item:hover .item-overlay {
    opacity: 1;
}

.item-content {
    padding: 2rem;
}

.item-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.item-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.item-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.item-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var (--text-secondary);
    font-size: 0.95rem;
}

.item-features li i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

/* Responsive Styles for Services Page */
@media (max-width: 1024px) {
    .services-hero-content h1 {
        font-size: 3.5rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 6rem 0 3rem;
    }

    .services-hero-content h1 {
        font-size: 2.5rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
        padding: 2rem;
    }

    .item-content {
        padding: 1.5rem;
    }

    .process-icon {
        width: 60px;
        height: 60px;
    }

    .process-icon i {
        font-size: 1.5rem;
    }
}

/* Research Page Styles */
.research-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.research-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
    z-index: 1;
}

.research-hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.research-hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.research-hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 3rem;
}

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

.research-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.research-card:hover::before {
    transform: scaleX(1);
}

.research-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.research-icon i {
    font-size: 2rem;
    color: white;
}

.research-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.research-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var (--primary-color);
}

.research-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.research-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.research-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.research-features li i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

/* Publications Section */
.publications-section {
    padding: 5rem 0;
    background: var(--surface-light);
}

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

.publication-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.publication-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.publication-icon i {
    font-size: 2rem;
    color: white;
}

.publication-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.publication-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Collaboration Section */
.collaboration-section {
    padding: 5rem 0;
    background: var(--background-light);
}

.collaboration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.collaboration-text {
    padding-right: 2rem;
}

.collaboration-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.collaboration-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.collaboration-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.collaboration-features li i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.collaboration-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.collaboration-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles for Research Page */
@media (max-width: 1024px) {
    .research-hero-content h1 {
        font-size: 3.5rem;
    }

    .collaboration-content {
        gap: 3rem;
    }

    .collaboration-text {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .research-hero {
        padding: 6rem 0 3rem;
    }

    .research-hero-content h1 {
        font-size: 2.5rem;
    }

    .research-grid,
    .publications-grid {
        grid-template-columns: 1fr;
    }

    .collaboration-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .collaboration-image {
        order: -1;
    }

    .research-icon,
    .publication-icon {
        width: 60px;
        height: 60px;
    }

    .research-icon i,
    .publication-icon i {
        font-size: 1.5rem;
    }
}

.download-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.preview-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.pdf-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.pdf-preview-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    margin: auto;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.modal-close:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.pdf-preview-container {
    width: 100%;
    height: 100%;
    padding: 1rem;
}

.pdf-preview-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

/* Request Literature Section */
.request-literature {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--gradient-primary);
    border-radius: 15px;
    text-align: center;
    color: white;
}

.request-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.request-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.request-content .btn {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.request-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--surface-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .download-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .downloads-section {
        padding: 3rem 0;
    }

    .download-categories {
        grid-template-columns: 1fr;
    }

    .category-group {
        padding: 1.5rem;
    }

    .download-card {
        padding: 1rem;
    }

    .modal-content {
        width: 95%;
        height: 95%;
    }

    .preview-btn {
        padding: 0.4rem;
    }

    .modal-close {
        width: 2rem;
        height: 2rem;
    }

    .request-literature {
        padding: 2rem;
        margin-top: 3rem;
    }

    .request-content h3 {
        font-size: 1.5rem;
    }

    .request-content p {
        font-size: 1rem;
    }
}

/* Download Page Styles */
.downloads-section {
    padding: 5rem 0;
    background: var(--surface-light);
    position: relative;
    overflow: hidden;
}

.downloads-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,0,0,0.05)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.download-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.category-group {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.category-group:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-group:hover::before {
    transform: scaleX(1);
}

.category-group h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.category-group h3::before {
    display: none;
}

.download-grid {
    display: grid;
    gap: 1.5rem;
    flex: 1;
}

.download-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: var(--surface-light);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.download-card:hover::before {
    opacity: 0.05;
}

.download-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.download-icon i {
    font-size: 1.8rem;
    color: white;
}

.download-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.download-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.5rem;
}

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

.download-card:hover .download-content h4::after {
    width: 60px;
}

.download-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    flex: 1;
}

.download-size {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.download-size::before {
    content: '\f15b';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-color);
}

.download-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.preview-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

.preview-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}

.preview-btn i {
    font-size: 1.2rem;
}

.download-arrow {
    color: var(--primary-color);
    font-size: 1.4rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.download-card:hover .download-arrow {
    transform: translateX(5px);
    color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .download-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .category-group {
        padding: 2rem;
    }

    .download-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .downloads-section {
        padding: 3rem 0;
    }

    .download-categories {
        grid-template-columns: 1fr;
    }

    .category-group {
        padding: 1.5rem;
    }

    .category-group h3 {
        font-size: 1.5rem;
    }

    .download-card {
        padding: 1.2rem;
    }

    .download-icon {
        width: 50px;
        height: 50px;
    }

    .download-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .facility-image {
        height: 180px;
    }

    .facility-content {
        padding: 15px;
    }

    .facility-content h3 {
        font-size: 18px;
    }

    .facility-features li {
        font-size: 13px;
    }
}

/* Hero Slideshow Styles */
.hero-background {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Privacy Policy Page Styles */
.privacy-hero {
    background-image: url('../images/about/hero-bg.jpg');
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.privacy-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.privacy-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.privacy-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #fff;
}

.privacy-content {
    padding: 6rem 0;
}

.privacy-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.privacy-main {
    background: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.privacy-section {
    margin-bottom: 3rem;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.privacy-section h3 {
    color: #444;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.privacy-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.privacy-section ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.privacy-section ul li {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    position: relative;
}

.privacy-section ul li:before {
    content: "•";
    color: #4682B4;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.privacy-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.privacy-quick-links {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.privacy-quick-links h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.privacy-quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-quick-links ul li {
    margin-bottom: 0.8rem;
}

.privacy-quick-links ul li:last-child {
    margin-bottom: 0;
}

.privacy-quick-links ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.privacy-quick-links ul li a:hover {
    color: #4682B4;
}

/* Responsive Styles for Privacy Policy */
@media (max-width: 992px) {
    .privacy-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .privacy-sidebar {
        position: static;
    }

    .privacy-main {
        padding: 2rem;
    }

    .privacy-section h2 {
        font-size: 1.8rem;
    }

    .privacy-section h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .privacy-hero {
        height: 30vh;
    }

    .privacy-hero h1 {
        font-size: 2.5rem;
    }

    .privacy-hero p {
        font-size: 1rem;
    }

    .privacy-content {
        padding: 4rem 0;
    }

    .privacy-main {
        padding: 1.5rem;
    }

    .privacy-section h2 {
        font-size: 1.6rem;
    }

    .privacy-section h3 {
        font-size: 1.2rem;
    }
}

/* Globe Animation Styles */
.globe-animation-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    z-index: 1;
}

.globe-animation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.06;
    z-index: -1;
}

.globe-animation-section .section-title {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.globe-animation-section .title-line {
    background: linear-gradient(90deg, #b30c00, #ff0000);
    height: 4px;
    width: 100px;
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
}

.globe-animation-section .section-description {
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.globe-container {
    position: relative;
    height: 450px;
    margin: 3rem auto;
    max-width: 1200px;
    width: 100%;
    z-index: 2;
    overflow: visible;
    border-radius: 50%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: radial-gradient(circle, rgba(7, 53, 122, 0.05) 0%, rgba(8, 68, 160, 0.15) 100%);
    border: 1px solid rgba(0, 86, 179, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.globe-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../images/world-map-dots.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    border-radius: 50%;
    z-index: 1;
}

.globe-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(179, 0, 0, 0.2);
}

.globe-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: transparent;
    border-radius: 50%;
    overflow: hidden;
    transform: scale(0.95);
    z-index: 2;
}

.globe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
}

.globe-stats {
    display: flex;
    gap: 2.5rem;
    background: rgba(255, 255, 255, 0);
    padding: 1.8rem 2.8rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.831);
    transition: transform 0.3s ease;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.25rem;
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 86, 179, 0.2), transparent);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #b30000, #ff0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b30000, transparent);
}

.stat-label {
    font-size: 1rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .globe-container {
        height: 350px;
        border-radius: 20px;
    }

    .globe-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .globe-container {
        height: 300px;
    }

    .globe-stats {
        flex-direction: column;
        padding: 1.2rem;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-item {
        width: 100%;
        padding: 0.5rem 0;
    }

    .globe-animation-section::before {
        background-size: 200%;
    }
}

/* Main Responsive Layout Styles */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }

    .globe-container {
        max-width: 1000px;
    }
}

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

    .globe-container {
        max-width: 900px;
        height: 380px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    /* Adjust grid layouts for this breakpoint */
    .links-grid,
    .facilities-grid,
    .features-grid,
    .clients-grid,
    .related-grid,
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .globe-container {
        max-width: 700px;
        height: 350px;
    }

    /* Adjust column layouts for medium screens */
    .links-grid,
    .features-grid,
    .clients-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid,
    .history-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content,
    .about-image,
    .contact-form,
    .contact-info {
        width: 100%;
    }

    /* Header and navigation adjustments */
    .nav-links a {
        margin: 0 10px;
        font-size: 0.9rem;
    }

    /* Content scaling */
    .section-title {
        font-size: 2rem;
    }

    p,
    li,
    .btn {
        font-size: 0.95rem;
    }

    h3 {
        font-size: 1.3rem;
    }
}

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

    .globe-container {
        max-width: 100%;
        height: 300px;
        border-radius: 20px;
    }

    .globe-canvas {
        border-radius: 20px;
    }

    /* Convert more grids to single column */
    .links-grid,
    .features-grid,
    .resources-grid,
    .related-grid,
    .facilities-grid,
    .part-group-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Adjust product grid to maintain 2 columns */
    .product-grid,
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Section spacing */
    section {
        padding: 40px 0;
    }

    /* Content scaling */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    h3 {
        font-size: 1.2rem;
    }

    /* Footer adjustments */
    .footer-content {
        flex-direction: column;
    }

    .footer-brand,
    .footer-info {
        width: 100%;
        text-align: center;
    }

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

    .footer-column {
        width: 100%;
        margin-top: 20px;
    }

    /* Form elements */
    .form-input,
    textarea.form-input {
        font-size: 0.9rem;
        padding: 10px;
    }

    /* Parts catalog specific adjustments */
    .catalog-filter {
        flex-direction: column;
    }

    .filter-options {
        width: 100%;
        margin-bottom: 15px;
    }

    .search-box {
        width: 100%;
    }

    .search-box input {
        width: 100%;
    }

    .part-item {
        flex-direction: column;
    }

    .part-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }

    .globe-container {
        height: 250px;
        margin: 2rem auto;
    }

    /* Convert more grids to single column */
    .product-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }



    /* Button sizing */
    .btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    /* Stats and globe stats */
    .globe-stats {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        min-width: auto;
        width: 90%;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Section title and content */
    .section-title {
        font-size: 1.6rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    /* Footer elements */
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }

    .footer-legal a {
        margin: 5px 0;
    }

    .copyright {
        font-size: 0.8rem;
    }

    /* Part details */
    .part-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .part-number {
        margin-top: 5px;
    }

    .part-features {
        grid-template-columns: 1fr;
    }
}

/* Enhanced media queries for responsive header */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-container {
        padding: 15px 20px;
        position: relative;
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-right.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .nav-links a {
        padding: 15px 0;
        width: 100%;
        text-align: left;
        margin: 0;
        font-size: 1.1rem;
        border-bottom: 1px solid #eee;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-contact {
        margin-top: 20px;
        padding: 0 20px;
        width: 100%;
    }

    .contact-btn {
        width: 100%;
        text-align: center;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Add overlay when menu is open */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .menu-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* Additional responsive fixes for smaller devices */
@media (max-width: 576px) {
    .nav-container {
        padding: 10px 15px;
    }

    .logo-img {
        height: 20px;
    }

    .logo-text-container {
        font-size: 0.85rem;
    }

    .nav-right {
        width: 250px;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 12px 0;
    }

    /* Make header fixed on small devices for better user experience */
    .header {
        position: sticky;
        top: 0;
        background-color: rgba(49, 49, 49, 0.5);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .logo-line {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-right.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-links a {
        color: var(--text-primary);
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-contact {
        margin-top: 1rem;
        width: 100%;
    }

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

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 0;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text-container {
        display: none;
    }

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

    .hero .main-title h1 {
        font-size: 2.2rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
    cursor: pointer;
}

.header.scrolled .search-btn {
    background: rgba(255, 0, 0, 0.1);
    color: var(--primary-color);
    border-color: rgba(255, 0, 0, 0.2);
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled .search-btn:hover {
    background: rgba(255, 0, 0, 0.15);
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.search-input {
    width: 240px;
    padding: 0.8rem 1rem 0.8rem 3rem;
    border: 2px solid transparent;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: #333;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-input::placeholder {
    color: #ff0000;
    opacity: 0.7;
}

.search-input:focus {
    width: 280px;
    background: rgba(255, 255, 255, 0.95);
    border-color: #ff0000;
    box-shadow: 0 8px 15px rgba(0, 86, 179, 0.15);
    outline: none;
}

.search-container::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 0.9rem;
    pointer-events: none;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.search-container:focus-within::before {
    color: #0056b3;
    opacity: 1;
}

.header.scrolled .search-input {
    background: rgba(255, 255, 255, 0.95);
    border-color: #e0e0e0;
}

@media (max-width: 768px) {
    .search-input {
        width: 200px;
    }

    .search-input:focus {
        width: 220px;
    }
}

@media (max-width: 576px) {
    .search-input {
        width: 160px;
    }

    .search-input:focus {
        width: 180px;
    }
}

/* Search Box Styles */
.search-container {
    position: relative;
    width: 250px;
    margin: 0 15px;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    height: 40px;
    padding: 8px 20px 8px 45px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    outline: none;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: #333;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #ff0000;
    box-shadow: 0 0 15px rgba(0, 86, 179, 0.15);
    background: rgba(255, 255, 255, 0.1);
}

.search-button {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: #ff0000;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.search-button:hover {
    color: #ff0000;
    transform: translateY(-50%) scale(1.1);
}

.search-container:focus-within .search-button {
    color: #ff0000;
}

/* Remove placeholder when focused */
.search-input::placeholder {
    color: #ff0000;
    transition: opacity 0.3s ease;
}

.search-input:focus::placeholder {
    opacity: 0;
}

/* Hide default clear button in IE */
.search-input::-ms-clear {
    display: none;
}

/* Hide default clear button in Chrome */
.search-input::-webkit-search-cancel-button {
    display: none;
}

/* Dark theme styles */
.dark-theme .search-input {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
}

.dark-theme .search-input:focus {
    border-color: #0056b3;
    background: rgba(0, 0, 0, 0.3);
}

.dark-theme .search-button {
    color: rgba(255, 255, 255, 0.7);
}

.dark-theme .search-button:hover {
    color: #fff;
}

.dark-theme .search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive styles */
@media (max-width: 768px) {
    .search-container {
        width: 200px;
    }

    .search-input {
        height: 36px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .search-container {
        width: 100%;
        margin: 10px 0;
    }
}

/* Global Search Box Styles */
.search-container {
    position: relative;
    width: 200px;
    /* Reduced from 300px */
    margin: 0 10px;
    /* Reduced from 15px */
}

.search-wrapper {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    height: 36px;
    /* Reduced from 44px */
    padding: 0 36px;
    /* Reduced from 44px */
    background: transparent;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    /* Reduced from 8px */
    font-size: 14px;
    /* Reduced from 15px */
    color: #333;
    transition: all 0.2s ease-in-out;
}

.search-input:hover {
    border-color: #b0b0b0;
}

.search-input:focus {
    border-color: #0056b3;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.1);
    /* Reduced from 3px */
}

.search-button {
    position: absolute;
    left: 0;
    top: 0;
    height: 36px;
    /* Reduced from 44px */
    width: 36px;
    /* Reduced from 44px */
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    transition: color 0.2s ease;
}

.search-button:hover {
    color: #0056b3;
}

.search-button i {
    font-size: 14px;
    /* Reduced from 16px */
}

/* Placeholder styling */
.search-input::placeholder {
    color: #999;
    opacity: 1;
    transition: opacity 0.2s ease;
    font-size: 13px;
    /* Added smaller font size for placeholder */
}

.search-input:focus::placeholder {
    opacity: 0.5;
}

/* Remove browser default styles */
.search-input::-webkit-search-decoration,
.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-results-button,
.search-input::-webkit-search-results-decoration {
    display: none;
}

.search-input::-ms-clear,
.search-input::-ms-reveal {
    display: none;
}

/* Dark theme styles */
.dark-theme .search-input {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.dark-theme .search-input:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.dark-theme .search-input:focus {
    border-color: #0056b3;
}

.dark-theme .search-button {
    color: rgba(255, 255, 255, 0.7);
}

.dark-theme .search-button:hover {
    color: #fff;
}

.dark-theme .search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive styles */
@media (max-width: 768px) {
    .search-container {
        width: 180px;
        /* Reduced from 250px */
    }

    .search-input {
        height: 32px;
        /* Reduced from 40px */
        font-size: 13px;
        /* Reduced from 14px */
        padding: 0 32px;
        /* Reduced from 40px */
    }

    .search-button {
        width: 32px;
        /* Reduced from 40px */
        height: 32px;
        /* Reduced from 40px */
    }
}

@media (max-width: 576px) {
    .search-container {
        width: 100%;
        margin: 8px 0;
        /* Reduced from 10px */
    }
}

/* Global Search Box Styles */
input[type="search"],
.search-box {
    display: flex;
    align-items: center;
    width: 220px;
    padding: 5px 10px 5px 10px;
    border: 1px solid #000;
    border-radius: 12px;
    outline: none;
    font-size: 16px;
    background: transparent;
}

/* Hide default clear (X) icon */
input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

/* Search wrapper styles */
.search-wrapper {
    position: relative;
    display: inline-block;
}

.search-wrapper input[type="search"] {
    padding-right: 30px;
    /* space for icon */
}

.search-wrapper .icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    /* let clicks go to input */
}

.icon svg {
    width: 16px;
    height: 16px;
    stroke: #000;
}

/* Dark theme adjustments */
.dark-theme input[type="search"] {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.dark-theme .icon svg {
    stroke: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    input[type="search"],
    .search-box {
        width: 180px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .search-wrapper {
        width: 100%;
    }

    input[type="search"],
    .search-box {
        width: 100%;
    }
}

/* Search Form Styles */
.search-form {
    display: flex;
    justify-content: left;
    
}

.search-wrapper {
    position: relative;
    width: 220px;
}

.search-wrapper input[type="search"] {
    width: 100%;
    padding: 8px 35px 8px 10px;
    border: 1px solid #ffffff;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: #ffffff;
    /* Text color red */
}

.search-wrapper button {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.search-wrapper button svg {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
    /* Icon color red */
}

.icon-sec {
    color: #fff;
}

.search-wrapper button:hover svg {
    stroke: #ffffff;
    /* Slightly darker red on hover */
}

/* Placeholder styling */
.search-wrapper input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
    /* Semi-transparent red */
}

/* Dark theme adjustments */
.dark-theme .search-wrapper input[type="search"] {
    border-color: #ff0000;
    color: #020202;
}

.dark-theme .search-wrapper button svg {
    stroke: #ff0000;
}

.dark-theme .search-wrapper button:hover svg {
    stroke: #cc0000;
}

/* Hide default clear button in search inputs */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-wrapper {
        width: 180px;
    }

    .search-wrapper input[type="search"] {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .search-wrapper {
        width: 100%;
    }
}

.stats-container {
    background-size: 400px;
    padding: 200px;
    position: relative;
    color: var(--text-primary);
}

.video-bg-wrapper {
    width: 100%;
    height: 15vh;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1000px;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.video-content {
    position: relative;
    z-index: 2;
}

.global-presence-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.293);
    z-index: 1;
}

.global-presence-section .container {
    position: relative;
    z-index: 2;
}

.global-presence-section .section-title {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0rem;
}

.global-presence-section .title-line {
    background: var(--primary-color);

}

.global-presence-section .section-description {
    color: var(--text-secondary);
    text-align: left;
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.6;
}

section-header {
    padding: 0px, 500px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgb(233, 233, 233);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    opacity: 0.9;
}

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

    .stat-item {
        padding: 20px;
    }
}

/* Section Spacing */
.thermal-spray-systems,
.features,
.applications {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.highlight {
    color: #ff0000;
}

.title-line {
    width: 80px;
    height: 3px;
    background-color: #ff0202;
    margin: 0 auto;
    position: relative;
    display: block;
}

/* Section Spacing */
.thermal-spray-systems,
.features,
.applications {
    padding: 6rem 0;
    position: relative;
}

/* Section Header Alignment */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.highlight {
    color: #ff0000;
}

.title-line {
    width: 80px;
    height: 3px;
    background-color: #ff0202;
    margin: 0 auto;
    position: relative;
    display: block;
}

/* Systems Grid Alignment */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

.system-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

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

.system-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

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

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

.system-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.system-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.system-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    text-align: justify;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.feature-list li {
    display: flex;
    margin-top: 10px;
    color: #555;
    font-size: 0.95rem;
    text-align: justify;
}

.feature-list i {
    color: #ff0202;
   margin-top: 0.5rem;
    margin-right: 0.5rem;
}

/* Features Grid Alignment */
.features {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="%23e31837" opacity="0.05"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.key-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.key-feature-card {
    text-align: center;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 350px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(227, 24, 55, 0.1);
}

.key-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(227, 24, 55, 0.1) 0%, rgba(227, 24, 55, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.key-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(227, 24, 55, 0.3);
}

.key-feature-card:hover::before {
    opacity: 1;
}

.key-feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.key-feature-icon::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border: 2px solid #ff0202;
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 2s infinite;
}

.key-feature-icon i {
    font-size: 2.5rem;
    color: #ff0202;
    transition: all 0.4s ease;
}

.key-feature-card:hover .key-feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #ff0000 0%, #c41230 100%);
}

.key-feature-card:hover .key-feature-icon i {
    color: #ffffff;
}

.key-feature-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
}

.key-feature-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.key-feature-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ff0202 0%, transparent 100%);
    transition: width 0.4s ease;
}

.key-feature-card:hover .key-feature-content h3::after {
    width: 60px;
}

.key-feature-content p {
    color: #666;
    line-height: 1.6;
    margin: 0 0 1.5rem;
    font-size: 1.1rem;
}

.key-feature-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(227, 24, 55, 0.1);
}

.key-feature-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ff0202;
    opacity: 0.2;
    line-height: 1;
}

.key-feature-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ff0202 0%, transparent 100%);
    transition: width 0.4s ease;
}

.key-feature-card:hover .key-feature-line {
    width: 60px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }

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

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

/* Applications Section */
.applications-section {
    padding: 4rem 0;
    background-color: var(--surface-light);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.application-card {
    background: white;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.application-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.application-image {
    height: 180px;
    overflow: hidden;
}

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

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

.application-content {
    padding: 2rem;
}

.application-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.application-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

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

    .section-header {
        margin-bottom: 3rem;
    }

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

    .systems-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card {
        min-height: 300px;
        padding: 2rem;
    }

    .system-card,
    .application-card {
        padding: 1.5rem;
    }

    .system-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .system-buttons .btn {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .systems-grid,
    .features-grid,
    .applications-grid {
        gap: 1.5rem;
    }

    .system-image {
        height: 180px;
    }

    .feature-card {
        min-height: 280px;
        padding: 1.5rem;
    }
}

.system-buttons {
    display: flex;
    gap: 1rem;

    flex-wrap: wrap;
}

.system-buttons .btn {
    flex: 1;
    min-width: 120px;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.system-buttons .btn i {
    font-size: 1rem;
}

.btn-brochure {
    background-color: #ff0202;
    color: white;
}

.btn-brochure:hover {
    background-color: #c41230;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(227, 24, 55, 0.2);
}

.btn-enquiry {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ff0202;
}

.btn-enquiry:hover {
    background-color: #ff0202;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(227, 24, 55, 0.2);
}

.btn-readmore {
    background-color: #333;
    color: white;
}

.btn-readmore:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.job-line{
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Process Overview Section */
/* Make gallery and details side by side */
.process-overview {
    display: flex;
    gap: 50px;
    align-items: flex-start;   /* IMPORTANT */
}

/* Left Side - Gallery */
.product-gallery {
    flex: 1;
}

/* Right Side - Details */
.process-details {
    flex: 1;
    padding-top: 0;
}

/* Remove unwanted top margin */
.product-description,
.product-description p {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .process-overview {
        flex-direction: column;
    }
}

.process-image {
    flex: 1;
    min-width: 300px;
}

.process-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.process-details {
    flex: 1;
    min-width: 300px;
}

.process-details h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.75rem;
}

.process-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.process-steps {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.process-steps li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    position: relative;
    padding-left: 0.5rem;
}

.process-details p {
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Product Gallery Styles */
.product-gallery {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 600px;
}

.gallery-main {
    margin-bottom: 1rem;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-image-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background-color: #f8f8f8;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.main-image-container:hover .main-product-image {
    transform: scale(1.05);
}

.image-zoom-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-image-container:hover .image-zoom-icon {
    opacity: 1;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: calc(25% - 8px);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    aspect-ratio: 1/1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.thumbnail:hover {
    border-color: #ddd;
}

.thumbnail:hover img {
    opacity: 0.8;
    transform: scale(1.1);
}

.thumbnail.active {
    border-color: var(--primary-color);
}

/* Specifications Table Section */
.specifications-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.specifications-table {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: white;
}

.specifications-table table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table th,
.specifications-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.specifications-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.specifications-table tr:last-child td {
    border-bottom: none;
}

.specifications-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.specifications-table tr:hover {
    background-color: #f1f1f1;
}

/* Applications Section */
.primery-applications-section {
    padding: 4rem 0;
    background-color: var(--surface-light);
}

.primery-applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.primery-application-card {
    background: white;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.primery-application-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.primery-application-image {
    height: 180px;
    overflow: hidden;
}

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

.primery-application-card:hover .primery-application-image img {
    transform: scale(1.05);
}

.primery-application-content {
    padding: 2rem;
}

.primery-application-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.primery-application-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {

    .primery-applications-grid,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .section-description {
        font-size: 1rem;
    }

    .process-details h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {

    .primery-applications-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* Advantages Section */
.advantages-section {
    padding: 4rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.advantage-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--text-primary);
    display: flex;
    align-items: flex-start;
}

.advantage-card h3 i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
    margin-top: 0.2rem;
}

.advantage-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 2.5rem;
    margin-bottom: 0;
}

/* Responsive Styling */
@media (max-width: 992px) {
    .process-overview {
        flex-direction: column;
        gap: 2rem;
    }

    .process-image,
    .process-details {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {

    .applications-grid,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .section-description {
        font-size: 1rem;
    }

    .process-details h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {

    .applications-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

.arc-spray-systems {
    padding: 4rem 0;
    background-color: var(--surface-light);
}


/* Applications Grid Alignment */
.key-applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

.key-application-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.key-application-card h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #ff0202;
}

.key-application-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.key-application-card li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.key-application-card li:before {
    content: "•";
    color: #ff0202;
    position: absolute;
    left: 0;
}


.path-bar {
    background: #fff;
    padding: 10px 16px;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
    overflow-x: auto;
}

.path-bar .sep {
    margin: 0 8px;
    color: #9ca3af
}

.path-bar a {
    color: #1a73e8;
    text-decoration: none
}

.path-bar a:hover {
    text-decoration: underline
}

.path-bar .current {
    color: #6b7280
}

/* scroll hone par navbar ke neeche chipkane ke liye (JS toggles this) */
.path-bar.is-fixed {
    position: fixed;
    left: 0;
    right: 0;
    top: 155px;
    z-index: 1100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

#pathSpacer {
    display: none;
    height: 0
}

/* layout jump rokne ke liye */

.ql { padding: 8px 0; }
  .ql-title { color:#e10600; margin:0 0 8px; }

  /* HORIZONTAL */
  .ql-row{
    display:flex;
    gap:24px;               /* item spacing */
    flex-wrap:wrap;         /* chhote screen par 2nd line me wrap */
    list-style:none;
    margin:0; padding:0;
  }
  .ql-row li{ margin:0; }
  .ql-row a{
    position:relative;
    display:inline-block;
    padding:8px 2px;
    font-size:18px;
    color:#fff;
    text-decoration:none;
  }
  .ql-row a:hover{ color:#e10600; }
  .ql-row a.active::after{
    content:""; position:absolute; left:0; right:0; bottom:-6px; height:3px;
    background:#e10600;        /* red underline for active */
  }
  .section-description{
    text-align: justify;
  }

 /* Warranty Hero Section */
.warranty-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-color: var(--primary-color);
    overflow: hidden;
}

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

.warranty-hero .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.warranty-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
}

.warranty-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    color: var(--light-color);
}

.warranty-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.warranty-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Warranty Overview Section */
.warranty-overview {
    padding: 5rem 0;
    background-color: var(--light-color);
}

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

.warranty-card {
    background: var(--white-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.warranty-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.warranty-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.warranty-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.warranty-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.warranty-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Warranty Terms Section */
.warranty-terms {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.terms-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.term-card {
    background: var(--white-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.term-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.term-card li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.term-card li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Warranty Support Section */
.warranty-support {
    padding: 5rem 0;
    background-color: var(--light-color);
}

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

.support-card {
    background: var(--white-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.support-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.support-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.support-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.support-card li {
    margin-bottom: 0.8rem;
}

/* Warranty Contact Section */
.warranty-contact {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-color);
}

.contact-form {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .warranty-hero {
        height: 50vh;
    }

    .warranty-hero h1 {
        font-size: 2.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .warranty-grid,
    .terms-content,
    .support-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .warranty-hero h1 {
        font-size: 2rem;
    }

    .warranty-hero p {
        font-size: 1rem;
    }

    .warranty-card,
    .term-card,
    .support-card,
    .contact-item,
    .contact-form {
        padding: 1.5rem;
    }
} 

/* Legal Page Styles */

/* Hero Section */
.legal-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

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

.legal-hero .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.legal-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.legal-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.legal-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
    color: aliceblue;
}

.legal-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
    color: aliceblue;
}

/* Legal Content Section */
.legal-content {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.legal-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Main Content */
.legal-main {
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.legal-section {
    margin-bottom: 3rem;
    animation: fadeIn 0.5s ease-out;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-section h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.legal-section p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.section-content {
    padding: 1rem 0;
}

/* Sidebar Navigation */
.legal-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.legal-quick-links {
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.legal-quick-links h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-quick-links li {
    margin-bottom: 0.5rem;
}

.legal-quick-links a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.legal-quick-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .legal-grid {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .legal-hero h1 {
        font-size: 2.5rem;
    }

    .legal-hero p {
        font-size: 1rem;
    }

    .legal-section h2 {
        font-size: 1.75rem;
    }

    .legal-section h3 {
        font-size: 1.25rem;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
} 

 /* --- Top Bar --- */
  .topbar{
    position: fixed; top: 0; z-index: 9999;
    height: var(--tb-h);
    color: var(--tb-fg);
        width: 100%;
    backdrop-filter: blur(6px) saturate(140%);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
    background: rgba(49, 49, 49, 0.5);
    background-image: var(--tb-grad);
    box-shadow: var(--tb-shadow);
    font: 500 14px/1.2 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  }
  .tb-inner{
    height: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 5px 14px;
  }
  .tb-left, .tb-right{ display: flex; align-items: center; gap: 18px; white-space: nowrap; }
  .tb-left a, .tb-right a{
    display: inline-flex; align-items: center; gap: 8px;
    color: white; text-decoration: none;
    opacity: .95; transition: opacity .15s ease, color .15s ease, transform .15s ease;
  }
  .tb-left a:hover, .tb-right a:hover{ opacity: 1; color: #fff; transform: translateY(-1px); }
  .tb-left .divider{
    width: 1px; height: 18px; background: rgba(255,255,255,.18);
  }

  /* Icon style */
  .ico{ width: 18px; height: 18px; display: inline-block; }
  .ico svg{ width: 18px; height: 18px; display:block; fill: currentColor; opacity: .9;color: white; }

  /* Search button */
  .icon-btn{
    display:inline-grid; place-items:center;
    width: 28px; height: 28px; border-radius: 6px;
    border: 0; background: transparent; color: var(--tb-fg-dim); cursor:pointer;
    transition: background .15s ease, color .15s ease, transform .15s ease;
  }
  .icon-ai { color:#1f2d47;height: 32px; } /* chip */
  .icon-btn .ico{ fill:#fff; }
  .icon-btn:hover{ background: rgba(255,255,255,.08); color:#fff; transform: translateY(-1px); }

  /* Smaller screens */
  @media (max-width: 720px){
    .tb-left a[href^="mailto"] span{ display:none; } /* hide email text */
    .tb-right a span{ display:none; }                 /* keep icons only */
    .tb-left, .tb-right{ gap: 12px; }
  }


.links-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:16px; }
.link-card { display:block; background:#fff; border-radius:12px; padding:12px; text-decoration:none; color:inherit; box-shadow:0 4px 18px rgba(0,0,0,.08); transition:.15s; }
.link-card:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.12); }
.link-image { width:100%; aspect-ratio:16/9; border-radius:10px; overflow:hidden; background:#f5f5f7; }
.link-image img { width:100%; height:100%; object-fit:cover; }
.link-actions { display:flex; gap:8px; margin-top:10px; }
.btn { display:inline-flex; align-items:center; gap:6px; padding:8px 12px; border-radius:8px; font-weight:600; }
.btn-read { background:#f0f3ff; }
.btn-enquiry { background:#ffe9db; cursor:pointer; }
.btn-enquiry:focus { outline:2px solid #ff8f4d; outline-offset:2px; }

/* modal */
.enq-modal { position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,.55); z-index:9999; }
.enq-modal.open { display:flex; }
.enq-modal__dialog { background:#fff; width:min(560px,92vw); border-radius:12px; padding:20px; box-shadow:0 20px 60px rgba(0,0,0,.25); position:relative; }
.enq-modal__close { position:absolute; right:10px; top:8px; border:0; background:transparent; font-size:28px; line-height:1; cursor:pointer; }

.form-row { margin-bottom:12px; }
.form-row label { display:block; font-weight:600; margin-bottom:6px; }
.form-row label span { color:#e53935; }
.form-row input, .form-row textarea { width:100%; padding:10px 12px; border:1px solid #ccc; border-radius:8px; }

.btn.btn-primary { background:#0d6efd; color:#fff; padding:10px 14px; border-radius:8px; border:0; cursor:pointer; }
.btn.btn-primary:hover { filter:brightness(.95); }
.enq-status { margin-top:10px; font-size:.95rem; }


/* Job Application Dialog */

/* Modal shell same as before */
.job-modal[aria-hidden="true"] { display: none; }
.job-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  display: grid; place-items: center;
  z-index: 1000;
}

/* Make dialog a flex column and cap height */
.job-modal__dialog {
  width: min(640px, 92vw);
  max-height: 90vh;               /* important: cap height */
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  padding: 20px 20px 24px;
  position: relative;
  display: flex;                  /* flex container */
  flex-direction: column;         /* title on top, body below */
}

/* Title can stay fixed at top */
.job-modal__title {
  margin: 0 40px 14px 0;
  font-size: 1.25rem;
  font-weight: 600;
  flex: 0 0 auto;                 /* don't grow/shrink */
}

/* Scrollable area */
.job-modal__body {
  flex: 1 1 auto;                 /* take remaining height */
  overflow: auto;                 /* enable scrolling inside */
  -webkit-overflow-scrolling: touch; /* smooth on iOS */
  padding-right: 4px;             /* tiny space for scrollbar */
}

/* Close button */
.job-modal__close {
  position: absolute; top: 10px; right: 12px;
  border: 0; background: transparent; font-size: 28px; line-height: 1;
  cursor: pointer; color: #444;
}

/* Form styles (as before) */
.job-form { }
.job-form__row { margin-bottom: 12px; }
.job-form__label { display: block; margin-bottom: 6px; font-weight: 600; }
.job-req { color: #d00; }
.job-input, .job-textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid #d9d9d9; border-radius: 8px; font: inherit; outline: none; background: #fff;
}
.job-input:focus, .job-textarea:focus { border-color: #5b8def; box-shadow: 0 0 0 3px rgba(91,141,239,.15); }

.job-form__row--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .job-form__row--grid { grid-template-columns: 1fr; } }

.job-btn { appearance: none; border: 0; border-radius: 10px; padding: 10px 14px; font-weight: 600; cursor: pointer; }
.job-btn--primary { background: #0b63d1; color: #fff; }
.job-btn--primary:hover { filter: brightness(1.05); }
.job-btn--primary:active { transform: translateY(1px); }
.job-status { margin-top: 10px; min-height: 18px; font-size: .95rem; color: #2b6; }

@media (prefers-reduced-motion: reduce) { .job-btn--primary:active { transform: none; } }
