:root {
    /* Color Palette */
    --navy-dark: #0A192F;
    --navy-primary: #112D4E;
    --blue-wave: #3F72AF;
    --light-blue: #DBE2EF;

    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA8825;

    --white: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-main: #333333;
    --text-muted: #6C757D;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Variables */
    --header-height: 100px;
}

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

section,
.contact-footer-wrapper {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--navy-dark);
    line-height: 1.2;
}

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

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

.text-gold {
    color: var(--gold);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--white);
    border: 2px solid var(--gold);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

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

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

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

.btn-outline:hover {
    background-color: var(--navy-primary);
    color: var(--white);
}

/* --- Header --- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-light);
    z-index: 1000;
    transition: all var(--transition-fast);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#header.scrolled {
    background-color: rgba(248, 249, 250, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 80px;
    border-bottom: none;
}

#header.scrolled .nav-link {
    color: var(--navy-dark);
}

#header.scrolled .nav-link:hover,
#header.scrolled .nav-link.active {
    color: var(--gold);
}

#header.scrolled .text-logo {
    color: var(--navy-dark);
}

.header-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

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

.logo-img {
    height: 70px;
    width: auto;
    transition: var(--transition-fast);
}

#header.scrolled .logo-img {
    height: 58px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.1;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.1;
    letter-spacing: 0.2px;
    margin-top: 0.2rem;
    transition: var(--transition-fast);
}

#header.scrolled .logo-title {
    font-size: 1.4rem;
}

#header.scrolled .logo-subtitle {
    font-size: 0.75rem;
}

.text-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

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

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.main-nav .btn {
    padding: 0.55rem 1.35rem;
    font-size: 0.925rem;
}

.nav-link {
    font-weight: 500;
    color: var(--navy-dark);
    position: relative;
    padding: 0.5rem 0;
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--navy-dark);
    transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
    box-sizing: border-box;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
    transform: scale(1.05);
    /* Slight scale for animation buffer */
    animation: zoomOutBg 20s infinite alternate linear;
}

@keyframes zoomOutBg {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(17, 45, 78, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    color: var(--white);
    max-width: 750px;
    margin: 0;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
    border-left: 3px solid var(--gold);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(3.2rem, 5.8vh, 4.2rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.18;
}

.hero p {
    font-size: 1.18rem;
    color: var(--light-blue);
    margin-bottom: 2.25rem;
    max-width: 680px;
    line-height: 1.65;
}

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

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Scroll Up Indicator */
.scroll-indicator-up {
    position: absolute;
    top: calc(var(--header-height) + 8px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator-up .mouse {
    transform: rotate(180deg);
}

.mouse {
    width: 22px;
    height: 34px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    position: relative;
    display: flex;
    justify-content: center;
}

.wheel {
    width: 3px;
    height: 6px;
    background-color: var(--gold);
    border-radius: 2px;
    margin-top: 5px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards ease-out;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
    html {
        scroll-snap-type: none !important;
    }

    .scroll-indicator,
    .scroll-indicator-up {
        display: none !important;
    }
}

@media (max-width: 1024px) {

    #header {
        height: 70px;
    }

    #header.scrolled {
        height: 65px;
    }

    .header-container {
        padding: 0 1rem;
    }

    .logo {
        gap: 0.5rem;
        max-width: calc(100% - 55px);
        overflow: hidden;
    }

    .logo-img {
        height: 44px !important;
        flex-shrink: 0;
    }

    #header.scrolled .logo-img {
        height: 40px !important;
    }

    .logo-title {
        font-size: 1.1rem !important;
        white-space: nowrap;
    }

    .logo-subtitle {
        font-size: 0.65rem !important;
        white-space: nowrap;
    }

    .mobile-menu-btn {
        display: flex !important;
        position: absolute !important;
        right: 1rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 1001 !important;
        padding: 0.5rem !important;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        background-color: var(--navy-dark) !important;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        right: 0;
        left: auto;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        transition: transform var(--transition-slow), opacity var(--transition-slow), visibility var(--transition-slow);
        padding: 2rem;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .main-nav.open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .nav-link {
        color: var(--navy-dark);
        font-size: 1.25rem;
    }

    #header.scrolled .mobile-menu-btn span {
        background-color: var(--navy-dark);
    }

    .mobile-menu-btn span {
        background-color: var(--navy-dark);
    }

    .mobile-menu-btn {
        display: flex;
        flex-shrink: 0;
        margin-left: auto;
        padding: 0.5rem;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* --- Sections Common --- */
.section {
    padding: calc(var(--header-height) + 3.25rem) 0 3.75rem 0;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.bg-light-alt {
    background-color: var(--white);
}

.section-header {
    max-width: 750px;
    margin: 0 auto 2.5rem auto;
}

.section-header h2 {
    font-size: clamp(2rem, 4vh, 2.6rem);
    margin-bottom: 0.75rem;
}

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

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

/* --- About Section --- */
#about {
    background-color: var(--navy-primary);
    color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 8px;
    width: 100%;
    height: 555px;
    max-height: 555px;
    object-fit: cover;
    object-position: 50% 10%;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-accent {
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 60%;
    height: 60%;
    background-color: var(--gold);
    border-radius: 8px;
    z-index: 1;
}

.about-content h2 {
    font-size: clamp(1.8rem, 3.6vh, 2.4rem);
    margin-bottom: 1.25rem;
    color: var(--white);
}

.about-content .lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.85rem;
}

.about-content p {
    color: var(--light-blue);
    margin-bottom: 1.25rem;
    font-size: 0.98rem;
}

.features-list {
    list-style: none;
    margin-top: 1.25rem;
}

.features-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--white);
    font-size: 0.98rem;
}

.features-list li:last-child {
    margin-bottom: 0;
}

.features-list li .icon-check {
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-list li .icon-check::after {
    content: '✓';
    font-size: 12px;
    font-weight: bold;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* --- Services Section --- */
#services {
    background-color: var(--navy-primary);
    color: var(--white);
}

#services .section-header {
    margin-bottom: 3.5rem;
}

#services .section-header h2,
#services .section-header p {
    color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: min(3.25rem, 5.5vh) 2rem;
    border-radius: 8px;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    background: var(--white);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 68px;
    height: 68px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.service-card h3 {
    font-size: 1.45rem;
    margin-bottom: 1rem;
    color: var(--navy-dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Simple viewport animation class */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* --- Pricing Section --- */
#pricing {
    background-color: var(--navy-primary);
    color: var(--white);
    border-bottom: none;
}

#pricing .section-header {
    margin-bottom: 1.5rem;
}

#pricing .section-header h2,
#pricing .section-header p {
    color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.25rem;
}

