/* ===========================
   RESET & BASE STYLES
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* ===========================
   LINKS & BUTTONS
=========================== */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: #3bb2b8 ;
}

.btn {
    display: inline-block;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #3bb2b8 ;
    color: white;
}

.btn-primary:hover {
    background: #1f4175;
}

.btn-secondary {
    background: #f8f9fa;
    color: #3bb2b8 ;
    border: 2px solid #3bb2b8 ;
}

.btn-secondary:hover {
    background: #3bb2b8 ;
    color: white;
}

/* ===========================
   HEADER & NAV
=========================== */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 999;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

nav .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3bb2b8 ;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
}

.cta-buttons a {
    margin-left: 1rem;
}

/* ===========================
   HERO SECTION
=========================== */
#hero {
    height: 100vh;
    background: linear-gradient(135deg, #42e695  0%, #3bb2b8  100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 5rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Floating icons animation */
.floating-icons .floating-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0);}
    50% { transform: translateY(-20px);}
}

/* ===========================
   SECTION TITLES
=========================== */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #3bb2b8 ;
    margin-bottom: 2rem;
}

/* ===========================
   ABOUT SECTION
=========================== */
#about {
    padding: 6rem 2rem;
    background: #ffffff;
}

.about-content p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}

/* ===========================
   SERVICES GRID
=========================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.service-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: #3bb2b8 ;
    margin-bottom: 1rem;
}

/* ===========================
   WHY US SECTION
=========================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.why-item {
    display: flex;
    align-items: flex-start;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.why-icon {
    font-size: 2rem;
    color: #3bb2b8 ;
    margin-right: 1rem;
}

/* ===========================
   HEALTH INSURANCE PLANS
=========================== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.plan-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.plan-card h3 {
    color: #3bb2b8 ;
    margin-bottom: 0.8rem;
}

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

.testimonial {
    display: none;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
}

.testimonial.active {
    display: block;
}

.testimonial-author {
    margin-top: 1rem;
    font-weight: 600;
    color: #3bb2b8 ;
}

/* ===========================
   FORMS
=========================== */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3bb2b8 ;
    outline: none;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===========================
   FOOTER
=========================== */
footer {
    background: #000 ;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: #ffffffcc;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #cccccc;
}

/* ===========================
   MODALS
=========================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 12px;
    max-width: 600px;
    position: relative;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* ===========================
   MEDIA QUERIES
=========================== */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}
