/* ============================================================
   GLOBAL CONTAINER & HERO FIXES
   ============================================================ */

/* Container class - controls max width of all content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Hero section - full width with background image support */
.hero-section {
    width: 100%;
    padding: 80px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Hero title styles */
.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Hero subtitle styles */
.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Ensure hero content respects container */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* For templates using .hero instead of .hero-section */
.hero {
    width: 100%;
    padding: 80px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
}

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

/* Main content spacing */
.main-content {
    flex: 1;
    padding: 40px 0;
    min-height: 60vh;
}

/* Smooth page transitions */
body {
    transition: opacity 0.15s ease-in-out;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
     .main-content {
        padding: 40px 0;
    }
}
/* ============================================================ */

/* ============================================================
   BUSINESS / CORPORATE TEMPLATE
   Professional, clean, trustworthy design
   ============================================================ */

:root {
    /* Brand Colors - Corporate Blue */
    --primary-blue: #0052cc;
    --secondary-blue: #172b4d;
    --accent-color: #ff8c00;

    /* Backgrounds */
    --bg-color: #f5f7fb;
    --card-bg-light: #ffffff;
    --card-bg-alt-light: #f0f2f7;

    /* Text */
    --text-color: #1a1f36;
    --text-muted: #5e6c84;

    /* Borders & Shadows */
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}

/* ============================================================
   LAYOUT FIXES (Footer positioning & full height)
   ============================================================ */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.footer {
    margin-top: auto;
}

/* ============================================================
   PROFESSIONAL NAVIGATION HEADER
   ============================================================ */
header {
    background: #1a1a2e;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand .logo {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a2e;
    min-width: 200px;
    padding: 0.5rem 0;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
    }
    nav ul.show {
        display: flex;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
    }
    .dropdown.active .dropdown-menu {
        display: block;
    }
}

/* ============================================================
   EXISTING BUSINESS STYLES (KEEP ALL)
   ============================================================ */

/* Typography - More formal */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Cards - Clean with subtle borders */
.service-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

/* Buttons - Professional */
.btn, .btn-primary, a.btn, a.btn-primary {
    border-radius: 6px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    padding: 12px 28px !important;
}

/* Navigation - Clean */
nav ul li a:not(.btn):not(.btn-primary) {
    font-weight: 500;
}

/* Footer - Dark with contrast */
footer {
    background: var(--secondary-blue) !important;
    color: #a5b3c9;
}

/* Stats section */
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
}

/* ===== STICKY FOOTER FIX (required for all templates) ===== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.main-content {
    flex: 1;
    padding: 40px 0;
    min-height: 40vh;
}
.footer {
    margin-top: auto;
}
/* ===== END STICKY FOOTER ===== */
/* Prevent footer from going too far down on short pages */
.main-content:empty {
    padding: 20px 0;
    min-height: 20vh;
}
/* ============================================================
   LOGO STYLING
   ============================================================ */
.brand .logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .brand .logo {
        height: 40px;
        max-width: 150px;
    }
}
