@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Outfit:wght@300;400;500');

:root {
    /* Color Palette - Reverted to Professional Medical Blue (Option 2) */
    --primary-color: #1570a6;
    --primary-light: #45c4e5;
    --primary-dark: #0d4d73;
    --secondary-color: #299dd8;
    --accent-color: #87d4fb;
    --text-main: #313131;
    --text-muted: #666666;
    --bg-light: #f8fbfe;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 65px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.cta-button {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(21, 112, 166, 0.2);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 112, 166, 0.3);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 2000;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Mobile Active State */
.nav-toggle.toggle-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.toggle-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.toggle-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 3rem;
    }

    .nav-links.nav-active {
        right: 0;
    }

    .logo img {
        height: 50px;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 7rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
    flex: 1;
}

.four {
    flex: 0 0 33.333%;
}

.six {
    flex: 0 0 50%;
}

.eight {
    flex: 0 0 66.666%;
}

.twelve {
    flex: 0 0 100%;
}

@media (max-width: 768px) {

    .four,
    .six,
    .eight {
        flex: 0 0 100%;
        margin-bottom: 2.5rem;
    }
}

/* Cards */
.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card img {
    width: 100%;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

/* Footer */
footer {
    background: #1a2a3a;
    color: #f1f3f5;
    padding: 5rem 0 2rem;
}

footer h3 {
    color: var(--accent-color);
    margin-bottom: 1.8rem;
    font-size: 1.4rem;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 1rem;
}

footer a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 4rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #a0aec0;
}

/* Mutuas logos adjustments for professional look */
.mutuas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.mutua-logo {
    max-width: 140px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.mutua-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}