/* ============================================
   KG Medical Policy - Modern Design
   Colors: #72B80F (green), #052F78 (navy)
   Style: Elegant, glassmorphism, 3D, rounded
   ============================================ */

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

:root {
    --primary: #72B80F;
    --primary-dark: #5a940c;
    --secondary: #052F78;
    --secondary-dark: #032358;
    --text-light: #ffffff;
    --text-dark: #333333;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 12px 48px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
    --border-radius: 20px;
    --border-radius-sm: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf0 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* ===== Glassmorphism Effects ===== */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* ===== Buttons with 3D effect ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    box-shadow: 0 5px 0 var(--primary-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 var(--primary-dark);
}

.btn-primary:active {
    transform: translateY(5px);
    box-shadow: 0 2px 0 var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    box-shadow: 0 5px 0 rgba(5, 47, 120, 0.3);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 0 rgba(5, 47, 120, 0.3);
}

.btn-outline:active {
    transform: translateY(5px);
    box-shadow: 0 2px 0 rgba(5, 47, 120, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    box-shadow: 0 5px 0 rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 0 rgba(255, 255, 255, 0.3);
}

.btn-3d {
    position: relative;
    transform-style: preserve-3d;
}

/* ===== Navigation ===== */
.navbar {
    position: sticky;
    top: 20px;
    z-index: 1000;
    margin: 20px auto;
    max-width: 1200px;
    padding: 10px 30px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    width: auto;
}

.brand-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-cta {
    margin-left: 20px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 10px;
}



/* ===== Hero Section ===== */
.hero {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary);
}

.hero-title .highlight {
    color: var(--primary);
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    min-height: 400px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 80%;
    max-height: 300px;
    object-fit: contain;
}

.floating-shape {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(114, 184, 15, 0.2);
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
}

.shape-1 {
    top: 20%;
    left: 10%;
    background: rgba(5, 47, 120, 0.3);
}

.shape-2 {
    bottom: 20%;
    right: 10%;
    background: rgba(114, 184, 15, 0.3);
}

/* ===== Features Section ===== */
.features {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    color: var(--secondary);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 20px;
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(114, 184, 15, 0.3);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.feature-card p {
    color: #555;
}

/* ===== CTA Section ===== */
.cta {
    padding: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    margin: 40px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    margin-top: 15px;
    opacity: 0.8;
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Responsive ===== */
/* Mobile styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 20px 0;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        box-shadow: var(--shadow-md);
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-links li:last-child a {
        border-bottom: none;
    }
    
    .nav-cta {
        display: none; /* Hide CTA button on mobile, or move into menu if desired */
    }
    
    .hamburger {
        display: flex;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .navbar {
        padding: 10px 15px;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .logo {
        height: 30px;
    }
}

    .hero .container {
        flex-direction: column;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
