/* ============================================
   VALMO COURIER FRANCHISE - MAIN STYLESHEET
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #1a56db;
    --primary-dark: #0f3a8e;
    --primary-light: #3b82f6;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --bg-light: #f0f6ff;
    --bg-white: #ffffff;
    --bg-dark: #0c1a3a;
    --text-dark: #1e293b;
    --text-body: #475569;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s ease;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-body);
    line-height: 1.7;
    background: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

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

a:hover { color: var(--primary-dark); }

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

ul { list-style: none; }

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

/* ---------- Utility Classes ---------- */
.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.bg-light { background: var(--bg-light); }
.bg-white { background: var(--bg-white); }
.bg-dark { background: var(--bg-dark); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

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

.btn-accent {
    background: var(--accent);
    color: var(--text-dark);
    border-color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

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

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

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

.btn-sm {
    padding: 10px 22px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 15px 0;
}

.header.scrolled {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.5px;
}

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

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.15);
}

.header.scrolled .nav-menu a {
    color: var(--text-body);
}

.header.scrolled .nav-menu a:hover,
.header.scrolled .nav-menu a.active {
    color: var(--primary);
    background: var(--bg-light);
}

.nav-cta {
    margin-left: 8px;
}

.nav-cta .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.header.scrolled .nav-cta .btn-accent {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.header.scrolled .nav-cta .btn-accent:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

.header.scrolled .menu-toggle span {
    background: var(--text-dark);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.hero-shapes .shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.hero-shapes .shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
}

.hero-shapes .shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 20%;
}

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

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    color: var(--text-white);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--accent);
    position: relative;
}

.hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
    text-align: left;
}

.hero-stat .number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-white);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.hero-stat .label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   PAGE HERO (Inner pages)
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: var(--text-white);
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumb span {
    color: var(--accent);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--text-white);
}

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

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

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

.why-content h2 {
    margin-bottom: 20px;
}

.why-content > p {
    color: var(--text-body);
    margin-bottom: 30px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.why-item-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.why-item h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.why-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.why-image {
    position: relative;
}

.why-image-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-lg);
    padding: 50px;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-image-box::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -50px;
    right: -50px;
}

.why-image-box::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    bottom: -30px;
    left: -30px;
}

.why-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
    z-index: 2;
}

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

.why-stat .number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
}

.why-stat .label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================
   FRANCHISE MODELS
   ============================================ */
.franchise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.franchise-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.franchise-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.franchise-card.featured {
    border: 2px solid var(--primary);
}

.franchise-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: var(--text-dark);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.franchise-card-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 30px;
    text-align: center;
    color: var(--text-white);
}

.franchise-card.featured .franchise-card-header {
    background: linear-gradient(135deg, #0c1a3a, var(--primary-dark));
}

.franchise-card-header i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.franchise-card-header h3 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.franchise-card-header p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.franchise-card-body {
    padding: 30px;
}

.franchise-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.franchise-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-body);
}

.franchise-features li i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 0.85rem;
}

.franchise-card-body .btn {
    width: 100%;
}

/* ============================================
   STATS / COUNTER SECTION
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    color: var(--text-white);
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--bg-dark);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(26, 86, 219, 0.1);
    top: -100px;
    right: -100px;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-body);
    line-height: 1.8;
}

.about-image-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--text-white);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-image-box::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -80px;
    right: -80px;
}

.about-image-box i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.about-image-box h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.about-image-box p {
    opacity: 0.8;
    max-width: 300px;
}

/* Mission & Vision */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.mv-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.mv-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.mv-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.mv-card h3 {
    margin-bottom: 15px;
}

.mv-card p {
    color: var(--text-body);
    margin-bottom: 0;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.value-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.value-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================
   PROCESS / STEPS
   ============================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.process-step h4 {
    margin-bottom: 8px;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================
   FORMS
   ============================================ */
.form-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.form-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
}

.form-container h3 {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group label .required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-primary);
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 25px;
}

.sidebar-card h4 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.sidebar-card ul li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-body);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.sidebar-card ul li i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 0.8rem;
}

.sidebar-card p {
    font-size: 0.9rem;
    color: var(--text-body);
}

.sidebar-card .contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-card .contact-info a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-body);
    font-size: 0.9rem;
}

.sidebar-card .contact-info a:hover {
    color: var(--primary);
}

.sidebar-card .contact-info i {
    color: var(--primary);
    width: 18px;
    text-align: center;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.contact-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.contact-card h4 {
    margin-bottom: 10px;
}

.contact-card p,
.contact-card a {
    color: var(--text-body);
    font-size: 0.95rem;
}

.contact-card a:hover {
    color: var(--primary);
}

.contact-form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
}

.contact-form-box h3 {
    margin-bottom: 25px;
}

