/* Global Styles */
:root {
    --primary-color: #4f46e5;
    --secondary-color: #3730a3;
    --accent-color: #818cf8;
    --gradient-start: #4f46e5;
    --gradient-end: #3730a3;
    --text-color: #1f2937;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-bg);
    padding-top: 0;
}

/* Navigation */
.navbar {
    position: static;
    top: unset;
    left: unset;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background: rgba(255,255,255,0.5) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    border-bottom: none;
    z-index: unset;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo img {
    height: 102px;
    width: auto;
}

.plum-pill { 
    background: #2e7d32;
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: 2rem;
    padding: 0.4rem 1.5rem;
    margin-left: 0.5rem;
    box-shadow: 0 2px 8px rgba(46,125,50,0.08);
    border: none;
    outline: none;
    transition: background 0.2s;
    display: inline-block;
}
.plum-pill span { font-weight: 600; }
.plum-pill:hover { background: #256427; }

.nav-links {
    display: flex;
    align-items: right;
    gap: 2.5rem;
    margin-left: 2.5rem;
    flex: 1;
    justify-content: flex-start;
}

.nav-links a {
    color: #4b185a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.13rem;
    transition: color 0.2s;
    position: relative;
    padding: 0 0.2rem;
}

.nav-links a:hover, .nav-links a.active {
    color: #e00036;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.header-btn {
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 1.2rem;
    padding: 0.6rem 1.7rem;
    border: 2px solid #ff4b5c;
    background: transparent;
    color: #ff4b5c;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    outline: none;
}
.header-btn.login:hover {
    background: #ffe6ea;
}
.header-btn.quote {
    background: #ff4b5c;
    color: #fff;
    border: 2px solid #ff4b5c;
    margin-left: 0.2rem;
}
.header-btn.quote:hover {
    background: #e00036;
    border-color: #e00036;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4b185a;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.mobile-menu:hover {
    background: rgba(255, 75, 92, 0.1);
    color: #e00036;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 1000;
    padding: 2rem;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-content.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-header .logo img {
    height: 60px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #4b185a;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.mobile-menu-close:hover {
    background: rgba(255, 75, 92, 0.1);
    color: #e00036;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2rem;
}

.mobile-nav-links a {
    color: #4b185a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: #e00036;
}

.mobile-nav-links a::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: #9ca3af;
}

.mobile-header-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.mobile-header-actions .header-btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
}

.mobile-dropdown {
    margin-top: 1rem;
}

.mobile-dropdown-title {
    color: #4b185a;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: color 0.2s;
}

.mobile-dropdown-title:hover {
    color: #e00036;
}

.mobile-dropdown-title::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: #9ca3af;
    transition: transform 0.2s;
}

.mobile-dropdown-title.active::after {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.mobile-dropdown-content.active {
    display: block;
}

.mobile-dropdown-content a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    color: #6b7280;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f9fafb;
    transition: color 0.2s;
}

.mobile-dropdown-content a:hover {
    color: #e00036;
}

