/* ==========================================================================
   DESIGN TOKENS & CORE STYLING
   ========================================================================== */
:root {
    --primary: #003366;
    --primary-light: #004d99;
    --primary-dark: #001f40;
    --secondary: #FFC107;
    --secondary-hover: #E0A800;
    --secondary-light: #FFF9E6;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --text-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-tint-blue: #F0F4F8;
    --bg-tint-yellow: #FFFDF0;
    --border-color: #E2E8F0;
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 51, 102, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 51, 102, 0.12);
    --shadow-hover: 0 20px 35px rgba(0, 51, 102, 0.16);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

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

/* UTILITY LAYOUTS */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* SECTION HEADER */
.section-header {
    margin-bottom: 50px;
}

.section-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-light);
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 12px;
    background-color: var(--bg-tint-blue);
    border-radius: 50px;
}

.section-tagline.tag-lic {
    color: #b38600;
    background-color: var(--bg-tint-yellow);
}

.section-tagline.tag-star {
    color: var(--primary-light);
    background-color: var(--bg-tint-blue);
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 16px auto 0;
    border-radius: 10px;
}

.title-underline.underline-yellow {
    background-color: var(--secondary);
}

.title-underline.underline-blue {
    background-color: var(--primary-light);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}

.btn-md {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(0, 51, 102, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-whatsapp-hero {
    border-color: #25D366;
    color: #25D366;
}

.btn-whatsapp-hero:hover {
    background-color: #25D366;
    color: var(--bg-white);
    border-color: #25D366;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   STICKY HEADER
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition);
}

.site-header.scrolled .header-container {
    height: 65px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--secondary);
    background-color: var(--primary-dark);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-right: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 16px; /* Reduced gap from 24px to prevent wrapping */
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
    white-space: nowrap; /* Prevents text from wrapping onto two lines */
    display: flex;
    align-items: center;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn-contact {
    background-color: var(--secondary);
    color: var(--primary-dark) !important;
    padding: 8px 16px !important;
    border-radius: 20px;
    font-weight: 600;
}

.nav-btn-contact::after {
    display: none;
}

.nav-btn-contact:hover {
    background-color: var(--primary);
    color: var(--bg-white) !important;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary);
    background-color: var(--bg-tint-blue);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.header-phone-btn:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

.icon-phone {
    width: 18px;
    height: 18px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1100;
}

.mobile-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 180px 0 120px; /* Taller hero section for a premium spacious feel */
    background-color: var(--bg-light);
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background-color: rgba(0, 51, 102, 0.07);
    top: -50px;
    right: -50px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background-color: rgba(255, 193, 7, 0.06);
    bottom: -50px;
    left: -50px;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.badge-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.icon-verified {
    width: 16px;
    height: 16px;
    color: var(--primary-light);
}

.hero-title {
    font-size: 3.55rem; /* Increased size for visual impact */
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.25rem; /* Increased subtitle size for better readability */
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 620px;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 45px;
}

.icon-wa {
    width: 20px;
    height: 20px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

/* Hero Image area */
.hero-image-area {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px; /* Increased max-width from 440px to 520px as requested */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-white);
    padding: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.hero-image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.hero-profile-img {
    width: 100%;
    border-radius: calc(var(--radius-lg) - 6px);
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border-color);
}

.badge-advisor {
    bottom: -20px;
    left: -20px;
    max-width: 280px;
}

.badge-icon {
    font-size: 1.5rem;
    background-color: var(--secondary-light);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-txt h4 {
    font-size: 0.95rem;
    color: var(--primary);
}

.badge-txt p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   2. ABOUT US SECTION
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    margin-top: 20px;
}

.about-lead {
    font-size: 1.6rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.about-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.core-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 35px;
}

.value-item {
    display: flex;
    gap: 16px;
}

.value-icon {
    background-color: var(--bg-tint-blue);
    color: var(--primary);
    width: 45px;
    height: 45px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.val-svg {
    width: 24px;
    height: 24px;
}

.value-text h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.value-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.office-preview-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.office-group-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.office-caption {
    background-color: var(--bg-light);
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.office-caption h4 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.office-caption p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   3 & 4. INSURANCE SERVICES SECTIONS
   ========================================================================== */
.services-section {
    padding: 100px 0;
}

.lic-bg {
    background-color: var(--bg-tint-yellow);
}

.health-bg {
    background-color: var(--bg-tint-blue);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
}

.service-icon-box {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-md);
    background-color: var(--secondary-light);
    color: var(--secondary-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon-box.star-icon {
    background-color: var(--bg-tint-blue);
    color: var(--primary-light);
}

.service-card:hover .service-icon-box {
    background-color: var(--primary);
    color: var(--bg-white);
    transition: var(--transition);
}

.svg-service {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   5. ADDITIONAL SERVICES SECTION
   ========================================================================== */
.additional-services-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.add-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.add-card:hover {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.add-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 51, 102, 0.05);
    position: absolute;
    top: 5px;
    right: 15px;
    transition: var(--transition);
}

.add-card:hover .add-num {
    color: rgba(255, 193, 7, 0.25);
}

.add-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.add-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   6. WHY CHOOSE US
   ========================================================================== */
.why-us-section {
    padding: 100px 0;
    background-color: var(--bg-tint-yellow);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    margin-top: 30px;
}

.why-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-item {
    display: flex;
    gap: 20px;
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.why-icon {
    font-size: 1.25rem;
    color: var(--primary-light);
    background-color: var(--bg-tint-blue);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-info h4 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.why-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.achievement-featured-card {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--secondary);
    text-align: center;
}

.feat-badge-img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-tag {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--primary-dark);
    padding: 4px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.achievement-featured-card h3 {
    font-size: 1.45rem;
    color: var(--bg-white);
    margin-bottom: 8px;
}

.achievement-featured-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   7. CLIENT GALLERY (CREDENTIALS)
   ========================================================================== */
.gallery-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--border-color);
}

.gal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 51, 102, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
}

.zoom-btn {
    font-size: 2.25rem;
    color: var(--secondary);
    font-weight: 300;
    margin-bottom: 12px;
}

.gal-meta h4 {
    font-size: 1.15rem;
    color: var(--bg-white);
    margin-bottom: 4px;
}

.gal-meta p {
    font-size: 0.8rem;
    color: var(--secondary);
}

.gallery-item:hover .gal-img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 31, 64, 0.98);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.lightbox-content img {
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
    color: var(--bg-white);
    margin-top: 15px;
    font-size: 1.15rem;
    font-family: var(--font-heading);
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    color: var(--bg-white);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--secondary);
}

