/* ==========================================================================
   ADFinServe Custom Brand Styling & Layout (Scratch Built)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700,800|Inter:300,400,500,600,700&display=swap');
/* Font Awesome is loaded via CDN in index.html <head> */

:root {
    --brand-blue: #004b93;
    --brand-blue-light: #0066c6;
    --brand-blue-dark: #002e5b;
    --brand-blue-deep: #002244;
    --brand-gold: #f2bc18;
    --brand-gold-hover: #d3a111;
    --brand-white: #ffffff;
    --brand-bg-light: #f8fafc;
    --brand-text-dark: #1e293b;
    --brand-text-gray: #64748b;
    --card-shadow: 0 4px 20px rgba(0, 75, 147, 0.05);
    --card-shadow-hover: 0 12px 30px rgba(0, 75, 147, 0.12);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
}

/* Content Copy Protection */
body, p, h1, h2, h3, h4, h5, h6, span, div, a, li, img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, textarea, select {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--brand-text-dark);
    background-color: var(--brand-bg-light);
    line-height: 1.6;
    padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Common Layout Components */
.section {
    padding: 80px 0;
}

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

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

.section-title {
    font-size: 2.2rem;
    color: var(--brand-blue-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--brand-blue);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3.5px;
    background-color: var(--brand-gold);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--brand-text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

/* Navigation Bar */
.navbar-header {
    background-color: var(--brand-white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid var(--brand-gold);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 48px;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--brand-text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-blue);
    transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--brand-blue);
}

.nav-appointment-btn {
    background-color: var(--brand-blue);
    color: var(--brand-white);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 75, 147, 0.15);
}

.nav-appointment-btn:hover {
    background-color: var(--brand-gold);
    color: var(--brand-blue-dark);
    box-shadow: 0 4px 15px rgba(242, 188, 24, 0.25);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--brand-text-dark);
    transition: all 0.3s ease;
}

/* Hero Section (Dark Glassmorphic Theme - Softer & Lighter Blue) */
.hero-section {
    background: linear-gradient(135deg, #00366b 0%, #0055a5 100%);
    padding: 100px 0 100px 0;
    color: var(--brand-white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 198, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--brand-white);
}

.hero-content h1 span {
    color: var(--brand-gold);
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
}

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

.btn-primary {
    background-color: var(--brand-blue);
    color: var(--brand-white);
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 75, 147, 0.15);
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--brand-gold);
    color: var(--brand-blue-dark);
    box-shadow: 0 4px 15px rgba(242, 188, 24, 0.3);
}

.hero-content .btn-primary {
    background-color: var(--brand-gold);
    color: var(--brand-blue-dark);
    box-shadow: 0 4px 10px rgba(242, 188, 24, 0.25);
}

.hero-content .btn-primary:hover {
    background-color: var(--brand-white);
    color: var(--brand-blue-dark);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.hero-content .btn-secondary {
    border: 2px solid var(--brand-gold);
    color: var(--brand-gold);
    padding: 12px 26px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.3s ease;
}

.hero-content .btn-secondary:hover {
    background-color: var(--brand-gold);
    color: var(--brand-blue-dark);
}

.btn-highlight {
    background-color: var(--brand-gold);
    color: var(--brand-blue-dark);
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(242, 188, 24, 0.35);
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-highlight:hover {
    background-color: var(--brand-blue);
    color: var(--brand-white);
    box-shadow: 0 4px 15px rgba(0, 75, 147, 0.2);
}

.hero-visual {
    position: relative;
}

/* Credentials Panel (Dark Glassmorphic Theme Card) */
.glass-panel {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    color: var(--brand-white);
}

.glass-panel h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--brand-gold);
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.credential-item:last-child {
    margin-bottom: 0;
}

.credential-item .icon {
    font-size: 1.8rem;
    color: var(--brand-gold);
    background-color: rgba(255, 255, 255, 0.05);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.credential-item h4 {
    font-size: 1.05rem;
    margin-bottom: 3px;
    color: var(--brand-white);
}

.credential-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Who We Are Section */
.about-section {
    background-color: var(--brand-white);
    border-bottom: 1px solid #e2e8f0;
}

/* Services Grid Section */
.services-section {
    background-color: var(--brand-bg-light);
    border-bottom: 1px solid #e2e8f0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: var(--brand-white);
    padding: 35px 25px;
    border-radius: 8px;
    border-bottom: 4px solid transparent;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: 1px solid #f1f5f9;
}

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

.service-card .icon-box {
    font-size: 2.2rem;
    color: var(--brand-blue);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .icon-box {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--brand-blue-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--brand-text-gray);
    margin-bottom: 20px;
}

.service-card .learn-link {
    font-weight: 600;
    color: var(--brand-blue);
    font-size: 0.85rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-card:hover .learn-link {
    color: var(--brand-gold-hover);
}

/* Interactive SIP Calculator (Light/Bright Styled) */
.calc-section {
    background-color: #f1f5f9;
    color: var(--brand-text-dark);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.calc-tabs-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 6px 0 16px 0;
    text-align: center;
}

.calc-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.calc-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 8px 12px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 75, 147, 0.08);
    max-width: 100%;
}

.calc-tab-btn {
    border: none;
    background: transparent;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--brand-blue-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.calc-tab-btn:hover {
    color: var(--brand-blue);
    background: rgba(0, 75, 147, 0.05);
}

.calc-tab-btn.active {
    background: var(--brand-blue);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 75, 147, 0.3);
}

.calc-title h2 {
    color: var(--brand-blue-dark);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    margin-top: 40px;
}

.calc-inputs {
    background-color: var(--brand-white);
    border: 1px solid #e2e8f0;
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.input-group {
    margin-bottom: 30px;
}

.input-group:last-child {
    margin-bottom: 0;
}

.label-container {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.label-container span:last-child {
    color: var(--brand-blue);
}

.slider-input {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: #cbd5e1;
    outline: none;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--brand-blue);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 75, 147, 0.3);
    transition: transform 0.1s ease;
}

.slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-results {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    border: none;
    box-shadow: 0 12px 30px rgba(0, 75, 147, 0.15);
    border-radius: 12px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--brand-white);
}