/* Responsive Navigation */
@media (max-width: 900px) {
    .nav-links { 
        gap: 1.2rem; 
        margin-left: 1rem; 
    }
    .header-actions { 
        gap: 0.5rem; 
    }
    .header-btn {
        padding: 0.5rem 1.2rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    
    .nav-links { 
        display: none; 
    }
    .header-actions { 
        display: none; 
    }
    .mobile-menu { 
        display: block; 
    }
    
    .logo img {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 3%;
    }
    
    .logo img {
        height: 70px;
    }
    
    .mobile-menu {
        font-size: 1.3rem;
    }
    
    .mobile-menu-content {
        width: 280px;
        padding: 1.5rem;
    }
    
    .mobile-menu-header .logo img {
        height: 50px;
    }
    
    .mobile-nav-links a {
        font-size: 1rem;
        padding: 0.8rem 0;
    }
    
    .mobile-header-actions .header-btn {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="%234f46e5" fill-opacity="0.1"/></svg>') repeat;
    opacity: 0.5;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #4b5563;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 13px rgba(0, 0, 0, 0.1));
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 350px;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.slider-image.active {
    opacity: 1;
    z-index: 2;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 5%;
    background: var(--white);
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background: var(--light-bg);
    transition: transform 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.08);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.1);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 { 
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 6rem 5% 5rem;
    background: #fff;
}

.why-choose-container {
    display: flex;
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
    align-items: flex-start;
    flex-wrap: wrap;
}

.why-choose-left {
    flex: 1 1 350px;
    min-width: 320px;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-right: 2rem;
}

.why-choose-left h2 {
    font-size: 2.7rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: -1px;
    font-family: 'Inter', sans-serif;
}

.why-light {
    color: #22223b;
    font-weight: 400;
    font-style: italic;
}

.why-bold {
    color: #4f46e5;
    font-weight: 800;
    font-style: normal;
}

.why-desc {
    color: #22223b;
    font-size: 1.25rem;
    margin-bottom: 2.2rem;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
}

.why-illustration {
    margin-top: 1.5rem;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.why-choose-right {
    flex: 2 1 600px;
    display: flex;
    gap: 2rem;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow: visible;
    position: relative;
    min-height: 340px;
}

.why-card {
    background: #f9faff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(79, 70, 229, 0.07);
    border: 2px solid #e0e7ff;
    padding: 2.5rem 2rem 2rem;
    flex: 1 1 48%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
    position: relative;
    left: 0;
    opacity: 1;
    z-index: 1;
}

.why-card:hover {
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.13);
    border-color: #4f46e5;
    transform: translateY(-6px) scale(1.03);
}

.why-icon {
    font-size: 2.5rem;
    color: #4f46e5;
    margin-bottom: 1.1rem;
}

.why-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #22223b;
    font-family: 'Inter', sans-serif;
}

.why-card-bold {
    color: #4f46e5;
    font-weight: 800;
}

.why-card-underline {
    width: 38px;
    height: 3px;
    background: #4f46e5;
    border-radius: 2px;
    margin-bottom: 1.1rem;
}

.why-card p {
    color: #22223b;
    font-size: 1.1rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 1100px) {
    .why-choose-container {
        flex-direction: column;
        gap: 2.5rem;
    }
    .why-choose-left {
        padding-right: 0;
        max-width: 100%;
    }
    .why-choose-right {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 3rem 2% 2rem;
    }
    .why-choose-left h2 {
        font-size: 2rem;
    }
    .why-card {
        min-width: 90%;
        max-width: 100%;
        padding: 1.5rem 1rem 1.5rem;
    }
    .why-choose-right {
        flex-direction: column;
        gap: 1rem;
    }
}

/* CTA Section */
.cta-section {
    padding: 5rem 5%;
    text-align: center;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="%23ffffff" fill-opacity="0.1"/></svg>') repeat;
    opacity: 0.5;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 0.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: var(--text-color);
    color: var(--white);
    padding: 4rem 5% 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-section a:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    
    .nav-links { 
        display: none; 
    }
    .header-actions { 
        display: none; 
    }
    .mobile-menu { 
        display: block; 
    }
    
    .logo img {
        height: 80px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
        min-height: auto;
        padding: 2rem 5%;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 3rem 5%;
        gap: 1.5rem;
    }

    .hero-slider, .slider-image {
        height: 200px;
    }

    /* Insurance Products Grid Mobile Responsive */
    .insurance-products-section {
        padding: 2rem 5% !important;
    }

    .insurance-products-section h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
    }

    .insurance-products-grid {
        flex-direction: column !important;
        gap: 2rem !important;
        align-items: center !important;
    }

    .insurance-products-grid a {
        width: 100%;
        max-width: 280px;
    }

    .insurance-products-grid a > div {
        max-width: 100% !important;
        width: 100%;
    }

    /* Why Choose Section Mobile */
    .why-choose-section {
        padding: 3rem 5%;
    }

    .why-choose-container {
        flex-direction: column;
        gap: 2rem;
    }

    .why-choose-left h2 {
        font-size: 2rem;
        text-align: center;
    }

    .why-choose-right {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* CTA Section Mobile */
    .cta-section {
        padding: 2rem 5%;
        text-align: center;
    }

    .cta-section p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        padding: 0;
    }

    .footer-section img {
        height: 100px !important;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .insurance-products-grid {
        gap: 3rem !important;
        flex-wrap: wrap;
        justify-content: center;
    }

    .insurance-products-grid a {
        flex: 0 0 calc(33.333% - 2rem);
        min-width: 200px;
    }

    .why-choose-container {
        gap: 2rem;
    }

    .why-choose-left h2 {
        font-size: 2.2rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .insurance-products-section h2 {
        font-size: 1.5rem !important;
    }

    .insurance-products-grid a > div {
        max-width: 100% !important;
    }

    .why-choose-left h2 {
        font-size: 1.8rem;
    }

    .reviews-title {
        font-size: 1.8rem;
    }

    .partners-title {
        font-size: 1.8rem;
    }

    .navbar {
        padding: 1rem 3%;
    }

    .logo img {
        height: 80px;
    }
}

/* Medium Mobile Devices */
@media (max-width: 768px) and (min-width: 481px) {
    .insurance-products-grid {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 1.5rem !important;
        justify-content: center;
    }

    .insurance-products-grid a {
        flex: 0 0 calc(50% - 1.5rem);
        max-width: 200px;
    }
}

/* AOS Animation Customization */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

.reviews-section {
    padding: 5rem 5% 4rem;
    background: linear-gradient(135deg, #e0e7ff 0%, #f0f9ff 100%);
    text-align: center;
}

.reviews-title {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.review-card {
    background: var(--white);
    border-radius: 1.5rem;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.08);
    padding: 2.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(79, 70, 229, 0.08);
}

.review-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 32px rgba(79, 70, 229, 0.15);
    border-color: var(--primary-color);
}

.review-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.2rem;
    border: 3px solid var(--accent-color);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content p {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.review-content h4 {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 3rem 2% 2rem;
    }
    .reviews-title {
        font-size: 2rem;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.member-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #fff;
}

.partners-section {
    background: #f7f8fa;
    padding: 4rem 5% 4rem 5%;
    text-align: center;
}

.partners-title {
    font-size: 2.3rem;
    color: #22223b;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.partners-subtitle {
    color: #6b7280;
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.partner-logo {
    background: #fff;
    border-radius: 0.7rem;
    box-shadow: 0 2px 12px rgba(79, 70, 229, 0.06);
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 60px;
    min-width: 120px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 35px;
    filter: grayscale(1) brightness(0.7);
    transition: filter 0.3s, transform 0.3s;
}

.partner-logo:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.13);
}

.partner-logo:hover img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .partners-section {
        padding: 2rem 2% 2rem 2%;
    }
    .partners-title {
        font-size: 1.5rem;
    }
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
}

/* --- Expandable Team Member Card Styles --- */
.expandable-member {
    position: relative;
    transition: height 0.3s;
    overflow: visible;
    min-height: 350px;
}

.expandable-member:hover {
    min-height: 600px;
    z-index: 2;
}

.member-bio {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    background: rgba(255, 255, 255, 0.97);
    padding: 1.5rem;
    border-radius: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease, opacity 0.3s;
    opacity: 0;
    z-index: 2;
    overflow: visible;
}

.expandable-member:hover .member-bio {
    transform: translateY(0);
    opacity: 1;
}

.expandable-member .member-bio h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.expandable-member .member-bio p {
    color: #374151;
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
    line-height: 1.7;
}

.expandable-member .member-bio strong {
    color: var(--secondary-color);
    font-weight: 700;
}

@media (max-width: 768px) {
    .expandable-member .member-bio {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        min-height: unset;
        margin-top: 1rem;
        box-shadow: none;
        border-radius: 1rem;
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    }
    .expandable-member:hover .member-bio {
        transform: none;
        opacity: 1;
    }
}

.dropdown {
    position: relative;
    display: inline-block;
}

.tool-btn {
    background: #fff;
    color: #ff4b5c;
    border: 2px solid #ff4b5c;
    margin-left: 0.2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 1.2rem;
    padding: 0.6rem 1.7rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.tool-btn:hover {
    background: #ffe6ea;
}

.tool-btn.active {
    background: #ffe6ea;
    color: #e00036;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: #fff;
    min-width: 210px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    border-radius: 1rem;
    z-index: 1001;
    margin-top: 0.5rem;
    padding: 0.7rem 0;
}

.dropdown-content a {
    color: #4b185a;
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    display: block;
    font-weight: 500;
    border-radius: 0.7rem;
    transition: background 0.2s, color 0.2s;
}
.dropdown-content a:hover {
    background: #f0f9ff;
    color: #4f46e5;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}

/* Ensure dropdown is visible when opened via JavaScript */
.dropdown-content.show {
    display: block !important;
}

.read-more-btn {
    display: inline-block;
    padding: 0.5rem 1.3rem;
    background: #fff;
    color: #4f46e5;
    border: 2px solid #4f46e5;
    border-radius: 1.2rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border 0.2s;
    box-shadow: 0 2px 8px rgba(79,70,229,0.07);
}
.read-more-btn:hover {
    background: #4f46e5;
    color: #fff;
    border-color: #4f46e5;
}

/* Additional Mobile Responsive Styles */
@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
        padding: 3rem 5%;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card i {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }

    /* Improve text readability on mobile */
    .hero-content p {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    /* Better spacing for mobile */
    .insurance-products-section {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    /* Improve button sizing on mobile */
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    /* Better partner logo sizing */
    .partner-logo {
        min-height: 60px;
        padding: 1rem;
    }

    .partner-logo img {
        max-height: 35px;
    }

    /* Contact Page Mobile Responsive */
    .contact-section {
        padding: 6rem 5% 3rem !important;
        min-height: auto !important;
    }

    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .contact-info h2 {
        font-size: 2rem !important;
        text-align: center;
    }

    .contact-info p {
        text-align: center;
        font-size: 1rem;
    }

    .contact-details {
        margin-top: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }

    .contact-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
        font-size: 2rem;
    }

    .contact-form {
        padding: 2rem !important;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* About Page Mobile Responsive */
    .about-section {
        padding: 6rem 5% 3rem !important;
    }

    .about-header h1 {
        font-size: 2.2rem !important;
    }

    .about-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .about-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .about-text h2 {
        font-size: 2rem !important;
        text-align: center;
    }

    .about-text p {
        font-size: 1rem;
        text-align: center;
    }

    .stats-section {
        padding: 3rem 5% !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    .stat-number {
        font-size: 2.5rem !important;
    }

    .stat-label {
        font-size: 1rem !important;
    }

    .team-section {
        padding: 3rem 5% !important;
    }

    .team-header h2 {
        font-size: 2rem !important;
    }

    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .member-image {
        height: 250px !important;
    }

    .member-info h3 {
        font-size: 1.3rem !important;
    }

    .member-info p {
        font-size: 1rem !important;
    }

    /* Founding and Core Value Sections Mobile */
    .founding-section,
    .core-value-section {
        margin: 2rem 5% !important;
        padding: 2rem !important;
        flex-direction: column !important;
    }

    .founding-content h2,
    .core-value-content h2 {
        font-size: 1.8rem !important;
        text-align: center;
    }

    .founding-content p,
    .core-value-content p {
        font-size: 1rem;
        text-align: center;
    }

    /* Services Page Mobile Responsive */
    .services-section {
        padding: 6rem 5% 3rem !important;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .service-card {
        padding: 1.5rem !important;
    }

    .service-card h3 {
        font-size: 1.3rem !important;
    }

    .service-card p {
        font-size: 0.95rem !important;
    }

    /* Insurance Pages Mobile Responsive */
    .insurance-hero {
        padding: 6rem 5% 3rem !important;
        min-height: auto !important;
    }

    .insurance-hero h1 {
        font-size: 2.2rem !important;
    }

    .insurance-hero p {
        font-size: 1rem !important;
    }

    .insurance-content {
        padding: 3rem 5% !important;
    }

    .insurance-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .insurance-card {
        padding: 1.5rem !important;
    }

    .insurance-card h3 {
        font-size: 1.3rem !important;
    }

    .insurance-card p {
        font-size: 0.95rem !important;
    }

    /* Calculator Pages Mobile Responsive */
    .calculator-section {
        padding: 6rem 5% 3rem !important;
    }

    .calculator-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .calculator-form {
        padding: 2rem !important;
    }

    .calculator-result {
        padding: 2rem !important;
    }

    .form-group input,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Map Section Mobile */
    .map-section {
        padding: 2rem 5% !important;
    }

    .map-title {
        font-size: 1.8rem !important;
    }

    .map-embed iframe {
        height: 250px !important;
    }

    /* Careers Page Mobile */
    .careers-section {
        padding: 6rem 5% 3rem !important;
    }

    .careers-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .career-card {
        padding: 1.5rem !important;
    }

    .career-card h3 {
        font-size: 1.3rem !important;
    }

    .career-card p {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .features {
        padding: 2rem 3%;
    }

    .feature-card {
        padding: 1.2rem;
    }

    .feature-card i {
        font-size: 2rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* Contact Page Small Mobile */
    .contact-section {
        padding: 5rem 3% 2rem !important;
    }

    .contact-info h2 {
        font-size: 1.8rem !important;
    }

    .contact-form {
        padding: 1.5rem !important;
    }

    /* About Page Small Mobile */
    .about-section {
        padding: 5rem 3% 2rem !important;
    }

    .about-header h1 {
        font-size: 1.8rem !important;
    }

    .about-text h2 {
        font-size: 1.6rem !important;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .stat-number {
        font-size: 2rem !important;
    }

    .team-header h2 {
        font-size: 1.8rem !important;
    }

    .member-image {
        height: 200px !important;
    }

    /* Founding and Core Value Sections Small Mobile */
    .founding-section,
    .core-value-section {
        margin: 1.5rem 3% !important;
        padding: 1.5rem !important;
    }

    .founding-content h2,
    .core-value-content h2 {
        font-size: 1.5rem !important;
    }

    /* Services Page Small Mobile */
    .services-section {
        padding: 5rem 3% 2rem !important;
    }

    .service-card {
        padding: 1.2rem !important;
    }

    .service-card h3 {
        font-size: 1.2rem !important;
    }

    /* Insurance Pages Small Mobile */
    .insurance-hero {
        padding: 5rem 3% 2rem !important;
    }

    .insurance-hero h1 {
        font-size: 1.8rem !important;
    }

    .insurance-content {
        padding: 2rem 3% !important;
    }

    .insurance-card {
        padding: 1.2rem !important;
    }

    .insurance-card h3 {
        font-size: 1.2rem !important;
    }

    /* Calculator Pages Small Mobile */
    .calculator-section {
        padding: 5rem 3% 2rem !important;
    }

    .calculator-form,
    .calculator-result {
        padding: 1.5rem !important;
    }

    /* Map Section Small Mobile */
    .map-section {
        padding: 1.5rem 3% !important;
    }

    .map-title {
        font-size: 1.5rem !important;
    }

    .map-embed iframe {
        height: 200px !important;
    }

    /* Careers Page Small Mobile */
    .careers-section {
        padding: 5rem 3% 2rem !important;
    }

    .career-card {
        padding: 1.2rem !important;
    }

    .career-card h3 {
        font-size: 1.2rem !important;
    }
}

/* Medium Mobile Devices */
@media (max-width: 768px) and (min-width: 481px) {
    .insurance-products-grid {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 1.5rem !important;
        justify-content: center;
    }

    .insurance-products-grid a {
        flex: 0 0 calc(50% - 1.5rem);
        max-width: 200px;
    }

    /* Contact Page Medium Mobile */
    .contact-container {
        gap: 2.5rem !important;
    }

    .contact-info h2 {
        font-size: 2.2rem !important;
    }

    .contact-form {
        padding: 2.5rem !important;
    }

    /* About Page Medium Mobile */
    .about-header h1 {
        font-size: 2.4rem !important;
    }

    .about-text h2 {
        font-size: 2.2rem !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Services Page Medium Mobile */
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Insurance Pages Medium Mobile */
    .insurance-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Calculator Pages Medium Mobile */
    .calculator-container {
        gap: 2.5rem !important;
    }

    /* Careers Page Medium Mobile */
    .careers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .insurance-products-grid {
        gap: 3rem !important;
        flex-wrap: wrap;
        justify-content: center;
    }

    .insurance-products-grid a {
        flex: 0 0 calc(33.333% - 2rem);
        min-width: 200px;
    }

    .why-choose-container {
        gap: 2rem;
    }

    .why-choose-left h2 {
        font-size: 2.2rem;
    }

    /* Contact Page Tablet */
    .contact-container {
        gap: 3rem;
    }

    .contact-info h2 {
        font-size: 2.3rem;
    }

    /* About Page Tablet */
    .about-header h1 {
        font-size: 2.8rem;
    }

    .about-text h2 {
        font-size: 2.3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services Page Tablet */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Insurance Pages Tablet */
    .insurance-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Calculator Pages Tablet */
    .calculator-container {
        gap: 3rem;
    }

    /* Careers Page Tablet */
    .careers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
} 