/* Base & Resets */
:root {
    --primary-blue: #2A3B8B;
    /* A deep blue matching the logo */
    --primary-blue-hover: #1E2B6C;
    --accent-orange: #F26A21;
    /* Accent orange */
    --accent-orange-hover: #DB540D;

    --text-dark: #1E293B;
    --text-muted: #475569;
    --text-light: #94A3B8;

    --bg-main: #FAFAFA;
    --bg-white: #FFFFFF;
    --bg-blue-light: #F1F4FF;

    --border-radius: 20px;
    --border-radius-sm: 12px;
    --border-radius-pill: 50px;

    --shadow-sm: 0 4px 12px rgba(42, 59, 139, 0.04);
    --shadow-md: 0 8px 24px rgba(42, 59, 139, 0.08);
    --shadow-lg: 0 16px 32px rgba(42, 59, 139, 0.12);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-blue);
}

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

ul {
    list-style: none;
}

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

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

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

.text-accent {
    color: var(--accent-orange);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

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

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    background-color: var(--bg-white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

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

.logo-krown {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
    line-height: 1;
}

.logo-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

.white-text {
    color: var(--bg-white) !important;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    position: relative;
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile Nav Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    padding: 24px;
    box-shadow: var(--shadow-md);
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

.mobile-nav.active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
}

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

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

.mobile-nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1.125rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-blue-light);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-blue-light);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: var(--border-radius-pill);
    font-size: 0.875rem;
    margin-bottom: 24px;
    font-weight: 500;
}

.badge-icon {
    color: #FBBF24;
    margin-right: 8px;
    font-size: 1.125rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-proof {
    display: flex;
    gap: 24px;
}

.proof-item {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--primary-blue);
    font-family: 'Outfit', sans-serif;
}

.proof-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--accent-orange);
    color: white;
    border-radius: 50%;
    margin-right: 12px;
    font-size: 0.75rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
}

.hero-image-backdrop {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--bg-blue-light);
    border-radius: var(--border-radius);
    z-index: -1;
}

.hero-image {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: 500px;
    width: 100%;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background-color: var(--bg-white);
    padding: 16px 24px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
}

.badge-dr .badge-content {
    display: flex;
    flex-direction: column;
}

.badge-content strong {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-blue);
    font-size: 1.125rem;
}

.badge-content span {
    font-size: 0.875rem;
    color: var(--accent-orange);
    font-weight: 600;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Proof Banner */
.proof-banner {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    padding: 40px 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.proof-banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.proof-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    line-height: 1;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.star-icon {
    font-size: 2rem;
    color: #FBBF24;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.proof-divider {
    width: 2px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 992px) {
    .proof-divider {
        display: none;
    }

    .proof-banner-container {
        grid-template-columns: 1fr 1fr;
        display: grid;
    }
}

@media (max-width: 576px) {
    .proof-banner-container {
        grid-template-columns: 1fr;
    }
}

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

.section-subtitle {
    color: var(--accent-orange);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

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

.section-description {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 1.125rem;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.rounded-image {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.feature-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: var(--bg-white);
    color: var(--accent-orange);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

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

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

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: var(--bg-blue-light);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-blue);
}

.service-svg {
    width: 32px;
    height: 32px;
}

.featured-service {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

.featured-service .service-title {
    color: var(--bg-white);
}

.featured-service .service-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text-muted);
}

.featured-service .service-list li {
    color: rgba(255, 255, 255, 0.9);
}

.service-list li::before {
    content: "•";
    color: var(--accent-orange);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.review-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
}

.stars {
    color: #FBBF24;
    font-size: 1.25rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.review-author {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Footer & Contact */
.footer {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    padding: 80px 0 24px;
}

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

.footer-brand {
    margin-bottom: 24px;
}

.footer-brand .logo-krown {
    color: var(--bg-white);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    max-width: 400px;
    line-height: 1.8;
}

.footer-title {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-icon {
    font-size: 1.25rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

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

.footer .btn-primary:hover {
    background-color: var(--accent-orange-hover);
}

/* Responsive */
@media (max-width: 992px) {

    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .services-grid,
    .reviews-grid,
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-links,
    .header-action {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .services-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

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

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

    .floating-badge {
        left: 20px;
    }
}