.lightbox-prev, .lightbox-next {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--bg-white);
    font-size: 2rem;
    padding: 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ==========================================================================
   8. TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.rating {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.test-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 24px;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--bg-tint-blue);
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--primary);
}

.author-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   9. CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    margin-top: 40px;
}

.info-card {
    background-color: var(--primary);
    color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.info-card h3 {
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.info-lead {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.info-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-link-item {
    display: flex;
    gap: 16px;
}

.info-icon {
    font-size: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.05rem;
    color: var(--secondary);
    margin-bottom: 4px;
}

.info-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.info-text p a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.map-container {
    margin-top: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* CONTACT FORM */
.contact-form-area {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.contact-form p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group label .required {
    color: #DC2626;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(0, 81, 162, 0.15);
}

/* Validation styling */
.form-group.invalid input, .form-group.invalid select {
    border-color: #DC2626;
    background-color: #FEF2F2;
}

.error-msg {
    display: none;
    font-size: 0.75rem;
    color: #DC2626;
    font-weight: 500;
}

.form-group.invalid .error-msg {
    display: block;
}

.btn-submit {
    position: relative;
    padding: 14px;
}

.btn-submit.loading .btn-text {
    opacity: 0;
}

.btn-submit.loading .spinner {
    display: block;
}

.spinner {
    display: none;
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

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

/* ==========================================================================
   FORM SUCCESS OVERLAY MODAL
   ========================================================================== */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 31, 64, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(8px); /* Premium soft blur background */
    -webkit-backdrop-filter: blur(8px);
}

.success-modal.active {
    display: flex;
}

.success-modal-content {
    background-color: var(--bg-white);
    border-radius: 24px; /* More rounded premium corners */
    padding: 50px 40px 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 31, 64, 0.25);
    border: 1px solid var(--border-color);
    border-top: 6px solid var(--secondary); /* Premium gold top-border accent line */
    position: relative;
    animation: modalSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Sleek top-right X close button */
/* Pulsing SVG Checkmark Icon style */
.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981, #059669); /* Rich emerald green gradient */
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35);
    animation: pulseGreen 2.5s infinite;
}

@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.svg-success-check {
    width: 38px;
    height: 38px;
    color: var(--bg-white);
}

.success-modal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.success-modal-content p {
    font-size: 0.98rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.6;
}

.success-modal-actions {
    display: flex;
    flex-direction: column; /* Changed to column for stacked buttons */
    gap: 12px; /* Smooth gap between buttons */
    width: 100%;
}

.btn-whatsapp-success {
    background: linear-gradient(135deg, #25D366, #128C7E); /* Vibrant WhatsApp green gradient */
    color: var(--bg-white) !important;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    width: 100%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-whatsapp-success:hover {
    background: linear-gradient(135deg, #20ba5a, #0e6f63);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.btn-close-modal {
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    background-color: var(--bg-light);
    width: 100%;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-close-modal:hover {
    background-color: var(--border-color);
    color: var(--text-dark);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-widget h3 {
    font-size: 1.35rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.footer-widget h4 {
    font-size: 1.1rem;
    color: var(--bg-white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--secondary);
}

.brand-widget .tagline {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.brand-widget .desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-widget ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-widget p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
}

.contact-widget .phone-link, .contact-widget .wa-link, .contact-widget .mail-link {
    font-weight: 700;
}

.contact-widget a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.footer-bottom {
    background-color: #001226;
    padding: 24px 0;
}

.footer-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.designed {
    font-size: 0.8rem;
    color: var(--secondary);
}

.designed a {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.designed a:hover {
    color: var(--bg-white);
    text-decoration: underline;
}

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */
/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-light);
    color: var(--bg-white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transform: rotate(-90deg);
    transition: var(--transition);
}

.back-to-top.active {
    display: flex;
}

.back-to-top:hover {
    background-color: var(--secondary);
    color: var(--primary-dark);
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: var(--bg-white);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
}

.wa-float-icon {
    width: 32px;
    height: 32px;
}

.floating-wa:hover {
    transform: scale(1.08) translateY(-4px);
    background-color: #128C7E;
}

.wa-tooltip {
    position: absolute;
    left: 70px;
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    pointer-events: none;
    opacity: 0;
    white-space: nowrap;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.floating-wa:hover .wa-tooltip {
    opacity: 1;
    left: 65px;
}

/* Floating Email */
.floating-mail {
    position: fixed;
    bottom: 95px;
    left: 30px;
    background-color: var(--primary-light);
    color: var(--bg-white);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
}

.mail-float-icon {
    width: 28px;
    height: 28px;
}

.floating-mail:hover {
    transform: scale(1.08) translateY(-4px);
    background-color: var(--secondary);
    color: var(--primary-dark);
}

.mail-tooltip {
    position: absolute;
    left: 70px;
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    pointer-events: none;
    opacity: 0;
    white-space: nowrap;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.floating-mail:hover .mail-tooltip {
    opacity: 1;
    left: 65px;
}

/* ==========================================================================
   MOBILE MENU DRAWER & RESPONSIVE STYLING
   ========================================================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 31, 64, 0.5);
    z-index: 950;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* RESPONSIVE MEDIA QUERIES */

@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 2.65rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 900px) {
    /* Sticky header mobile changes */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 30px;
        gap: 20px;
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.15rem;
        width: 100%;
        padding: 10px 0;
    }
    
    .nav-btn-contact {
        width: 100%;
        text-align: center;
        border-radius: var(--radius-sm);
    }
    
    .header-phone-btn {
        display: none; /* Hide top phone btn to make space */
    }
    
    /* Hero layout */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-top: 30px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 30px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image-area {
        order: -1; /* Display portrait first on mobile */
    }
    
    .hero-image-wrapper {
        max-width: 340px;
    }
    
    .badge-advisor {
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
    }
    
    /* About Us layout */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content-right {
        order: -1;
    }
    
    .office-group-img {
        height: 300px;
    }
    
    /* Why Choose Us layout */
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-right {
        max-width: 440px;
        margin: 0 auto;
    }
    
    /* Contact layout */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 580px) {
    html {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 2.15rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .core-values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form-area {
        padding: 24px;
    }
}

/* ==========================================================================
   MOBILE STICKY BOTTOM BAR FOR QUICK ENQUIRY
   ========================================================================== */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--primary-dark);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
    z-index: 998;
    border-top: 3px solid var(--secondary);
}

.sticky-bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 700;
    gap: 4px;
    transition: var(--transition);
}

.sticky-bar-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-icon {
    width: 20px;
    height: 20px;
}

.call-item {
    background-color: var(--primary);
}

.call-item:hover {
    background-color: var(--primary-light);
}

.whatsapp-item {
    background-color: #25D366;
    color: white !important;
}

.whatsapp-item:hover {
    background-color: #128C7E;
}

.mail-item {
    background-color: #004d99;
}

.mail-item:hover {
    background-color: #003366;
}

/* Adjust layout on mobile devices to show sticky bottom bar and avoid overlaps */
@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: flex;
    }
    
    body {
        padding-bottom: 60px; /* Precludes content coverage by mobile footer */
    }
    
    .floating-wa, .back-to-top {
        bottom: 80px !important; /* Raises floating buttons to avoid overlaying the sticky bar */
    }
    .floating-mail {
        bottom: 145px !important;
    }
}
