@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0A2540;
    --primary-light: #1E6091;
    --accent: #38B000;
    --accent-glow: rgba(56, 176, 0, 0.4);
    --bg-light: #F8F9FA;
    --bg-card: rgba(255, 255, 255, 0.85);
    --text-dark: #2D3748;
    --text-muted: #718096;
    --white: #FFFFFF;
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: clip;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    font-weight: 700;
}

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

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

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

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

.section-padding {
    padding: 80px 0;
}

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

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative; /* Needed so nav-links can be absolutely centered */
}

.logo {
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--accent);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    position: absolute;             /* Lift out of flex flow */
    left: 50%;                      /* Start at center of navbar */
    transform: translateX(-50%);    /* Shift back by half its own width = true center */
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
    position: relative;
    padding: 8px 0;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #2da100;
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.close-menu {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 24px;
    right: 24px;
}

.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    width: 100%;                       /* Ensures hero never exceeds viewport width */
    max-width: 100%;                   /* Guards against any inherited width leak */
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;      /* Prevents tile bleed on small screens */
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;                  /* Clips any child that bleeds outside hero bounds */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.95) 0%, rgba(30, 96, 145, 0.8) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
    width: 100%;                       /* Allows it to shrink on narrow screens */
    box-sizing: border-box;            /* Padding won't add to declared width */
    color: var(--white);
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    animation: slideUp 0.8s ease-out forwards;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    animation: slideUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: slideUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
    justify-content: center;
}

.hero-btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.hero-btn-primary:hover {
    background-color: #2da100;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-3px);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.hero-btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.stats-container {
    margin-top: 60px;
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.section-header {
    max-width: 650px;
    margin: 0 auto 56px auto;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.category-card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 96, 145, 0.2);
}