.pricing-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: min(1.75rem, 2.8vh) 1.5rem;
    position: relative;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card.popular {
    border: 2px solid var(--gold);
    transform: scale(1.03);
    z-index: 2;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--gold);
    color: var(--white);
    padding: 0.4rem 1.4rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-header h3 {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.pricing-header .price {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--navy-dark);
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
}

.pricing-header .price span {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-header .duration {
    font-size: 0.88rem;
    color: var(--text-muted);
}

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

.pricing-features li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-size: 0.88rem;
}

.pricing-features li .icon-check {
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--gold);
    font-weight: bold;
}

.pricing-features li .icon-check::before {
    content: '✓';
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        gap: 3rem;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

/* --- Contact Section & Footer Wrapper --- */
.contact-footer-wrapper {
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    background-color: var(--navy-primary);
}

.contact-content-area {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 0.5rem) 0 0.5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.contact-details {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--white);
    margin-bottom: 0.15rem;
    font-size: 1rem;
}

.contact-item p {
    color: var(--light-blue);
    font-size: 0.88rem;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    color: var(--navy-dark);
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.2rem;
    font-weight: 500;
    font-size: 0.825rem;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.88rem;
    transition: var(--transition-fast);
}

.form-group textarea {
    min-height: 88px;
    height: 88px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.75rem;
    line-height: 1.3;
    color: var(--text-main);
    font-weight: 400;
    margin-bottom: 0;
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--navy-primary);
    text-decoration: underline;
}

