/* Global font settings */
/* * {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
} */

p {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        sans-serif;
}

/* Heading font settings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family:
        "Outfit",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        sans-serif;
}

/* Global h2 styling */
.max-w-7xl h2:not(.hero-header),
.max-w-4xl h2:not(.hero-header) {
    font-family: Outfit !important;
    font-size: 56px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 110% !important; /* 61.6px */
    letter-spacing: -0.56px !important;
    color: var(--Secondary, #151932) !important;
}

/* Text alignment for h2 */
.text-left h2 {
    text-align: left !important;
}

.text-center h2 {
    text-align: center !important;
}

/* Left-aligned h2 styling */
.h2-left {
    text-align: left !important;
}

/* Navigation links styling */
nav a:not(button) {
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: var(--Neutral-Gray-Lightest);
    opacity: 0.87;
}

/* Dropdown button styling */
.dropdown-toggle {
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: var(--Neutral-Gray-Lightest);
    opacity: 0.87;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.dropdown-toggle:hover {
    opacity: 1;
}

/* Dropdown menu styling */
.dropdown-menu,
.dropdown-menu-domains,
.dropdown-menu-services,
.dropdown-menu-about {
    min-width: 200px;
    animation: fadeIn 0.15s ease-out;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition:
        opacity 0.15s ease-out,
        visibility 0.15s ease-out,
        transform 0.15s ease-out;
}

.dropdown-menu.show,
.dropdown-menu-domains.show,
.dropdown-menu-services.show,
.dropdown-menu-about.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Override Tailwind's hidden class when show is applied */
.dropdown-menu.show.hidden,
.dropdown-menu-domains.show.hidden,
.dropdown-menu-services.show.hidden,
.dropdown-menu-about.show.hidden {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Custom color palette */
:root {
    --brand-orange: #ff6542;
    --brand-dark: #0f172a;
    --brand-blue: #1e293b;
    --brand-cyan: #1dc9d8;
    --brand-gray: #eff2f6;
    --Primary: #1dc9d8;
    --Secondary: #050f19;
    --Neutral-White: #fff;
    --Neutral-Gray-Lightest: #fafafa;
}

.bg-brand-orange {
    background-color: var(--brand-orange);
}
.bg-brand-dark {
    background-color: var(--brand-dark);
}
.bg-brand-blue {
    background-color: var(--brand-blue);
}
.bg-brand-cyan {
    background-color: var(--brand-cyan);
}
.text-brand-orange {
    color: var(--brand-orange);
}
.text-brand-cyan {
    color: var(--brand-cyan);
}
.border-brand-orange {
    border-color: var(--brand-orange);
}

/* Custom gradients */
.hero-gradient {
    background: url("../images/home-hero-img.png");
    background-color: #000;
    background-size: 80%;
    background-position: right center;
    background-repeat: no-repeat;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

/* Hero content container */
.hero-content {
    width: 1400px;
    max-width: 100%;
    flex-shrink: 0;
    aspect-ratio: 1400/933;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

/* Custom animations */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Custom shapes */
.abstract-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(
        45deg,
        rgba(255, 107, 53, 0.1),
        rgba(255, 107, 53, 0.3)
    );
    filter: blur(1px);
}

/* Pricing card hover effects */
.pricing-card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    text-align: left !important;
    width: 464px;
    max-width: 464px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(5, 15, 25, 0.55);
}

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

/* Featured pricing card */
.pricing-featured {
    border: 2px solid var(--brand-orange);
}

/* Featured pricing card button */
.pricing-featured button {
    border: 1px solid #050f19;
}

/* Transparent underline effect */
.transparent-highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.transparent-highlight::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: 2px;
    height: 30%;
    background-color: var(--brand-cyan);
    z-index: -1;
    opacity: 0.75;
    border-radius: 2px;
}

/* Hero header styling from Figma */
.hero-header {
    color: var(--Neutral-White, #fff);
    font-family: Outfit;
    font-size: 80px;
    font-style: normal;
    font-weight: 800 !important;
    line-height: 110%;
    letter-spacing: -0.8px;
}

/* Hero header highlighted words */
.hero-header-highlight {
    color: var(--Primary, #1dc9d8);
}

/* Hero paragraph styling from Figma */
.hero-paragraph {
    color: #fff;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 165%; /* 33px */
    opacity: 100%;
}

/* Section heading styles */
.section-heading {
    font-family: "Outfit", sans-serif;
    font-size: 80px;
    font-weight: 600;
    line-height: 1.1;
    color: #000;
    text-align: center;
    margin-bottom: 0.5em;
}

/* Red underline effect */
.red-underline {
    position: relative !important;
    display: inline-block !important;
    z-index: 1 !important;
}

.red-underline::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 16px !important;
    background-color: #ff6542 !important;
    z-index: -1 !important;
    opacity: 0.75 !important;
}

/* Success story text styling */
.success-story-text {
    color: var(--Neutral-White, #fff) !important;
    text-align: center;
    font-family: Inter;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    opacity: 1 !important;
}

/* Global paragraph styling */
p:not(footer p) {
    color: var(--Secondary, #050f19);
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 28.8px */
    opacity: 0.72;
}

.pricing-card h3 {
    font-family: "Outfit", sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: #151932;
    margin-bottom: 8px;
}

.pricing-card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 24px;
}

.pricing-card .starting-at {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.pricing-card .price-container {
    margin-bottom: 8px;
}

.pricing-card .price {
    font-family: "Inter";
    font-size: 32px;
    font-weight: 600;
    color: #151932;
    line-height: 1;
}

.pricing-card .price-period {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #555;
}

.pricing-card .term-text {
    font-size: 14px;
    color: #777;
    margin-bottom: 32px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-card ul li {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: #333;
    margin-bottom: 16px;
}

.pricing-card .fa-check {
    color: #1dc9d8;
    margin-right: 12px;
}

.pricing-card button {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

section.bg-brand-dark h2 {
    color: var(--Neutral-White, #fff) !important;
}

/* Footer text styling */
footer .content-text {
    color: #787c91;
    font-feature-settings:
        "cv01" on,
        "cv03" on,
        "cv04" on;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 145%;
}

.start-now-button {
    color: var(--Neutral-White, #fff);
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 22.5px */
    background-color: var(--brand-orange);
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid var(--brand-orange);
}

/* Mobile Menu Styles */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

#mobile-menu.hidden {
    animation: slideUp 0.2s ease-in;
}

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

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

/* Mobile hamburger button hover effects */
#mobile-menu-button {
    transition: all 0.2s ease;
    padding: 8px;
}

#mobile-menu-button:hover {
    /* Removed background hover effect */
}

/* Mobile menu link styles */
#mobile-menu a {
    font-family: Inter;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Mobile dropdown animation */
.mobile-dropdown-toggle {
    transition: all 0.2s ease;
}

.mobile-dropdown-toggle:hover {
    /* Removed background hover effect */
}

/* Mobile menu responsive adjustments */
@media (max-width: 768px) {
    /* Adjust hero section for mobile */
    .hero-gradient {
        background-image: none !important;
        background-size: 300%;
        background-position: center right;
        height: auto;
        min-height: 500px;
        padding: 60px 0 40px 0;
        margin-top: 0 !important;
        position: relative;
    }

    .hero-gradient::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }

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

    .hero-content {
        padding: 0 20px;
        min-height: 500px;
        justify-content: center;
        text-align: center;
        display: flex;
        align-items: center;
    }

    .hero-content .max-w-3xl {
        margin-top: 0 !important;
        padding-top: 0 !important;
        width: 100%;
    }

    .hero-header {
        margin-top: 0 !important;
        padding-top: 20px !important;
    }

    .hero-gradient .max-w-7xl {
        padding-top: 0 !important;
        margin-top: 0 !important;
        min-height: 500px;
        display: flex;
        align-items: center;
    }

    .max-w-7xl h2:not(.hero-header) {
        font-size: 32px !important;
        line-height: 120% !important;
    }

    .hero-header {
        font-size: 36px !important;
        line-height: 110% !important;
    }

    .pricing-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 20px 0;
    }

    /* Mobile navigation spacing */
    nav {
        position: sticky;
        top: 0;
        z-index: 9999;
    }

    /* Mobile pricing section adjustments */
    .flex.justify-center.gap-5 {
        flex-direction: column;
        align-items: center;
    }

    /* Mobile content text adjustments */
    .content-text {
        font-size: 16px !important;
    }

    /* Success story text mobile adjustment */
    .success-story-text {
        font-size: 32px !important;
    }

    /* Universal horizontal padding for all sections on mobile */
    .max-w-7xl {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    /* Specific section adjustments */
    section .max-w-7xl {
        padding-left: 36px !important;
        padding-right: 36px !important;
    }

    /* Why BuiltFast grid items mobile spacing */
    .py-28.bg-white .grid.md\\:grid-cols-3 {
        gap: 32px;
        padding: 0 8px;
    }

    /* Why BuiltFast individual cards mobile padding */
    .py-28.bg-white .grid.md\\:grid-cols-3 > div {
        padding: 16px;
    }

    /* Footer mobile responsive */
    footer {
        padding: 40px 0 !important;
    }

    /* Footer background mobile sizing */
    .footer-background-layer {
        background-size: 600px !important;
    }

    footer .max-w-7xl {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    /* Footer line image mobile */
    .footer-line-image {
        display: none !important;
    }

    /* Footer CTA section mobile */
    footer section.text-center {
        padding: 20px 0 !important;
    }

    footer section.text-center .max-w-7xl {
        padding: 0 16px !important;
    }

    footer section.text-center .py-10 {
        padding: 20px 0 !important;
    }

    /* Footer main content mobile layout */
    footer .flex.justify-between {
        flex-direction: column !important;
        gap: 32px;
    }

    /* Footer left section mobile */
    footer .w-2\/5 {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center;
    }

    /* Footer right section mobile */
    footer .w-3\/5 {
        width: 100% !important;
        padding-left: 0 !important;
    }

    footer .w-3\/5 .flex {
        flex-direction: column !important;
        gap: 32px !important;
    }

    /* Footer columns mobile */
    footer .w-3\/5 > div > div {
        text-align: center;
        margin-bottom: 24px;
    }

    footer .w-3\/5 h3 {
        margin-bottom: 16px !important;
    }

    footer .w-3\/5 ul {
        margin-bottom: 16px;
    }

    /* Footer bottom section mobile */
    footer .mt-12.pt-8.flex {
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center !important;
    }

    footer .flex.space-x-4 {
        justify-content: center !important;
    }

    /* Control with Simplicity section - force image first on desktop */
    .control-simplicity-image {
        order: 1;
    }

    .control-simplicity-text {
        order: 2;
    }

    /* Hosting page mobile - center the person in background */
    section.hero-gradient[style*="hosting-bg.png"] {
        background-position: center center !important;
        background-size: 140% !important;
    }
}

/* Make the Move section layout */
.make-the-move-layout .make-the-move-image {
    order: 1; /* Image on top for mobile */
}

.make-the-move-layout .make-the-move-text {
    order: 2; /* Text below image for mobile */
}

/* Desktop layout for Make the Move */
@media (min-width: 768px) {
    .make-the-move-layout .make-the-move-image {
        order: 1; /* Image on left for desktop */
    }

    .make-the-move-layout .make-the-move-text {
        order: 2; /* Text on right for desktop */
    }
}

/* Support page hero background */
.support-page .hero-gradient {
    background-image: url("../images/support-hero-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Domain register page hero background */
.domain-register-page .hero-gradient {
    background-image: url("../images/register-hero-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 0;
}

/* Domain transfer page hero background */
.domain-transfer-page .hero-gradient {
    background-image: url("../images/transfer-hero-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Legal Services page hero background */
.legal-services-page .hero-gradient {
    background: url("../images/service-hero-bg.png");
    background-color: #000;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

/* Legal Services Cards - Ensure consistent height and link positioning */
.legal-services-cards .service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px; /* Set minimum height to ensure consistency */
}

.legal-services-cards .service-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.legal-services-cards .service-card .card-link-container {
    margin-top: auto; /* Push the link to the bottom */
    padding-top: 0.1rem; /* Consistent spacing above the link */
}

/* Orange accent text styling */
.orange-accent-text {
    color: var(--brand-orange, #ff6542);
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%; /* 38.4px */
}

/* Blue accent text styling */
.blue-accent-text {
    color: var(--brand-cyan, #1dc9d8);
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%; /* 32px */
}

/* Partnership page hero background */
.partnership-page .hero-gradient {
    background-image: url("../images/partnership-hero-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Footer background styling */
.footer-background-layer {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("../images/big-b-footer-background.png");
    background-size: 600px;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Footer background styling for subdirectory pages */
.domain-register-page .footer-background-layer,
.domain-transfer-page .footer-background-layer,
.legal-page .footer-background-layer,
.legal-services-page .footer-background-layer {
    background-image: url("../../images/big-b-footer-background.png");
}

/* Footer line image styling */
.footer-line-image {
    position: absolute;
    width: 50%;
    top: 125px;
    left: 0;
    height: 10.5%;
    z-index: 10;
    background-size: 100%;
    content: url("../images/footer-builtfast-line.png");
}

/* Footer line image styling for subdirectory pages */
.domain-register-page .footer-line-image,
.domain-transfer-page .footer-line-image,
.legal-page .footer-line-image,
.legal-services-page .footer-line-image {
    content: url("../../images/footer-builtfast-line.png");
}

.builtfast-faq-answer p {
    color: white !important;
    opacity: 100% !important;
}
