:root {
    --color-bg: #F0F6F7; /* Cool soft teal-white background tint */
    --color-bg-alt: #E2ECED; /* Slightly deeper cool teal tint for alternate sections */
    --color-text: #1A2E35; /* Dark teal-grey for readability and contrast */
    --color-text-light: #4A6068; /* Slate light grey-blue */
    --color-primary: #0D7A87; /* Beautiful Rich Ocean Teal */
    --color-primary-hover: #085B65; /* Darker Ocean Teal on hover */
    --color-secondary: #163742; /* Deep Slate Teal for strong accents and headers */
    --color-accent: #E76F51; /* Warm Coral accent for CTA highlights, stars, tags */
    --color-accent-hover: #D65E41;
    --color-white: #FFFFFF;
    --color-border: #DBECEE; /* Soft blue-tint border */
    
    --font-primary: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(240, 246, 247, 0.85);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(13, 122, 135, 0.1);
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-secondary);
}

.logo-subtext {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-left: 0.2rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--color-text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--color-text);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    border: 1px solid var(--color-primary);
}

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

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

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

.large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #E2EFF1 0%, #F0F6F7 100%);
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    mask-image: linear-gradient(to right, transparent, black 40%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 40%);
}

.hero-content {
    max-width: 650px;
    z-index: 2;
    margin-left: 4rem; /* Shift text to the right */
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--color-secondary);
}

.hero-title .highlight {
    font-weight: 600;
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Sections */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: #FAFDFC; /* soft tinted near-white for offset */
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

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

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

.service-card {
    background: var(--color-white);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-primary);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--color-accent);
    box-shadow: 0 12px 30px rgba(13, 122, 135, 0.08);
}

.service-card .icon {
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.service-card .icon svg {
    width: 2.5rem;
    height: 2.5rem;
    stroke-width: 1.5;
}

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

.service-item .service-image {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.service-item .service-image img {
    width: 150px;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-item h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.service-item p {
    color: var(--color-text-light);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-light);
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    position: relative;
}

.step-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    transition: var(--transition);
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--color-accent);
    box-shadow: 0 12px 30px rgba(13, 122, 135, 0.08);
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

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

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.highlighted {
    border-color: var(--color-accent);
    border-top: 5px solid var(--color-accent);
    box-shadow: 0 12px 30px rgba(231, 111, 81, 0.08);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 122, 135, 0.1);
}