.category-image {
    height: 150px;
    overflow: hidden;
    position: relative;
}

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

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-icon {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background-color: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.category-content {
    padding: 24px 20px 20px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.category-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.category-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.category-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-btn i {
    transition: var(--transition);
}

.category-card:hover .category-btn {
    color: var(--accent);
}

.category-card:hover .category-btn i {
    transform: translateX(4px);
}

.why-choose {
    background-color: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.why-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why-features .section-header {
    text-align: center;
}

.why-feature {
    display: flex;
    gap: 20px;
}

.why-feature-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background-color: rgba(30, 96, 145, 0.1);
    color: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.why-feature:hover .why-feature-icon {
    background-color: var(--accent);
    color: var(--white);
    transform: scale(1.05);
}

.why-feature-text h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

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

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    background-color: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 96, 145, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.benefit-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

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

.how-works {
    background-color: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step-card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 40px 24px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-num {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    border: 4px solid var(--bg-light);
}

.step-card:hover .step-num {
    background-color: var(--accent);
}

.step-icon {
    font-size: 2.25rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

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

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.comp-card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 48px 36px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.comp-card.recommended {
    border-color: var(--primary-light);
    border-width: 2px;
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.comp-card:hover {
    transform: translateY(-8px);
}

.comp-card.recommended:hover {
    transform: translateY(-8px) scale(1.03);
}

.badge {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
}

.comp-header {
    margin-bottom: 32px;
    text-align: center;
}

.comp-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.comp-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}

.comp-premium {
    margin-bottom: 32px;
    text-align: center;
}

.price {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-light);
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.comp-details {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comp-details li {
    font-size: 0.95rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.comp-details li i {
    color: var(--accent);
    font-size: 1.1rem;
}

.comp-btn {
    width: 100%;
}

.calculator-preview {
    background-color: var(--bg-light);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

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

.calc-info h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.calc-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.calc-bullets {
    display: inline-flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.calc-bullet {
    display: flex;
    align-items: center;
    gap: 16px;
}

.calc-bullet-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(56, 176, 0, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.calc-bullet-text {
    font-size: 0.95rem;
    font-weight: 500;
}

.calc-form-container {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

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

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

.form-control {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-light);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(30, 96, 145, 0.15);
}

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

.calc-btn {
    width: 100%;
    height: 48px;
    margin-top: 10px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tip-card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.tip-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.tip-image {
    height: 220px;
    overflow: hidden;
}

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

.tip-card:hover .tip-image img {
    transform: scale(1.1);
}

.tip-content {
    padding: 28px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.tip-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.tip-content h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    line-height: 1.4;
    color: var(--primary);
}

.tip-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.tip-btn {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.tip-btn i {
    transition: var(--transition);
}

.tip-card:hover .tip-btn {
    color: var(--accent);
}

.tip-card:hover .tip-btn i {
    transform: translateX(4px);
}

.faq-section {
    background-color: var(--bg-light);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.accordion-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--white);
    transition: var(--transition);
}

.accordion-header h3 {
    font-size: 1.05rem;
    margin: 0;
    font-weight: 600;
    color: var(--primary);
}

.accordion-icon {
    font-size: 0.95rem;
    color: var(--primary-light);
    transition: var(--transition);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background-color: var(--white);
}

.accordion-content-inner {
    padding: 0 24px 24px 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-top: 1px solid transparent;
}

.accordion-item.active {
    border-color: rgba(30, 96, 145, 0.2);
    box-shadow: var(--shadow-md);
}

.accordion-item.active .accordion-header {
    background-color: rgba(30, 96, 145, 0.02);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    transition: max-height 1s cubic-bezier(1, 0, 1, 0);
}

.accordion-item.active .accordion-content-inner {
    border-top-color: var(--border-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testi-card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testi-rating {
    margin-bottom: 20px;
}

.testi-rating i {
    color: #FFB000;
    font-size: 0.95rem;
}

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

.testi-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testi-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.testi-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.partners-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 24px;
    align-items: center;
}

.partner-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.partner-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.partner-card:hover .partner-logo {
    color: var(--primary);
}

.newsletter {
    background-color: var(--primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    color: var(--white);
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .form-control:focus {
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.15);
}

.cta {
    background-image: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.9);
    z-index: 1;
}

.cta .container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
}

.cta h2 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.footer {
    background-color: #051321;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-col .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.social-icon:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.9rem;
}

.footer-link a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-newsletter-text {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.footer-newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter-form .form-control:focus {
    border-color: var(--primary-light);
    background-color: rgba(255, 255, 255, 0.08);
}

.footer-btn {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.85rem;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
    font-size: 0.85rem;
}

.footer-legal-links a:hover {
    color: var(--white);
}

.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 37, 64, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.quote-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--white);
    border-radius: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    padding: 80px 24px 40px 24px;
    position: relative;
    box-shadow: none;
    border: none;
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.quote-modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

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

.modal-header {
    margin-top: auto;
    margin-bottom: 28px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.modal-header h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.quote-form-element {
    margin-bottom: auto;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.modal-form-grid .form-group-full {
    grid-column: span 2;
}

.modal-submit-btn {
    width: 100%;
    height: 48px;
    margin-top: 12px;
}

.custom-alert {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--white);
    border-left: 5px solid var(--accent);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 16px 24px;
    z-index: 9999;
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-alert.show {
    transform: translateY(0);
}

.custom-alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-alert-icon {
    color: var(--accent);
    font-size: 1.25rem;
}

.custom-alert span {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.inner-hero {
    height: 300px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
}

.inner-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 37, 64, 0.95) 0%, rgba(30, 96, 145, 0.8) 100%);
    z-index: 1;
}

.inner-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.inner-hero h1 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 12px;
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    justify-content: center;
}

.breadcrumbs a:hover {
    color: var(--white);
}

.plans-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.plan-detail-card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    transition: var(--transition);
}

.plan-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.plan-detail-image {
    width: 200px;
    position: relative;
    flex-shrink: 0;
}

.plan-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plan-detail-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: rgba(10, 37, 64, 0.85);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.plan-detail-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.plan-detail-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.plan-detail-content h3 i {
    color: var(--primary-light);
}

.plan-detail-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.plan-features-list {
    list-style: none;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.plan-features-list li {
    font-size: 0.8rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.plan-features-list li i {
    color: var(--accent);
}

.comparison-table-wrapper {
    overflow-x: auto;
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--bg-light);
    font-weight: 700;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background-color: rgba(30, 96, 145, 0.02);
}

.table-check {
    color: var(--accent);
    font-size: 1.1rem;
}

.table-cross {
    color: #E53E3E;
    font-size: 1.1rem;
}

.resources-main .section-header {
    text-align: center;
}

.resources-layout {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.resources-main {
    display: flex;
    flex-direction: column;
    gap: 60px;
    min-width: 0;
}

.steps-grid {
    display: grid;
    gap: 32px;
}

.step-card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 96, 145, 0.15);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--accent);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-icon {
    font-size: 2.25rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    display: block;
}


.guides-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.guide-download-card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
}

.guide-download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 96, 145, 0.15);
}

.guide-download-icon {
    font-size: 2.25rem;
    color: var(--accent);
    flex-shrink: 0;
}

.guide-download-info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.guide-download-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.guide-download-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.guide-download-card:hover .guide-download-btn {
    color: var(--accent);
}

.glossary-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.glossary-item {
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 24px;
    text-align: center;
}

.glossary-term {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.glossary-def {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.widget {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.widget h3 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-light);
}

.topics-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.topic-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.topic-item a span {
    background-color: var(--bg-light);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.topic-item a:hover {
    color: var(--accent);
}

.topic-item a:hover span {
    background-color: var(--accent);
    color: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

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

.story-content h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.story-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
}

.story-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.story-img-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.story-img-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.mv-card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.mv-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

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

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--white);
    border: 4px solid var(--accent);
    top: 22px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -8px;
}

.timeline-content {
    padding: 24px;
    background-color: var(--white);
    position: relative;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.timeline-year {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.timeline-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.expert-card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.expert-image {
    height: 280px;
    overflow: hidden;
}

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

.expert-info {
    padding: 24px 20px;
}

.expert-info h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.expert-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    margin-bottom: 16px;
}

.expert-socials {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.expert-social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.expert-social-icon:hover {
    background-color: var(--accent);
    color: var(--white);
}

.office-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 250px;
    position: relative;
}

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

.gallery-card:hover img {
    transform: scale(1.05);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 56px;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-col .section-header {
    text-align: center;
}

.contact-card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(30, 96, 145, 0.1);
    color: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-card-details h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

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

.contact-card-details strong {
    color: var(--text-dark);
}

.map-placeholder {
    height: 250px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.7);
    z-index: 1;
}

.map-btn {
    position: relative;
    z-index: 2;
}

.contact-form-col {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

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

.contact-form-grid .form-group-full {
    grid-column: span 2;
}

.contact-submit-btn {
    width: 100%;
    height: 48px;
    margin-top: 12px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body.menu-open {
    overflow: hidden;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    /* Stats grid: 2 columns on tablets to prevent hero overflow */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

    .comp-card.recommended {
        transform: none;
    }

    .comp-card.recommended:hover {
        transform: translateY(-8px);
    }

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

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

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

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-col:first-child,
    .footer-col:last-child {
        grid-column: span 3;
    }

    .plans-page-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background-color: #FFFFFF;
    }

    .navbar {
        height: 70px;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -50%;
        width: 50%;
        height: 100vh;
        background-color: #FDFDFD;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 80px 24px 40px 24px;
        gap: 32px;
        visibility: hidden;
        pointer-events: none;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    }

    .nav-menu.active {
        right: 0;
        visibility: visible;
        pointer-events: auto;
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1000;
        pointer-events: none;
    }

    .close-menu {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 24px;
        position: static;   /* Reset absolute centering — inside fixed drawer */
        transform: none;    /* Remove translateX — not needed inside drawer */
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    .nav-actions .btn {
        width: 100%;
    }

    .hero {
        min-height: auto;
        padding: 60px 0;
    }

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

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .steps-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .guides-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .glossary-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tips-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 23px;
        right: auto;
    }

    .left::after, .right::after {
        left: 23px;
    }

    .right {
        left: 0%;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .modal-content {
        padding: 80px 20px 40px 20px;
    }

    .modal-form-grid {
        grid-template-columns: 1fr;
    }

    .modal-form-grid .form-group-full {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.75rem;
    }

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

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

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

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

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

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

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

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

    .footer-col:first-child,
    .footer-col:last-child {
        grid-column: span 1;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .plan-detail-card {
        flex-direction: column;
    }

    .plan-detail-image {
        width: 100%;
        height: 200px;
    }

    .plan-features-list {
        grid-template-columns: 1fr;
    }

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

    .glossary-list {
        grid-template-columns: 1fr;
    }

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

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

    .office-gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-col {
        padding: 30px 20px;
    }

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

    .contact-form-grid .form-group-full {
        grid-column: span 1;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
    }
}

/* ── 480px breakpoint: very small phones (e.g. 412px) ──────────────────── */
@media (max-width: 480px) {

    /* Hero: reduce padding and min-height on tiny screens */
    .hero {
        padding: 40px 0;
        min-height: auto;
    }

    /* Hero heading: prevent text overflow on 412px screens */
    .hero-content h1 {
        font-size: 1.9rem;
        line-height: 1.25;
    }

    /* Hero paragraph: scale down for readability */
    .hero-content p {
        font-size: 0.95rem;
    }

    /* Hero content: ensure full width with no bleed */
    .hero-content {
        max-width: 100%;
        padding: 0 8px;
    }

    /* Stats grid: single column on tiny phones to prevent overflow */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Stat cards: compact on small screens */
    .stat-card {
        padding: 16px;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}
