/* =====================================================
   Brownes Handyman - Stylesheet
   Theme: Dark Blue + Premium Orange
   ===================================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy-900: #061a30;
    --navy-800: #0a2540;
    --navy-700: #14304f;
    --navy-600: #1f4068;
    --navy-500: #2b5688;
    --orange-500: #FF6B00;
    --orange-600: #E05D00;
    --orange-400: #FF8C33;
    --orange-100: #FFF0E6;
    --yellow-500: var(--orange-500);
    --yellow-600: var(--orange-600);
    --yellow-400: var(--orange-400);
    --yellow-100: var(--orange-100);
    --cream: #FAF8F1;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e6e6e6;
    --gray-300: #cccccc;
    --gray-500: #777777;
    --gray-700: #444444;
    --text-dark: #1a1a1a;
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.18);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--orange-500);
    color: var(--navy-900);
    border-color: var(--orange-500);
}

.btn-primary:hover {
    background: var(--orange-600);
    border-color: var(--orange-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--orange-500);
}

.btn-outline:hover {
    background: var(--orange-500);
    color: var(--navy-900);
}

.btn-block {
    width: 100%;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(6, 26, 48, 0.97);
    backdrop-filter: blur(8px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.nav-logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--orange-500);
    background: var(--white);
}

.nav-logo-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1;
}

.nav-logo-text span {
    display: block;
    font-size: 11px;
    color: var(--orange-500);
    letter-spacing: 3px;
    margin-top: 4px;
    font-weight: 500;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--orange-500);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--orange-500);
}

.nav-cta {
    background: var(--orange-500);
    color: var(--navy-900) !important;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--orange-600);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 26px;
    cursor: pointer;
    padding: 6px;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 750px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    animation: kenBurns 8s ease-out forwards;
}

@keyframes kenBurns {
    from { transform: scale(1.05); }
    to   { transform: scale(1.15); }
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 26, 48, 0.85) 0%, rgba(10, 37, 64, 0.65) 50%, rgba(6, 26, 48, 0.8) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}

.hero-left-content {
    color: var(--white);
    text-align: left;
}

.hero-eyebrow {
    display: inline-block;
    background: var(--orange-500);
    color: var(--navy-900);
    padding: 8px 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border-radius: 3px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .accent {
    color: var(--orange-500);
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    max-width: 600px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-feature-item i {
    color: var(--orange-500);
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ---------- 3D Booking Form Styling ---------- */
/* ---------- 3D Booking Form Styling ---------- */
.hero-3d-card {
    position: relative;
    background: rgba(6, 26, 48, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 36px 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 
                inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    animation: floatGentle 8s ease-in-out infinite;
    z-index: 5;
}

.hero-3d-card:focus-within {
    animation-play-state: paused;
}

.hero-3d-card:hover {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7),
                0 0 30px rgba(255, 107, 0, 0.15),
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 107, 0, 0.4);
}

.hero-3d-glow {
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    border-radius: 50%;
}

.hero-form-inner {
    position: relative;
    z-index: 6;
}

.hero-form-title {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-form-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
    text-transform: none;
    font-weight: 400;
}

.form-group-3d {
    margin-bottom: 20px;
    text-align: left;
}

.form-group-3d label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.form-group-3d label i {
    color: var(--orange-500);
    margin-right: 6px;
}

.form-group-3d input,
.form-group-3d select {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
}

.form-group-3d select option {
    background: var(--navy-900);
    color: var(--white);
}

.form-group-3d input:focus,
.form-group-3d select:focus {
    border-color: var(--orange-500);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.2);
}

.btn-booking-3d {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    background: var(--orange-500);
    color: var(--navy-900);
    border-color: var(--orange-500);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-booking-3d:hover {
    background: var(--orange-600);
    border-color: var(--orange-600);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
    transform: scale(1.02);
}

.btn-booking-3d .btn-icon {
    transition: transform 0.3s ease;
}

.btn-booking-3d:hover .btn-icon {
    transform: translateX(4px);
}

@keyframes scaleUpPulse {
    0% { transform: scale(0) rotate(-15deg); opacity: 0; }
    50% { transform: scale(1.1) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes floatGentle {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}


.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}

.hero-dot {
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
}

.hero-dot.active {
    background: var(--orange-500);
    width: 56px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Section base ---------- */
.section {
    padding: 96px 0;
}

.section-sm {
    padding: 64px 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    display: inline-block;
    color: var(--orange-600);
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 14px;
    position: relative;
    padding: 0 36px;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 2px;
    background: var(--orange-500);
}

.section-eyebrow::before { left: 0; }
.section-eyebrow::after { right: 0; }

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--navy-800);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 620px;
    margin: 0 auto;
    text-transform: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* ---------- Stats Bar ---------- */
.stats {
    background: var(--navy-800);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: var(--orange-500);
    opacity: 0.08;
    border-radius: 50%;
}

.stats::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    background: var(--orange-500);
    opacity: 0.06;
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    color: var(--white);
    padding: 0 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--orange-500);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

/* ---------- About Section ---------- */
.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: 32px;
    bottom: 32px;
    border: 3px solid var(--orange-500);
    border-radius: 6px;
    z-index: -1;
}

