/* =========================================== */
/* RESET & BASE STYLES */
/* =========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5fbff;
    color: #033f63;
    overflow-x: hidden;
    width: 100%;
}

/* =========================================== */
/* NAVBAR */
/* =========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    background-color: transparent;
    box-shadow: none;

    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: #0099cc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}


.navbar.scrolled {
    background-color: #0099cc; /* color AFTER scroll */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}



.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 700;
    font-size: 22px;
}

.logo-box img {
    height: 45px;
    width: auto;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.navbar nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 17px;
}

.navbar nav a:hover {
    color: #dff6ff;
}

/* =========================================== */
/* HAMBURGER MENU */
/* =========================================== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

/* =========================================== */
/* HERO VIDEO - GUARANTEED FULL PAGE COVERAGE */
/* =========================================== */
.hero-video {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
    padding-top: 80px; /* Account for navbar */
}

.hero-content h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeUp 1s ease forwards;
    opacity: 0;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 35px;
    max-width: 700px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeUp 1s ease 0.3s forwards;
    opacity: 0;
}

.btn {
    padding: 16px 40px;
    border-radius: 30px;
    border: none;
    background: white;
    color: #0083b0;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    animation: fadeUp 1s ease 0.6s forwards;
    opacity: 0;
}

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

/* =========================================== */
/* PRODUCTS SECTION */
/* =========================================== */
.products {
    padding: 100px 20px;
    text-align: center;
    background: #f5fbff;
}

.products h2 {
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #033f63;
    font-weight: 700;
}

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

/* CARD */
.card {
    perspective: 1200px;
    height: 420px;
}

/* CARD INNER (FLIP CONTAINER) */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
}

/* FLIP ON HOVER */
.card:hover .card-inner {
    transform: rotateY(180deg);
}

/* FRONT & BACK */
.card-front,
.card-back {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    backface-visibility: hidden;
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

/* FRONT (IMAGE) */
.card-front img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* BACK (DETAILS) */
.card-back {
    transform: rotateY(180deg);
    text-align: center;
}

.card-back h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #033f63;
}

.card-back p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* BUTTON */
.card-btn {
    padding: 12px 30px;
    border-radius: 25px;
    border: 2px solid #0099cc;
    background: transparent;
    color: #0099cc;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.card-btn:hover {
    background: #0099cc;
    color: white;
    transform: translateY(-2px);
}



/* =========================================== */
/* ABOUT SECTION */
/* =========================================== */
.about {
    padding: 100px 20px;
    background: #e6f7ff;
    text-align: center;
}

.about h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: #033f63;
    font-weight: 700;
}

.about > p {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #555;
}

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

.feature {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #033f63;
}

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

/* =========================================== */
/* FOOTER */
/* =========================================== */
.site-footer {
    background: linear-gradient(135deg, #003f5c, #002b3f);
    color: white;
    padding: 70px 20px 30px;
}

/* GRID */
.footer-container {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

/* BRAND */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-logo img {
    height: 48px;
}

.footer-tagline {
    margin: 15px 0 20px;
    opacity: 0.85;
    line-height: 1.6;
}

/* SOCIAL LINKS */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #0099cc;
    transform: translateY(-3px);
}

/* COLUMNS */
.footer-column h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-column p,
.footer-column a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* FOOTER BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.85;
}

.design-credit {
    margin-top: 8px;
    font-size: 0.85rem;
    opacity: 0.75;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .footer-container {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}


/* =========================================== */
/* ANIMATIONS */
/* =========================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================== */
/* RESPONSIVE DESIGN */
/* =========================================== */
@media (max-width: 768px) {
    /* Mobile Navbar */
    .hamburger {
        display: flex;
    }
    
    .navbar nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #0099cc;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 999;
        gap: 0;
    }
    
    .navbar nav.show {
        transform: translateX(0);
    }
    
    .navbar nav a {
        margin: 15px 0;
        font-size: 1.4rem;
        padding: 15px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Mobile Hero */
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 14px 35px;
        font-size: 16px;
    }
    
    /* Mobile Products */
    .products {
        padding: 60px 20px;
    }
    
    .products h2 {
        font-size: 2.2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    /* Mobile About */
    .about {
        padding: 60px 20px;
    }
    
    .about h2 {
        font-size: 2.2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    /* Fix for mobile video */
    .hero-video {
        height: 100vh;
    }
    
    .bg-video {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 15px;
    }
    
    .products h2,
    .about h2 {
        font-size: 1.8rem;
    }
    
    .logo-box span {
        font-size: 18px;
    }
    
    .logo-box img {
        height: 38px;
    }
}

/* Landscape Mode Fix */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-content {
        padding-top: 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}

/* Fix for tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Fix for very large screens */
@media (min-width: 1400px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* =========================================== */
/* ENQUIRY SECTION */
/* =========================================== */
.enquiry-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #e6f7ff, #f5fbff);
    text-align: center;
}

.enquiry-section h2 {
    font-size: 2.6rem;
    margin-bottom: 10px;
    color: #033f63;
    font-weight: 700;
}

.contact-info {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #033f63;
    opacity: 0.9;
}

/* FORM CARD */
.enquiry-form {
    max-width: 520px;
    margin: 0 auto;
    background: white;
    padding: 45px 35px;
    border-radius: 22px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* FORM GROUP */
.form-group {
    text-align: left;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #033f63;
}

/* INPUTS */
.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid #cfdbe5;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.25s ease;
    outline: none;
    background: #f9fcff;
}

.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder {
    color: #9aa9b7;
}

/* FOCUS STATE */
.enquiry-form input:focus,
.enquiry-form textarea:focus {
    border-color: #0099cc;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.15);
}

/* TEXTAREA */
.enquiry-form textarea {
    min-height: 120px;
    resize: none;
}

/* BUTTON */
.email-btn {
    margin-top: 10px;
    padding: 15px;
    border-radius: 30px;
    background: linear-gradient(135deg, #0099cc, #007aa3);
    color: white;
    font-size: 17px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 153, 204, 0.35);
}

