:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0f172a;
    --accent: #60a5fa;
    --text: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

/* Utilities */
.section {
    padding: 8rem 0;
}

.section-subtitle {
    display: block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--secondary); color: var(--white); }
.w-full { width: 100%; }
.mt-4 { margin-top: 2rem; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow);
    padding: 0.8rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: var(--transition);
    filter: brightness(0) invert(1); /* Make logo white for the dark gradient */
}

.header.scrolled .logo img {
    filter: none; /* Original colors when scrolled */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-links a:hover {
    color: var(--accent);
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    transition: var(--transition);
}

.header.scrolled .menu-toggle {
    color: var(--secondary);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
    background-color: var(--secondary); /* Fallback */
}

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

.hero-bg-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* About */
.glass-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card ul {
    list-style: none;
    color: var(--text-light);
}

.service-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Products */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.product-item {
    transition: var(--transition);
}

.product-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: var(--white);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.product-info {
    padding: 2rem;
}

.product-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--secondary);
}

.product-info p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Main Footer (Light Blue Theme) */
.main-footer {
    background: #93c5fd; /* Light blue as in image */
    color: #1e3a8a; /* Dark blue text for contrast */
    padding: 5rem 0 2rem;
}

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

.footer-logo {
    height: 45px;
    margin-bottom: 2rem;
    filter: none;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

.social-links a {
    background: var(--white);
    color: #1e3a8a;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: #1e3a8a;
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #1e3a8a;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: #1e3a8a;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-col ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.contact-list-minimal li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.contact-list-minimal i {
    width: 20px;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(30, 58, 138, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.fade-in { opacity: 0; animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.fade-in-left { opacity: 0; animation: fadeInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.fade-in-right { opacity: 0; animation: fadeInRight 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards; }

/* Scroll Animations */
.fade-up, .service-card, .product-item, .partners-img {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible, .service-card.visible, .product-item.visible, .partners-img.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-image {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease-out;
}

.about-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-text {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease-out;
}

.about-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Enhanced Hero */
.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -1px;
}

/* Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.tag {
    background: var(--light);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--accent);
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

/* Partners Section */
.partners {
    padding: 6rem 0;
    background: var(--white);
}

.partners-img {
    width: 100%;
    max-width: 900px;
    margin: 3rem auto 0;
    display: block;
    opacity: 0.8;
    filter: grayscale(1);
    transition: var(--transition);
}

.partners-img:hover {
    opacity: 1;
    filter: grayscale(0);
}

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

/* Flyer Showcase Slider */
.flyer-showcase {
    background: var(--secondary);
    color: var(--white);
    padding: 8rem 0;
    overflow: hidden;
}

.slider-container {
    position: relative;
    margin-top: 4rem;
}

.slider {
    position: relative;
    width: 100%;
}

.slide {
    display: none;
    animation: slideFade 0.8s ease-in-out;
}

.slide.active {
    display: block;
}

@keyframes slideFade {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-content {
    align-items: center;
    gap: 4rem;
}

.slide-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.slide-text p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    line-height: 1.8;
}

.slide-actions {
    display: flex;
    gap: 1.5rem;
}

.slide-image img {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    background: var(--white);
    padding: 10px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.slider-controls button {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-controls button:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.slider-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: var(--transition);
}

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

/* Product Categories */
.product-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.category-block h5 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-categories .tags-container {
    justify-content: flex-start;
    margin-top: 0;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
        z-index: 100;
    }

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

    .menu-toggle { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .products-grid { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
    .hero-btns { justify-content: center; flex-direction: column; }
    .about-stats { justify-content: center; }
    .footer .grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .footer-brand p { margin: 0 auto; }
    .slide-content { grid-template-columns: 1fr; text-align: center; }
    .slide-actions { justify-content: center; flex-direction: column; }
    .slide-text h3 { font-size: 2rem; }
    .product-categories { grid-template-columns: 1fr; gap: 2rem; }
}