.contact-map-box {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-map-box h3 {
    margin-bottom: 20px;
}

.office-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.office-detail {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.office-detail i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

.office-detail h4 {
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.office-detail p {
    font-size: 0.9rem;
    color: var(--text-body);
    margin-bottom: 0;
}

/* ============================================
   LEGAL PAGES (Terms & Privacy)
   ============================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
}

.legal-content p {
    color: var(--text-body);
    line-height: 1.8;
}

.legal-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-content ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    color: var(--text-body);
    line-height: 1.7;
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
}

.legal-content .last-updated {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

/* ============================================
   ALERT / MESSAGE BOXES
   ============================================ */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-about .logo-text {
    color: var(--text-white);
    margin-bottom: 15px;
    display: inline-block;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--text-white);
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1.05rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

.footer-col .contact-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-col .contact-list li i {
    color: var(--primary-light);
    margin-top: 4px;
    width: 16px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   DOMAIN PROTECTION OVERLAY
   ============================================ */
.domain-protection-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 26, 58, 0.97);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.domain-protection-box {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    text-align: center;
    max-width: 520px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    animation: protectionSlideIn 0.5s ease;
}

@keyframes protectionSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.domain-protection-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.domain-protection-icon i {
    font-size: 2.2rem;
    color: #dc2626;
}

.domain-protection-box h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.domain-protection-box p {
    color: var(--text-body);
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.7;
}

.domain-protection-box #redirectCountdown {
    font-weight: 800;
    color: #dc2626;
    font-size: 1.2rem;
}

.domain-protection-box .btn {
    margin-top: 15px;
    margin-bottom: 15px;
}

.domain-protection-warning {
    font-size: 0.8rem !important;
    color: #dc2626 !important;
    margin-bottom: 0 !important;
}

.domain-protection-warning i {
    margin-right: 5px;
}

/* ============================================
   POPUP MODAL
   ============================================ */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 26, 58, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
}

.popup-overlay.visible {
    opacity: 1;
}

.popup-modal {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    max-width: 480px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-overlay.visible .popup-modal {
    transform: translateY(0) scale(1);
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-body);
    font-size: 1.6rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
    line-height: 1;
}

.popup-close:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
}

.popup-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 30px 30px 25px;
    text-align: center;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.popup-header::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -50px;
    right: -50px;
}

.popup-header-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.popup-header-icon i {
    font-size: 1.5rem;
    color: var(--accent);
}

.popup-header h3 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.popup-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.popup-body {
    padding: 25px 30px 30px;
}

.popup-body .form-group {
    margin-bottom: 14px;
}

.popup-body .form-group input,
.popup-body .form-group select {
    padding: 11px 14px;
    font-size: 0.9rem;
}

.popup-body .form-row {
    margin-bottom: 0;
}

.popup-body .form-row .form-group {
    margin-bottom: 14px;
}

.popup-privacy {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 12px;
    margin-bottom: 0;
}

.popup-privacy i {
    color: #22c55e;
    margin-right: 4px;
}

/* ============================================
   THANK YOU PAGE
   ============================================ */
.thankyou-wrapper {
    display: flex;
    justify-content: center;
}

.thankyou-card {
    max-width: 680px;
    width: 100%;
    text-align: center;
}

.thankyou-icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: thankYouPulse 2s ease-in-out infinite;
}

@keyframes thankYouPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.2); }
    50% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
}

.thankyou-icon-circle i {
    font-size: 2.8rem;
    color: #22c55e;
}

.thankyou-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.thankyou-greeting {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.thankyou-message {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 35px;
}

.thankyou-steps {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.thankyou-steps h4 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.thankyou-steps h4 i {
    margin-right: 8px;
    color: var(--primary);
}

.thankyou-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.timeline-number {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-body);
}

.thankyou-contact {
    margin-bottom: 30px;
}

.thankyou-contact > p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.thankyou-contact-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.thankyou-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

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

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid::before {
        display: none;
    }

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

    .form-section {
        grid-template-columns: 1fr;
    }

    .contact-form-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html { font-size: 15px; }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .section-padding {
        padding: 60px 0;
    }

    .hero { min-height: auto; padding: 130px 0 80px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.05rem; }

    /* Popup mobile */
    .popup-modal {
        max-width: 100%;
        border-radius: var(--radius-lg);
    }

    .popup-header {
        padding: 25px 20px 20px;
    }

    .popup-body {
        padding: 20px;
    }

    .popup-body .form-row {
        grid-template-columns: 1fr;
    }

    /* Thank you mobile */
    .thankyou-card h2 {
        font-size: 1.5rem;
    }

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

    .thankyou-actions .btn {
        width: 100%;
    }

    .thankyou-contact-links {
        flex-direction: column;
        align-items: center;
    }

    /* Domain protection mobile */
    .domain-protection-box {
        padding: 35px 25px;
    }

    .domain-protection-box h2 {
        font-size: 1.3rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 25px;
    }

    .hero-stat .number {
        font-size: 1.8rem;
    }

    /* Mobile Nav */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 25px 25px;
        gap: 0;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: var(--text-body);
        padding: 12px 16px;
        border-radius: var(--radius-sm);
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--primary);
        background: var(--bg-light);
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 10px;
    }

    .nav-cta .btn {
        width: 100%;
        background: var(--primary);
        color: var(--text-white);
        border-color: var(--primary);
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .mobile-overlay.active {
        display: block;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .stat-item .stat-number {
        font-size: 2.2rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }

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

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
}
