@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #004e92;
    --primary-light: #0088cc;
    --secondary: #00d4ff;
    --accent: #ffbb00;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8fbff;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 30px rgba(0, 78, 146, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

/* Sections */
section {
    padding: 5rem 0;
}

.section-head {
    text-align: center;
    margin-bottom: 4rem;
}

.section-head h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-head p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white); /* Solid white background */
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 78, 146, 0.1);
    box-shadow: var(--shadow-sm);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(0, 78, 146, 0.05);
}

.logo img {
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply; /* Blends white background logos seamlessly */
    filter: contrast(1.1); /* Sharpens the logo */
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 78, 146, 0.45), rgba(0, 0, 0, 0.3)), url('assets/foam_background.png');
    background-size: cover;
    background-position: center bottom;
    padding-top: 5rem;
    color: var(--white);
    image-rendering: auto;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease-in-out;
    transform: translateX(20px);
    max-width: 700px;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.hero-slide h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    font-weight: 800;
}

.hero-slide p {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 600px;
}

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

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom: 4px solid var(--secondary);
}

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

/* SEO Footer Content */
.seo-content {
    background: #f1f5f9;
    padding: 3rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Responsive */
.btn-call {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, var(--accent), #ff9900);
    color: var(--text-dark);
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 187, 0, 0.3);
    transition: var(--transition);
}

.btn-call:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 187, 0, 0.5);
}

.btn-call i {
    width: 20px;
    height: 20px;
}

@media (max-width: 992px) {
    .nav-links {
        display: none; /* Hide standard links to make room for call button */
    }
    
    .menu-toggle {
        display: block; /* Show hamburger instead */
    }

    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid rgba(0, 78, 146, 0.1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .section-head h2 {
        font-size: 2rem;
    }
    section {
        padding: 4rem 0;
    }
    .btn-call span {
        display: none;
    }
    .btn-call {
        padding: 0.6rem;
        border-radius: 50%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-btns {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .container {
        padding: 0 1.5rem;
    }
}
