/* --- Variables & Reset --- */
:root {
    --primary-color: #ffffff; 
    --secondary-color: #f7f9fc;
    --accent-color: #3ba9fe; /* Corporate Light Blue */
    --accent-dark: #0ea5e9;  /* Darker Blue for hover */
    --accent-glow: rgba(59, 169, 254, 0.15);
    --text-main: #4a5568; 
    --text-heading: #1e293b; 
    --text-muted: #94a3b8;
    --brand-dark-blue: rgb(0, 51, 153);
    --brand-med-blue: #3ba9fe;
    --brand-light-blue: #99ccff;
    --brand-pale-blue: #e0f2fe;
    --font-main: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font-main);
    background-color: var(--primary-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section { padding: 100px 0; }
.bg-secondary { background-color: var(--secondary-color); }
.text-center { text-align: center; }

/* Badge/Tagline */
.badge {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-left: 22px;
}
.badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

/* Headings */
.section-title {
    font-size: 2.8rem;
    color: var(--text-heading);
    margin-bottom: 3rem;
    font-weight: 800;
    line-height: 1.2;
}
.section-title span {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}
.section-title span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--accent-color);
    opacity: 0.25;
    border-radius: 4px;
    z-index: -1;
    transform: rotate(-1deg);
}

/* --- Header / Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.navbar-stripes-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Navbar Stripes Motif */
.navbar-stripes {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 350px; /* Increased to fit wider stripes */
    display: flex;
    gap: 6px;
    z-index: 1;
    pointer-events: none;
    padding-left: 0;
}

.stripe {
    width: 35px; /* Thicker stripes as requested */
    height: calc(100% - 10px); /* Leave 10px at the bottom */
    transform: skewX(45deg) translateX(-85px); /* Adjusted for new thickness */
    transform-origin: top;
}

.stripe-dark { background-color: var(--brand-dark-blue); }
.stripe-med { background-color: var(--brand-med-blue); }
.stripe-light { background-color: var(--brand-light-blue); }
.stripe-pale { background-color: var(--brand-pale-blue); }

.nav-tagline {
    font-family: 'Edwardian Script ITC', 'Great Vibes', 'Dancing Script', cursive;
    font-size: 2.2rem;
    font-weight: 400;
    color: #000000; /* Black color for tagline */
    opacity: 0.95;
    white-space: nowrap;
    padding-top: 10px;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .nav-tagline { display: none; }
    .navbar-stripes { width: 100px; }
}

.navbar-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100px;
    transition: height var(--transition-speed);
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: visible;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo img {
    max-height: 75px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    justify-content: center;
}

.nav-link {
    color: var(--text-heading);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: color var(--transition-speed) ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
}

.nav-icons {
    display: flex;
    gap: 18px;
    justify-self: end;
    border-left: 1px solid #e2e8f0;
    padding-left: 20px;
}
.nav-icons i {
    color: var(--text-heading);
    cursor: pointer;
    transition: color var(--transition-speed);
    width: 22px;
    height: 22px;
}
.nav-icons i:hover {
    color: var(--accent-color);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
    border: 2px solid transparent;
}
.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}
.btn-primary:hover {
    background-color: var(--accent-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--accent-glow);
}
.btn-outline {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}
.btn-outline:hover {
    background-color: #fff;
    color: var(--text-heading);
    transform: translateY(-3px);
}

/* --- Hero Section & Slider --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: hero-kenburns 16s linear infinite;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 8s; }

@keyframes hero-kenburns {
    0% { opacity: 0; transform: scale(1.0); }
    10% { opacity: 1; }
    50% { opacity: 1; }
    60% { opacity: 0; }
    100% { opacity: 0; transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.85) 40%, rgba(15,23,42,0.4) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    color: #ffffff;
    letter-spacing: -2px;
    animation: floatTitle 5s ease-in-out infinite;
}
@keyframes floatTitle {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}
.hero-title span {
    color: var(--accent-color);
    position: relative;
}
.hero-subtitle {
    font-size: 1.35rem;
    color: #cbd5e1;
    margin-bottom: 45px;
    font-weight: 400;
}
.hero-buttons {
    display: flex;
    gap: 20px;
}

/* --- About Us Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-text p {
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.8;
}
.about-image {
    position: relative;
}
.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.about-features {
    list-style: none;
    margin-top: 35px;
}
.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-heading);
}
.about-features i {
    color: var(--accent-color);
    background-color: var(--accent-glow);
    padding: 8px;
    border-radius: 50%;
    stroke-width: 2.5;
}

/* --- Services & Products --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border-bottom: 4px solid transparent;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    transition: all var(--transition-speed);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-bottom-color: var(--accent-color);
}
.service-card .service-img-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 22px;
}
.service-card .service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card:hover .service-img-wrapper img {
    transform: scale(1.08);
}
.service-card h3 {
    font-size: 1.4rem;
    color: var(--text-heading);
    font-weight: 700;
    margin-bottom: 12px;
}
.service-card p {
    font-size: 1.05rem;
}

/* Products Grid Responsive */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

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

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}
.contact-info-box {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.info-row {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}
.info-row i {
    color: var(--accent-color);
    width: 28px;
    height: 28px;
    margin-top: 5px;
}
.info-row h4 {
    color: var(--text-heading);
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.info-row p {
    font-size: 1.1rem;
}
.contact-form {
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 18px;
    margin-bottom: 25px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1.05rem;
    transition: all var(--transition-speed);
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px var(--accent-glow);
}

/* --- Responsive & Mobile View --- */
.mobile-menu-btn {
    display: none !important;
    cursor: pointer;
    color: var(--text-heading);
    background: none;
    border: none;
    padding: 10px;
    outline: none;
}

@media (max-width: 992px) {
    .navbar-container {
        padding: 0 20px;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .contact-grid, .about-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        display: flex !important;
        justify-content: space-between;
        position: relative;
        padding: 0 20px;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .nav-icons {
        border-left: none;
        padding-left: 0;
        gap: 15px;
    }

    .nav-icons .hide-on-mobile {
        display: none;
    }

    .mobile-menu-btn {
        display: block !important;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s ease;
        padding: 0;
        display: flex !important;
        visibility: hidden;
        opacity: 0;
        z-index: 1001;
    }
    
    .nav-menu.active {
        max-height: 100vh !important;
        padding: 20px 0 !important;
        border-top: 1px solid #f1f5f9;
        overflow-y: auto;
        opacity: 1 !important;
        visibility: visible !important;
        background-color: #ffffff !important;
    }
    
    .nav-link {
        display: block;
        padding: 12px 20px;
        text-align: center;
        border-bottom: 1px solid #f8fafc;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Hero Adjustments */
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        justify-content: center;
        width: 100%;
    }
    
    /* Section Adjustments */
    .section-title {
        font-size: 2rem;
    }
    
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info-box, .contact-form {
        padding: 30px 20px;
    }
    
    .contact-form form > div {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    footer .container > div {
        gap: 30px !important;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