.about-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--orange-500);
    color: var(--navy-900);
    padding: 18px 26px;
    border-radius: 4px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-badge-num {
    font-family: 'Oswald', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

.about-badge-text {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}

.about-content .section-eyebrow {
    padding-left: 0;
    text-align: left;
}

.about-content .section-eyebrow::before {
    display: none;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 22px;
}

.about-content p {
    color: var(--gray-700);
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.75;
}

.about-features {
    list-style: none;
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--navy-800);
    font-size: 15px;
}

.about-features i {
    color: var(--orange-600);
    font-size: 18px;
    background: var(--orange-100);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---------- Services Grid ---------- */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange-500);
}

.service-card.featured {
    grid-column: span 1;
}

.service-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(6, 26, 48, 0.4));
}

.service-icon {
    position: absolute;
    top: 192px;
    bottom: auto;
    left: 24px;
    width: 56px;
    height: 56px;
    background: var(--orange-500);
    color: var(--navy-900);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.service-content {
    padding: 36px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.3rem;
    color: var(--navy-800);
    margin-bottom: 12px;
}

.service-desc {
    color: var(--gray-500);
    font-size: 15px;
    margin-bottom: 18px;
    flex: 1;
}

.service-link {
    color: var(--orange-600);
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.service-link:hover {
    color: var(--navy-800);
    gap: 12px;
}

/* ---------- Why Choose Us ---------- */
.why {
    background: var(--navy-800);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.why::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQlZ_IX179z7gdiG5MXmpmNhlE8iTjPkNxIOlpg2p_1xinLksKoJZ2U8bAr&s=10');
    background-size: cover;
    background-position: center;
    opacity: 0.06;
}

.why .container {
    position: relative;
    z-index: 1;
}

.why .section-title {
    color: var(--white);
}

.why .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 36px 28px;
    border-radius: 6px;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.why-card:hover {
    background: rgba(255, 107, 0, 0.08);
    border-color: var(--orange-500);
    transform: translateY(-4px);
}

.why-icon {
    width: 64px;
    height: 64px;
    background: var(--orange-500);
    color: var(--navy-900);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--white);
}

.why-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.7;
    text-transform: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* ---------- CTA Section ---------- */
.cta {
    background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-400) 100%);
    padding: 72px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: rgba(6, 26, 48, 0.08);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 320px;
    height: 320px;
    background: rgba(6, 26, 48, 0.06);
    border-radius: 50%;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--navy-900);
    margin-bottom: 16px;
}

.cta p {
    color: var(--navy-800);
    font-size: 17px;
    margin-bottom: 32px;
    text-transform: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.cta .btn-primary {
    background: var(--navy-800);
    color: var(--white);
    border-color: var(--navy-800);
}

.cta .btn-primary:hover {
    background: var(--navy-900);
    border-color: var(--navy-900);
}

/* ---------- Testimonials ---------- */
.testimonials {
    background: var(--gray-100);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    border-top: 4px solid var(--orange-500);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: var(--orange-500);
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.7;
    text-transform: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--navy-800);
    color: var(--orange-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 18px;
}

.testimonial-name {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: var(--navy-800);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-role {
    color: var(--gray-500);
    font-size: 13px;
}

/* ---------- Page Header (sub-pages) ---------- */
.page-header {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: var(--white);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--orange-500) 0%, transparent 70%);
    opacity: 0.12;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--orange-500) 0%, transparent 70%);
    opacity: 0.1;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    margin-bottom: 16px;
}

