:root {
    --primary-color: #002B49; /* Deep blue from the image */
    --secondary-color: #009CDE; /* Light blue */
    --accent-color: #25D366; /* WhatsApp Green */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --font-family: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

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

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); color: var(--white); }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo-img {
    height: 50px;
}

.logo-text h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
#hero {
    width: 100%;
    aspect-ratio: 1911 / 950;
    position: relative;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

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

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
    border: none;
    z-index: 10;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
    background-color: var(--primary-color);
}

.hero-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 400px;
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.badge-icon {
    font-size: 3rem;
    color: var(--secondary-color);
}

.badge-text h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.badge-text span {
    font-size: 1rem;
    color: var(--text-light);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-visual-grid .item-top {
    grid-column: span 2;
}

.about-visual-grid .item-top img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.about-visual-grid .item-box {
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.about-visual-grid .exp-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-visual-grid .exp-num {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-visual-grid .exp-text {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.about-visual-grid .item-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.sub-title {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.about-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-content .description {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-header {
    padding: 1rem 1.5rem;
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--bg-light);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: var(--white);
}

.accordion-item.active .accordion-content {
    max-height: 200px; /* Adjust based on content */
    padding: 1rem 1.5rem;
}

.accordion-item.active .accordion-header {
    background-color: var(--primary-color);
    color: var(--white);
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

/* Insurers Section (Slider) */
.slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: 2rem;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    margin: 0 -1rem;
}

.slide-item {
    flex: 0 0 33.333%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.insurer-card-new {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.insurer-card-new img {
    width: 100%;
    height: auto;
    display: block;
}

.insurer-name {
    display: block;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
    margin-top: auto;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.slider-indicator {
    width: 30px;
    height: 4px;
    background-color: #E2E8F0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-indicator.active {
    background-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .slide-item {
        flex: 0 0 100%;
    }
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-num {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
}

.step-card img {
    height: 120px;
    margin: 0 auto 1.5rem;
    object-fit: contain;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-color);
}

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

.service-card {
    padding: 3rem 2rem;
    border-radius: 15px;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.service-card p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.service-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-card ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.service-card ul li::before {
    content: '→';
    color: var(--secondary-color);
}

/* Clients Section */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.client-item {
    background-color: #E6F0FA;
    color: var(--primary-color);
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.client-item.dark {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-form h3, .contact-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(0, 156, 222, 0.2);
}

textarea {
    margin-bottom: 1.5rem;
}

.btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn:hover {
    background-color: var(--secondary-color);
}

.btn:disabled {
    background-color: #CBD5E1;
    cursor: not-allowed;
    color: transparent;
    position: relative;
}

.btn:disabled::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 0.8s linear infinite;
}

/* Form Status Banners */
.form-status {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    font-size: 0.95rem;
    display: none;
    align-items: center;
    gap: 0.8rem;
    animation: slideDown 0.3s ease forwards;
}

.form-status.success {
    display: flex;
    background-color: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

.form-status.error {
    display: flex;
    background-color: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.info-items {
    margin-top: 2rem;
}

.info-items p {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img {
    height: 180px;
    background-color: #DDD;
    background-image: linear-gradient(135deg, #ddd 25%, transparent 25%), linear-gradient(225deg, #ddd 25%, transparent 25%), linear-gradient(45deg, #ddd 25%, transparent 25%), linear-gradient(315deg, #ddd 25%, #e5e5e5 25%);
    background-position: 10px 0, 10px 0, 0 0, 0 0;
    background-size: 20px 20px;
    background-repeat: repeat;
}

.blog-body {
    padding: 1.5rem;
}

.blog-body h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.blog-body span {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
}

/* Map Section */
.map-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.map-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.map-image img {
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Footer */
footer {
    background-color: #E2E8F0;
    padding-top: 4rem;
    color: var(--text-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-logo p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-social h4, .footer-contact h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.social-icons a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-bottom {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: var(--accent-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-grid, .contact-grid, .map-grid, .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-group {
        grid-template-columns: 1fr;
    }
    
    .hero-badge {
        margin: 0 auto;
    }
}