.result-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.result-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.result-card h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.result-card .value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-white);
}

.result-card.highlight .value {
    color: var(--brand-gold);
}

/* FAQ Accordions */
.faq-section {
    background-color: var(--brand-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: center;
}

.faq-image img {
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.acc-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: var(--brand-bg-light);
    overflow: hidden;
}

.acc-btn {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    text-align: left;
}

.acc-btn .icon-box {
    color: var(--brand-gold-hover);
    font-size: 0.9rem;
}

.acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.acc-content p {
    font-size: 0.9rem;
    color: var(--brand-text-gray);
    padding-bottom: 20px;
}

.acc-card.active {
    border-color: var(--brand-blue);
    background-color: var(--brand-white);
}

.acc-card.active .acc-btn {
    color: var(--brand-blue);
}

.acc-card.active .acc-content {
    max-height: 200px;
}

/* Contact Section */
.contact-section {
    background-color: var(--brand-bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.contact-card {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    color: var(--brand-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 75, 147, 0.1);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--brand-gold);
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-info-list li .icon {
    font-size: 1.5rem;
    color: var(--brand-gold);
}

.contact-info-list li h4 {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info-list li p {
    font-size: 1rem;
}

.contact-form-container {
    background-color: var(--brand-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid #e2e8f0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--brand-blue);
}

textarea.form-control {
    resize: none;
    height: 120px;
}

.form-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 4px;
    background-color: var(--brand-blue);
    color: var(--brand-white);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 75, 147, 0.15);
}

.form-btn:hover {
    background-color: var(--brand-blue-dark);
}

/* Map Section */
.map-section iframe {
    width: 100%;
    height: 350px;
    display: block;
}

/* Footer Section (Bright Corporate Blue) */
.footer-section {
    background-color: var(--brand-blue-dark);
    color: var(--brand-white);
    padding: 60px 0 20px 0;
    border-top: 3px solid var(--brand-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--brand-gold);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 8px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--brand-gold);
}

.footer-widget p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gold);
}

.social-links a:hover {
    background-color: var(--brand-gold);
    color: var(--brand-blue-deep);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
    color: var(--brand-gold);
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-contact li span {
    color: var(--brand-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Service Details Modal (Light Glass Theme) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 41, 59, 0.5); /* Soft dim background */
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

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

.modal-container {
    background: var(--brand-white);
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 20px 50px rgba(0, 75, 147, 0.15);
    color: var(--brand-text-dark);
    position: relative;
    padding: 40px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--brand-text-gray);
    cursor: pointer;
}

.modal-close:hover {
    color: var(--brand-blue);
}

.modal-header h3 {
    font-size: 1.6rem;
    color: var(--brand-blue-dark);
    margin-bottom: 5px;
}

.modal-header .subtitle {
    font-size: 0.95rem;
    color: var(--brand-text-gray);
    margin-bottom: 20px;
    font-weight: 500;
}

.modal-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--brand-text-dark);
    margin-bottom: 25px;
}

.modal-body h4 {
    font-size: 1.1rem;
    color: var(--brand-blue);
    margin-bottom: 12px;
}