.page-header h1 .accent {
    color: var(--orange-500);
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    max-width: 640px;
    margin: 0 auto;
    text-transform: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.breadcrumb {
    margin-top: 22px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

.breadcrumb a {
    color: var(--orange-500);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ---------- Detailed Service Cards (Services page) ---------- */
.service-detail {
    padding: 28px;
    background: var(--white);
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-detail:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange-500);
}

.service-detail-img {
    height: 240px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 24px;
}

.service-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-detail:hover .service-detail-img img {
    transform: scale(1.08);
}

.service-detail h3 {
    color: var(--navy-800);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.service-detail p {
    color: var(--gray-700);
    margin-bottom: 18px;
    font-size: 15px;
}

.service-detail ul {
    list-style: none;
    margin-top: auto;
}

.service-detail ul li {
    padding: 8px 0;
    color: var(--gray-700);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px dashed var(--gray-200);
}

.service-detail ul li:last-child {
    border-bottom: none;
}

.service-detail ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--orange-600);
    font-size: 12px;
    background: var(--orange-100);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---------- Process Section ---------- */
.process {
    background: var(--cream);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 0 12px;
}

.process-num {
    width: 72px;
    height: 72px;
    background: var(--orange-500);
    color: var(--navy-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.process-step h4 {
    color: var(--navy-800);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--gray-500);
    font-size: 14px;
    text-transform: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* ---------- Contact Page ---------- */
.contact-info-section {
    padding: 96px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 56px;
    align-items: start;
}

.contact-info {
    background: var(--navy-800);
    color: var(--white);
    padding: 44px 36px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: var(--orange-500);
    opacity: 0.08;
    border-radius: 50%;
}

.contact-info h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 12px;
    position: relative;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    font-size: 15px;
    position: relative;
    text-transform: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
    position: relative;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: var(--orange-500);
    color: var(--navy-900);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 14px;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    color: var(--orange-500);
    text-transform: uppercase;
}

.contact-item-content p,
.contact-item-content a {
    color: var(--white);
    font-size: 16px;
    word-break: break-word;
}

.contact-item-content a:hover {
    color: var(--orange-500);
}

.contact-socials {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 12px;
    position: relative;
}

.contact-socials a {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.contact-socials a:hover {
    background: var(--orange-500);
    color: var(--navy-900);
    border-color: var(--orange-500);
    transform: translateY(-3px);
}

/* ---------- Contact Form ---------- */
.contact-form-wrap {
    background: var(--white);
    padding: 44px 36px;
    border-radius: 6px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.contact-form-wrap h3 {
    color: var(--navy-800);
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.contact-form-wrap > p {
    color: var(--gray-500);
    margin-bottom: 28px;
    font-size: 15px;
    text-transform: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--navy-800);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-success {
    background: #d4edda;
    color: #155724;
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
    display: none;
}

.form-success.show {
    display: block;
    animation: fadeInUp 0.4s ease;
}

/* ---------- Map Section ---------- */
.map-section {
    padding: 0;
    background: var(--navy-800);
}

.map-wrap {
    height: 420px;
    width: 100%;
    position: relative;
    background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(1.05);
}

.map-overlay {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(6, 26, 48, 0.92);
    color: var(--white);
    padding: 36px 40px;
    border-radius: 6px;
    text-align: center;
    max-width: 380px;
    width: calc(100% - 48px);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--orange-500);
}

.map-overlay i {
    font-size: 36px;
    color: var(--orange-500);
    margin-bottom: 14px;
}

.map-overlay h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.map-overlay p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* ---------- FAQ Section ---------- */
.faq {
    background: var(--cream);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 6px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.faq-item.open {
    border-left-color: var(--orange-500);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy-800);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-question i {
    color: var(--orange-600);
    transition: transform 0.3s ease;
    font-size: 14px;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 24px 22px;
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.7;
    text-transform: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.8);
    padding: 72px 0 0;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--orange-500);
    background: var(--white);
}

.footer-logo-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-about {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--orange-500);
    color: var(--navy-900);
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 22px;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    background: var(--orange-500);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--orange-500);
    transform: translateX(4px);
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--orange-500);
    font-size: 12px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--orange-500);
    margin-top: 4px;
    width: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom span {
    color: var(--orange-500);
}

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: var(--orange-500);
    color: var(--navy-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
    border: none;
    font-size: 16px;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--orange-600);
    transform: translateY(-4px);
}

/* ---------- Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero {
        height: auto;
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-left-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: 0;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--navy-900);
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
        gap: 8px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 14px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-cta {
        margin-top: 16px;
        text-align: center;
        width: 100%;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item {
        border-right: none;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-info,
    .contact-form-wrap {
        padding: 32px 24px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .stat-number {
        font-size: 2.6rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ---------- Social Expert Digital Credits ---------- */
.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 768px) {
    .footer-bottom-flex {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

.sed-credits-wrapper {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: none;
    font-family: 'Inter', sans-serif;
}

.sed-credit-link-container {
    position: relative;
    display: inline-block;
}

.sed-credit-link {
    color: var(--orange-500);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sed-credit-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--orange-500);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.sed-credit-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Pulsing Green Dot */
.sed-pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #2ec4b6; /* Pulsing teal/green */
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(46, 196, 182, 0.4);
    animation: sed-pulse 1.8s infinite;
}

@keyframes sed-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 196, 182, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(46, 196, 182, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 196, 182, 0);
    }
}

/* Interactive alive Tooltip */
.sed-tooltip {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 280px;
    background: rgba(6, 26, 48, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    text-align: left;
}

.sed-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(6, 26, 48, 0.95) transparent transparent transparent;
}

.sed-credit-link-container:hover .sed-tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.sed-tooltip-title {
    display: block;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sed-tooltip-desc {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.sed-tooltip-btn {
    display: inline-block;
    background: var(--orange-500);
    color: var(--navy-900);
    padding: 6px 12px;
    font-size: 11px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.sed-tooltip-btn:hover {
    background: var(--orange-600);
    color: var(--navy-900);
}