.pricing-card.highlighted:hover {
    box-shadow: 0 15px 35px rgba(231, 111, 81, 0.15);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.25rem 1.25rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.badge.popular {
    background: var(--color-accent);
}

.badge.recommended {
    background: var(--color-secondary);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.pricing-header h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.price {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.price-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.5;
}

.check {
    color: var(--color-primary);
    font-weight: bold;
}

.pricing-card .btn-primary, .pricing-card .btn-secondary {
    width: 100%;
    text-align: center;
}

/* About */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: var(--color-secondary);
    color: #DBECEE;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    color: var(--color-white) !important;
}

.footer-brand .logo-subtext {
    color: #A0BFC7;
}

.footer-brand p {
    color: #A0BFC7;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-white);
}

.footer-section p {
    color: #A0BFC7;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-section a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-section a:hover {
    text-decoration: underline;
    color: var(--color-accent-hover);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #A0BFC7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-disclaimer {
    text-align: center;
    color: #7A939C;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    line-height: 1.5;
}

.copyright {
    text-align: center;
    color: #7A939C;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-image-wrapper {
        opacity: 0.15;
        width: 100%;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .hero-content {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Legal Pages */
.legal-section {
    padding-top: 150px;
    padding-bottom: 5rem;
}

.legal-header {
    margin-bottom: 3rem;
    text-align: center;
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.legal-header .subtitle {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.legal-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.legal-content h4 {
    font-size: 1.1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.legal-content p, .legal-content li {
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content .alert {
    background: #f8f9fa;
    border-left: 4px solid var(--color-primary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.legal-content .alert strong {
    color: var(--color-text);
}

.legal-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light);
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.modal-content p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input[type="text"], .form-group input[type="tel"], .form-group input[type="number"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input[type="text"]:focus, .form-group input[type="tel"]:focus, .form-group input[type="number"]:focus {
    outline: none;
    border-color: var(--color-primary);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-actions .btn-secondary, .modal-actions .btn-primary {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
}

/* Form Page Styles */
.form-page {
    padding-top: 120px;
    padding-bottom: 5rem;
    background-color: var(--color-bg);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--color-text-light);
}

.form-section {
    margin-bottom: 3rem;
}

.form-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    border-left: 4px solid var(--color-primary);
    padding-left: 0.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--color-white);
    cursor: pointer;
}

.hidden {
    display: none !important;
}

/* Radio Button Styling */
.radio-group {
    display: flex;
    gap: 1.5rem;
}

.radio-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
}

.radio-inline input[type="radio"] {
    accent-color: var(--color-primary);
    transform: scale(1.2);
    margin: 0;
    cursor: pointer;
}

.vertical-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vertical-radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400 !important;
}

/* Card Style Radio Buttons */
.card-radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.card-radio {
    cursor: pointer;
    display: block;
}

.card-radio input[type="radio"] {
    display: none; /* Hide default radio */
}

.card-radio-content {
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-radio-content img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.card-radio-content span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Active state for card radio */
.card-radio input[type="radio"]:checked + .card-radio-content {
    border-color: var(--color-primary);
    background-color: rgba(13, 122, 135, 0.08);
}

.plan-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.plan-card .card-radio-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.plan-card .card-radio-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Checkbox Grid Styles */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-inline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 400 !important;
}

.checkbox-inline input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    accent-color: var(--color-primary);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .form-container {
        padding: 1.5rem;
    }
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* Auth Page */
.auth-page {
    padding-top: 150px;
    padding-bottom: 5rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.auth-container {
    max-width: 450px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.auth-header p {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.5;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-secondary);
}

.auth-form input {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.auth-toggle {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.auth-toggle a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-toggle a:hover {
    color: #1e8449;
    text-decoration: underline;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & GLOBAL ADJUSTMENTS
   ========================================================================== */

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Make images, svg and videos fluid */
img, svg, video {
    max-width: 100%;
    height: auto;
}

/* Mobile Hamburger Menu Toggle (Checkbox Hack) */
.nav-toggle {
    display: none;
}

.nav-mobile-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 105;
}

.nav-mobile-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger to 'X' animation */
.nav-toggle:checked ~ .nav-mobile-btn span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle:checked ~ .nav-mobile-btn span:nth-child(2) {
    opacity: 0;
}

.nav-toggle:checked ~ .nav-mobile-btn span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Navigation Drawer Mobile CSS */
@media (max-width: 768px) {
    .nav-mobile-btn {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 80px; /* aligns with header-content height */
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        background: rgba(250, 250, 250, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--color-border);
        flex-direction: column;
        align-items: center;
        gap: 1.5rem !important;
        padding: 2rem 1.5rem;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
        z-index: 99;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }
    
    .nav-toggle:checked ~ .nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav a {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.02);
    }

    .nav a:last-child {
        border-bottom: none;
    }
    
    .nav .btn-primary, .nav .btn-secondary {
        width: 100% !important;
        max-width: 300px;
        text-align: center;
        padding: 0.8rem 1.5rem;
        margin-top: 0.5rem;
        border-radius: 8px;
    }
}

/* Custom Spacing & Typography for Small Screens */
@media (max-width: 576px) {
    .container {
        padding: 0 1.25rem; /* Slightly tighter padding to maximize width on mobile */
    }
    
    .section {
        padding: 3.5rem 0; /* Save vertical scrolling fatigue */
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   SKELETON LOADERS
   ========================================================================== */
.skeleton-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border-top: 4px solid #eaeaea;
    position: relative;
    overflow: hidden;
}

.skeleton-line {
    background: #e5e7eb;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.skeleton-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.skeleton-title {
    width: 60%;
    height: 1.5rem;
    margin-bottom: 0;
}

.skeleton-badge {
    width: 25%;
    height: 1.5rem;
    background: #e5e7eb;
    border-radius: 20px;
}

.skeleton-text {
    height: 1rem;
}

.skeleton-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.skeleton-button {
    flex: 1;
    height: 2.25rem;
    background: #e5e7eb;
    border-radius: 8px;
}

/* Shimmer animation overlays the loading elements */
.skeleton-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 20%,
        rgba(255, 255, 255, 0.6) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS CUSTOM OVERRIDES
   ========================================================================== */

/* Grid and column layouts on mobile */
@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    .steps-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .about-text p {
        font-size: 1rem !important;
    }
}

/* Cards Grid mobile tuning */
@media (max-width: 576px) {
    .cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
}

/* Matching Page filters mobile layout */
@media (max-width: 768px) {
    .matching-controls {
        padding: 1.25rem !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1rem !important;
    }
    .matching-controls .control-group {
        width: 100% !important;
        flex: 1 1 100% !important;
        min-width: 100% !important;
    }
    #searchBtn {
        width: 100% !important;
        padding: 0.8rem 1.5rem !important;
    }
}

/* Modal responsive padding */
@media (max-width: 576px) {
    .modal-content {
        padding: 1.5rem !important;
    }
}

/* Auth page container scaling */
@media (max-width: 576px) {
    .auth-container {
        padding: 2rem 1.25rem !important;
        border-radius: 12px !important;
    }
    .auth-page {
        padding-top: 100px !important;
        padding-bottom: 3rem !important;
    }
}

/* Form page mobile container padding */
@media (max-width: 480px) {
    .form-container {
        padding: 1.25rem !important;
    }
    .form-section {
        margin-bottom: 2rem !important;
    }
    .card-radio-content {
        padding: 0.75rem !important;
    }
}

/* Legal pages responsive padding */
@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem !important;
        border-radius: 8px !important;
    }
    .legal-section {
        padding-top: 100px !important;
        padding-bottom: 3rem !important;
    }
}

/* Priority Registration Fee Banner */
.priority-banner {
    background: linear-gradient(135deg, #163742 0%, #0D7A87 100%);
    border-radius: 12px;
    border-left: 5px solid var(--color-accent);
    color: var(--color-white);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(13, 122, 135, 0.15);
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.priority-banner-content {
    flex: 2;
    min-width: 280px;
}

.priority-banner-actions {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.priority-banner-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

@media (max-width: 768px) {
    .priority-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        padding: 1.5rem;
        border-left: none;
        border-top: 5px solid var(--color-accent);
    }
    .priority-banner-actions {
        align-items: stretch;
        text-align: left;
    }
}