.modal-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.modal-benefits li {
    font-size: 0.9rem;
    color: var(--brand-text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-benefits li span {
    color: var(--brand-blue);
}

.modal-footer-btn {
    text-align: center;
}

.modal-footer-btn a {
    display: inline-block;
    background-color: var(--brand-blue);
    color: var(--brand-white);
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 75, 147, 0.15);
}

.modal-footer-btn a:hover {
    background-color: var(--brand-gold);
    color: var(--brand-blue-dark);
}

/* Responsive Media Queries */
@media only screen and (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .calc-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-image {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media only screen and (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--brand-blue-dark);
        flex-direction: column;
        padding: 30px 0;
        gap: 20px;
        border-bottom: 2px solid var(--brand-gold);
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu .nav-link {
        color: var(--brand-white) !important;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--brand-gold) !important;
    }

    .nav-menu.active {
        max-height: 550px;
        visibility: visible;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

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

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Navigation Dropdown styling */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown .fa-caret-down {
    transition: transform 0.3s ease;
}

.nav-dropdown.active .fa-caret-down {
    transform: rotate(180deg);
}

.dropdown-menu-list {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--brand-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-top: 3px solid var(--brand-gold);
    z-index: 1100;
}

.dropdown-menu-list::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: transparent;
}

.nav-dropdown:hover .dropdown-menu-list {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brand-text-dark);
    transition: all 0.2s ease;
    text-align: left;
}

.dropdown-item:hover {
    background-color: #f1f5f9;
    color: var(--brand-blue);
    padding-left: 25px;
}

/* Calculator Tabs Styles */
.calc-tabs {
    display: inline-flex;
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px;
    border-radius: 40px;
    margin-bottom: 0;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.calc-tab-btn {
    background-color: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calc-tab-btn:hover {
    color: var(--brand-white);
}

.calc-tab-btn.active {
    background-color: var(--brand-gold);
    color: var(--brand-blue-dark);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(242, 188, 24, 0.35);
}

.inline-val-input {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: var(--brand-text-dark);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    width: 60px;
    text-align: center;
    display: inline-block;
    margin-left: 5px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.inline-val-input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 2px rgba(0, 75, 147, 0.1);
}

.inline-val-input.long-val {
    width: 120px;
    text-align: right;
}

/* Remove up/down spinners for number fields */
.inline-val-input::-webkit-outer-spin-button,
.inline-val-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.inline-val-input[type=number] {
    -moz-appearance: textfield;
}

.inline-input-wrap {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

.calc-panel {
    display: none;
}

.calc-panel.active {
    display: block;
}

/* Service Detail Page Grid */
.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Responsive adjustment for Mobile dropdown */
@media only screen and (max-width: 767px) {
    /* ── Service Detail Grid Mobile ── */
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nav-dropdown {
        display: block;
        width: 100%;
        text-align: center;
    }
    .dropdown-menu-list {
        position: static;
        transform: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        background-color: transparent;
        border-top: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: all 0.35s ease;
        width: 100%;
    }
    
    .nav-dropdown.active .dropdown-menu-list,
    .nav-dropdown:hover .dropdown-menu-list {
        opacity: 1;
        visibility: visible;
        max-height: 200px;
        padding: 10px 0 5px 0;
        transform: none;
    }
    .dropdown-item {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 0.85rem;
        padding: 5px 0;
    }
    .dropdown-item:hover {
        background-color: transparent;
        color: var(--brand-gold) !important;
        padding-left: 0;
    }

    /* ── Calculator Tabs Mobile ── */
    .calc-tabs {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        border-radius: 12px;
        padding: 8px;
        gap: 8px;
    }
    .calc-tab-btn {
        width: 100%;
        border-radius: 8px;
        padding: 12px 16px;
        text-align: center;
        font-size: 0.85rem;
    }

    /* ── Calculator Panel Mobile ── */
    .calc-section {
        padding: 30px 0;
    }
    .calc-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .calc-inputs {
        padding: 20px 16px;
    }
    .calc-results {
        padding: 20px 16px;
    }
    .result-card .value {
        font-size: 1.4rem !important;
    }

    /* ── Mode Toggle Mobile ── */
    .mode-toggle-btn {
        font-size: 0.75rem !important;
        padding: 8px 8px !important;
    }

    /* ── Hero Section Mobile ── */
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 0.95rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    /* ── Section Headings Mobile ── */
    .section-title {
        font-size: 1.6rem !important;
    }
    .section {
        padding: 40px 0;
    }

    /* ── Service Cards Mobile ── */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .service-card {
        padding: 24px 18px;
    }

    /* ── Stats Bar Mobile ── */
    .stats-bar {
        flex-direction: column;
        gap: 20px;
    }

    /* ── Life Stage Planner Mobile ── */
    .stage-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }
    .stage-tab-btn {
        flex: 1 1 calc(50% - 8px);
        font-size: 0.8rem;
        padding: 10px 8px;
    }

    /* ── Footer Mobile ── */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    /* ── WhatsApp Lead Buttons Mobile ── */
    a[id^="wa-btn-"] {
        font-size: 0.82rem !important;
        padding: 11px 14px !important;
    }

    /* ── Contact Grid Mobile ── */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* ── Form Mobile ── */
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0;
    }

    /* ── Modal Mobile ── */
    .modal-container {
        padding: 25px 18px;
        margin: 20px;
    }

    /* ── Inline Input Wrap Mobile ── */
    .inline-val-input {
        width: 55px;
    }
    .inline-val-input.long-val {
        width: 100px;
    }

    /* ── Regulatory Panel Mobile ── */
    .reg-badges {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ==========================================================================
   Contact Form — Toast Notification & Loading State
   ========================================================================== */

.form-toast {
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    animation: toastSlideIn 0.35s ease;
}

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

.toast-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #43a047;
}

.toast-error {
    background-color: #fdecea;
    color: #c62828;
    border-left: 4px solid #e53935;
}

/* Spinner animation for loading button */
@keyframes fa-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.fa-spin {
    animation: fa-spin 1s linear infinite;
    display: inline-block;
}

#submit-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

/* ==========================================================================
   CAPTCHA Styles
   ========================================================================== */

.captcha-group {
    margin-top: 4px;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.captcha-img {
    width: 160px;
    height: 50px;
    border: 2px solid #dce3ef;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    transition: border-color 0.2s ease;
    user-select: none;
}

.captcha-img:hover {
    border-color: var(--brand-blue);
}

.captcha-refresh {
    background: #f0f4ff;
    border: 2px solid #dce3ef;
    border-radius: 8px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--brand-blue);
    font-size: 1rem;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.3s ease;
}

.captcha-refresh:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
    transform: rotate(180deg);
}

.captcha-input {
    letter-spacing: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.captcha-input::placeholder {
    letter-spacing: 0;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: none;
}

/* ==========================================================================
   WhatsApp Responsive Integration Style
   ========================================================================== */

/* ── 1. Desktop Layout (Hide menu link, show floating button) ── */
.nav-menu .nav-whatsapp-btn {
    display: none; /* Hide WhatsApp button in desktop header navigation */
}

.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1500;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Pulsing effect via pseudo-element */
.whatsapp-float-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    z-index: -1;
    opacity: 0.5;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    background-color: #20ba5a;
    color: #fff;
}

.whatsapp-float-btn span {
    display: block;
    line-height: 1;
}

/* Tooltip on hover */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: #1e293b;
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #1e293b;
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Pulsing scale animation */
@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* ── 2. Mobile Layout Adjustments (Show menu link, hide floating button) ── */
@media only screen and (max-width: 767px) {
    /* Hide floating button on mobile screen */
    .whatsapp-float-btn {
        display: none !important;
    }

    /* Display green button in mobile collapsible menu with Make an Appointment size formatting */
    .nav-menu .nav-whatsapp-btn {
        display: inline-flex; /* Show inside mobile menu */
        background-color: #25d366;
        color: var(--brand-white) !important;
        padding: 10px 20px;
        border-radius: 4px;
        font-weight: 700;
        font-size: 0.9rem;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-transform: uppercase;
        box-shadow: 0 4px 10px rgba(37, 211, 102, 0.15);
        width: auto;
        min-width: 200px;
        margin: 5px auto 0 auto;
    }
    
    .nav-menu .nav-whatsapp-btn:hover {
        background-color: #20ba5a;
    }

    .nav-menu .nav-whatsapp-btn span {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   Testimonial Native Scroll Slider Styles
   ========================================================================== */
.review-slider-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 5px 15px 5px;
}

.review-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding-bottom: 10px;
}

.review-slider-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.review-slide-card {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .review-slide-card {
        flex: 0 0 calc(50% - 10px);
        width: calc(50% - 10px);
    }
}

@media (min-width: 1024px) {
    .review-slide-card {
        flex: 0 0 calc(33.333% - 13.33px);
        width: calc(33.333% - 13.33px);
    }
}

/* Bottom Navigation Controls Bar */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    background: white;
    border: 2px solid #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-radius: 50%;
    color: var(--brand-blue-dark);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.slider-btn:hover {
    background: var(--brand-blue);
    color: white;
    border-color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11, 71, 157, 0.25);
}

.slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--brand-blue);
    width: 26px;
    border-radius: 10px;
}