:root {
    --primary-blue: #007bff;
    --clean-white: #ffffff;
    --teal-accent: #20c997;
    --dark-overlay: rgba(0, 0, 0, 0.4);
    --text-color: #333;
    --heading-font: 'Inter', sans-serif;
}

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

body {
    font-family: var(--heading-font);
    overflow-x: hidden;
    background-color: var(--clean-white);
}

/* Navbar */
/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 60px;
    max-width: 1200px;
    padding: 10px 30px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    transition: all 0.3s ease;
}

.navbar:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    /* Removed background/shadow from previous logo style to keep it clean */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    color: rgba(0, 50, 100, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: rgba(0, 50, 100, 0.9);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Burger Animation Classes */
.nav-toggle span.rotate1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle span.hide {
    opacity: 0;
}

.nav-toggle span.rotate2 {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Scrolled Navbar State */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-links li a {
    color: rgba(0, 50, 100, 0.9) !important;
    font-weight: 600;
}

.navbar.scrolled .nav-links li a:hover,
.navbar.scrolled .nav-links li a.active {
    color: var(--teal-accent) !important;
}

.navbar.scrolled .nav-toggle span {
    background-color: var(--text-color) !important;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar {
        width: 95%;
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 31, 63, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        flex-direction: column;
        align-items: center;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-20px);
        opacity: 0;
        transition: all 0.3s ease-in-out;
        pointer-events: none;
        /* Prevent clicks when hidden */
    }

    .nav-links.nav-active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    /* Keep mobile menu links white even when scrolled */
    .navbar.scrolled .nav-links li a {
        color: var(--clean-white) !important;
    }
}





/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Fullscreen hero */
    overflow: hidden;
}

/* Slides */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    /* Center content */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Center horizontally */
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    padding: 0 20px;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 10;
}

.slide-content {
    max-width: 900px;
    color: var(--clean-white);
    z-index: 20;
    animation: fadeInUp 1s ease-out forwards;
}

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

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

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--teal-accent);
    color: var(--clean-white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #1aa179;
    transform: translateY(-2px);
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--clean-white);
    font-size: 2rem;
    padding: 20px;
    cursor: pointer;
    z-index: 30;
    border-radius: 50%;
    transition: background 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.prev {
    left: 40px;
}

.next {
    right: 40px;
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 120px;
    /* Above the contact bar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    gap: 15px;
}

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

.indicator.active {
    background-color: var(--clean-white);
    transform: scale(1.2);
}

/* Quick Contact Overlay */
.contact-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 50, 100, 0.9);
    /* Dark blue/transparent */
    color: var(--clean-white);
    padding: 25px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    z-index: 40;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.contact-overlay .divider {
    color: var(--teal-accent);
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2rem;
    }

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

    .carousel-btn {
        padding: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .contact-overlay {
        font-size: 1rem;
        flex-direction: column;
        gap: 5px;
        padding: 15px;
    }

    .contact-overlay .divider {
        display: none;
    }
}

/* Contact Page Styles */
.page-header {
    background: linear-gradient(rgba(0, 50, 100, 0.9), rgba(0, 50, 100, 0.9)), url('../images/slide1.png');
    background-size: cover;
    background-position: center;
    color: var(--clean-white);
    padding: 140px 20px 80px;
    /* Account for fixed navbar */
    text-align: center;
    margin-bottom: 40px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
}

.contact-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: -60px;
    /* Overlap with header */
    position: relative;
    z-index: 10;
}

.info-card {
    background: var(--clean-white);
    padding: 50px 30px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Springy effect */
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--teal-accent));
}

.info-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(0, 123, 255, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.info-card:hover .icon-wrapper {
    background: var(--primary-blue);
    transform: scale(1.1) rotate(5deg);
}

.icon-wrapper i {
    font-size: 1.8rem;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.info-card:hover .icon-wrapper i {
    color: var(--clean-white);
}

.info-card h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1.05rem;
}

.info-card a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: var(--teal-accent);
}

.site-footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
}

/* About Page Styles */
.about-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-intro h2 {
    font-size: 2.5rem;
    color: rgba(0, 50, 100, 0.9);
    margin-bottom: 25px;
    font-weight: 700;
}

.about-intro p {
    font-size: 1.15rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.mission-vision-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* Shared Card Styles for About Page */
.mv-card {
    background: var(--clean-white);
    padding: 50px 30px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--teal-accent));
}

.mv-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.mv-card h3 {
    margin: 20px 0 15px;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mv-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1.05rem;
}

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

    .about-text h2 {
        font-size: 2rem;
    }
}

/* Products Page Styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.product-card {
    background: var(--clean-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 250px;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 25px;
    font-weight: 700;
}

.product-info p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

.product-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.product-card:hover .product-btn {
    background-color: var(--primary-blue);
    color: white;
}