.checkbox-group label a:hover {
    color: var(--gold);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Footer --- */
.footer {
    background-color: var(--bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0 0.4rem 0;
    flex-shrink: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 0.4rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
    margin-top: 0.4rem;
    font-size: 0.825rem;
}

.footer-links h4 {
    margin-bottom: 0.35rem;
    font-size: 0.925rem;
}

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

.footer-links li {
    margin-bottom: 0.25rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.825rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    font-size: 0.78rem;
}

/* Responsive Overrides for Mobile & Tablet Viewports */
@media (max-width: 1024px) {
    .hero {
        height: auto !important;
        min-height: calc(100vh - 70px) !important;
        max-height: none !important;
        padding-top: calc(70px + 2.5rem) !important;
        padding-bottom: 2.5rem !important;
        align-items: flex-start !important;
    }

    .badge {
        margin-bottom: 1rem !important;
    }

    .hero h1 {
        font-size: clamp(2rem, 7vw, 2.7rem) !important;
        margin-bottom: 1rem !important;
    }

    .hero p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .section {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        padding-top: 2rem !important;
        padding-bottom: 1.5rem !important;
        scroll-snap-align: none !important;
        scroll-snap-stop: normal !important;
    }

    .section-header {
        margin-bottom: 1.25rem !important;
    }

    .section-header h2 {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem !important;
    }

    .section-header p {
        font-size: 0.95rem !important;
    }

    .about-grid,
    .services-grid,
    .pricing-grid,
    .contact-grid {
        gap: 1.25rem !important;
        margin-top: 1rem !important;
    }

    .about-image img {
        max-height: 380px !important;
        object-position: 50% 10% !important;
    }

    .about-content h2 {
        font-size: 1.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    .about-content p,
    .about-content .lead {
        margin-bottom: 0.75rem !important;
    }

    .features-list {
        margin-top: 0.75rem !important;
    }

    .features-list li {
        margin-bottom: 0.5rem !important;
    }

    .contact-footer-wrapper {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        background-color: var(--navy-primary) !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .contact-content-area {
        padding-top: 2rem !important;
        padding-bottom: 1.25rem !important;
    }

    .footer-brand {
        display: none !important;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .footer {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
        padding: 1rem 0 0.5rem 0 !important;
    }

    #pricing {
        border-bottom: none !important;
    }
}

@media (max-width: 1024px), (max-height: 700px) {
    .section,
    .contact-footer-wrapper {
        height: auto;
        min-height: 100vh;
        max-height: none;
        overflow: visible;
    }

    html {
        scroll-snap-type: y proximity;
    }
}

/* --- High Vertical Screen Sizing (Height-Only Scaling) --- */
@media (min-height: 950px) {
    .badge {
        margin-bottom: 2.25rem;
    }

    .hero h1 {
        font-size: clamp(3.5rem, 6.2vh, 4.6rem);
        margin-bottom: 1.75rem;
    }

    .hero p {
        font-size: 1.25rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }

    .hero-actions {
        gap: 1.5rem;
    }

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

    .section-header h2 {
        font-size: clamp(2.4rem, 4.5vh, 3.2rem);
        margin-bottom: 1.25rem;
    }

    .section-header p {
        font-size: 1.15rem;
    }

    .about-grid {
        gap: 3.5rem;
    }

    .about-image img {
        height: 585px;
        max-height: 585px;
        object-position: 50% 10%;
    }

    .about-content h2 {
        font-size: clamp(2.2rem, 4.2vh, 3rem);
        margin-bottom: 1.5rem;
    }

    .about-content .lead {
        font-size: 1.3rem;
        margin-bottom: 1.4rem;
    }

    .about-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .features-list {
        margin-top: 2rem;
    }

    .features-list li {
        font-size: 1.1rem;
        margin-bottom: 1.1rem;
    }

    .service-card {
        padding: min(4.5rem, 7.5vh) 2.25rem;
    }

    .service-icon {
        width: 76px;
        height: 76px;
        margin-bottom: 2rem;
    }

    .service-icon svg {
        width: 44px;
        height: 44px;
    }

    .service-card h3 {
        font-size: 1.65rem;
        margin-bottom: 1.2rem;
    }

    .service-card p {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .pricing-grid {
        gap: 2rem;
        margin-top: 2rem;
    }

    .pricing-card {
        padding: min(3.25rem, 5vh) 2rem;
    }

    .pricing-header {
        margin-bottom: 1.75rem;
        padding-bottom: 1.25rem;
    }

    .pricing-header h3 {
        font-size: 1.25rem;
    }

    .pricing-header .price {
        font-size: 2.5rem;
    }

    .pricing-features {
        margin-bottom: 2rem;
    }

    .pricing-features li {
        font-size: 1.05rem;
        margin-bottom: 0.9rem;
    }

    .contact-item {
        margin-bottom: 1.5rem;
        gap: 1.25rem;
    }

    .contact-details {
        margin-top: 2rem;
    }

    .contact-form-wrapper {
        padding: 2.25rem 2.5rem;
    }

    .form-group {
        margin-bottom: 1.1rem;
    }

    .form-group label {
        margin-bottom: 0.4rem;
    }

    .form-group input {
        padding: 0.75rem 1rem;
    }

    .form-group textarea {
        height: 95px;
        padding: 0.75rem 1rem;
    }

    .checkbox-group {
        margin-bottom: 1.2rem;
    }

    .footer {
        padding: 0.75rem 0 0.4rem 0;
    }

    .footer-grid {
        margin-bottom: 0.4rem;
    }
}

@media (min-height: 1250px) {
    .badge {
        margin-bottom: 2.5rem;
        font-size: 1.05rem;
        padding: 0.65rem 1.3rem;
    }

    .hero h1 {
        font-size: clamp(3.8rem, 6.6vh, 5.2rem);
        margin-bottom: 2rem;
    }

    .hero p {
        font-size: 1.32rem;
        line-height: 1.75;
        margin-bottom: 2.75rem;
    }

    .hero-actions {
        gap: 1.75rem;
    }

    .hero-actions .btn {
        padding: 1.25rem 2.5rem;
        font-size: 1.2rem;
    }

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

    .section-header h2 {
        font-size: clamp(2.6rem, 5vh, 3.6rem);
        margin-bottom: 1.4rem;
    }

    .section-header p {
        font-size: 1.25rem;
    }

    .about-grid {
        gap: 4.5rem;
    }

    .about-image img {
        height: 610px;
        max-height: 610px;
    }

    .about-content h2 {
        font-size: clamp(2.4rem, 4.6vh, 3.4rem);
        margin-bottom: 1.6rem;
    }

    .about-content .lead {
        font-size: 1.4rem;
        margin-bottom: 1.6rem;
    }

    .about-content p {
        font-size: 1.18rem;
        margin-bottom: 1.6rem;
        line-height: 1.75;
    }

    .features-list li {
        font-size: 1.18rem;
        margin-bottom: 1.2rem;
        padding-left: 2.25rem;
    }

    .features-list li .icon-check {
        width: 24px;
        height: 24px;
    }

    .services-grid {
        gap: 2.5rem;
    }

    .service-card {
        padding: min(5.5rem, 9vh) 2.5rem;
    }

    .service-icon {
        margin-bottom: 2.25rem;
        width: 84px;
        height: 84px;
    }

    .service-icon svg {
        width: 48px;
        height: 48px;
    }

    .service-card h3 {
        font-size: 1.85rem;
        margin-bottom: 1.3rem;
    }

    .service-card p {
        font-size: 1.18rem;
        line-height: 1.8;
    }

    .pricing-grid {
        gap: 2.25rem;
        margin-top: 2.25rem;
    }

    .pricing-card {
        padding: min(4.25rem, 6.2vh) 2.25rem;
    }

    .pricing-header {
        margin-bottom: 2rem;
        padding-bottom: 1.4rem;
    }

    .pricing-header h3 {
        font-size: 1.35rem;
    }

    .pricing-header .price {
        font-size: 2.8rem;
    }

    .pricing-header .price span {
        font-size: 1.15rem;
    }

    .pricing-header .duration {
        font-size: 1rem;
    }

    .pricing-features {
        margin-bottom: 2.25rem;
    }

    .pricing-features li {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        padding-left: 2.1rem;
    }

    .popular-badge {
        font-size: 0.9rem;
        padding: 0.5rem 1.6rem;
        top: -15px;
    }

    .pricing-card .btn {
        padding: 1.15rem 1.85rem;
        font-size: 1.1rem;
    }

    .contact-item {
        margin-bottom: 1.85rem;
        gap: 1.35rem;
    }

    .contact-item h4 {
        font-size: 1.2rem;
    }

    .contact-item p {
        font-size: 1.05rem;
    }

    .icon-circle {
        width: 46px;
        height: 46px;
    }

    .icon-circle svg {
        width: 26px;
        height: 26px;
    }

    .contact-details {
        margin-top: 2.25rem;
    }

    .contact-form-wrapper {
        padding: 2.5rem 2.75rem;
    }

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

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.45rem;
    }

    .form-group input {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .form-group textarea {
        height: 110px;
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .checkbox-group {
        margin-bottom: 1.35rem;
    }

    .checkbox-group label {
        font-size: 0.85rem;
    }

    .footer {
        padding: 0.85rem 0 0.5rem 0;
    }

    .footer-grid {
        margin-bottom: 0.5rem;
    }

    .footer-brand p {
        font-size: 0.9rem;
        max-width: 360px;
    }

    .footer-links h4 {
        font-size: 1rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}