/* ============================================
   CSS Variables for Theme Switching
   ============================================ */
:root {
    /* Dark Theme (Default) */
    --bg-primary: #0a0e27;
    --bg-secondary: #141b33;
    --bg-tertiary: #1e283f;
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --text-tertiary: #ffffff;
    --accent-primary: #2C478C;
    --accent-secondary: #1a2f5c;
    --accent-tertiary: #3d5aa3;
    --accent-quaternary: #4a6fb8;
    --accent-quinary: #5c7fc9;
    --accent-orange: #FF6B35;
    --accent-orange-light: #FF8C61;
    --accent-green: #00C896;
    --accent-green-light: #00E5B3;
    --border-color: #2d3447;
    --card-bg: #1a1f3a;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-lg: rgba(0, 0, 0, 0.5);
    --gradient-primary: linear-gradient(135deg, #2C478C 0%, #1a2f5c 100%);
    --gradient-secondary: linear-gradient(135deg, #2C478C 0%, #3d5aa3 100%);
    --gradient-accent: linear-gradient(135deg, #3d5aa3 0%, #4a6fb8 100%);
    --gradient-orange: linear-gradient(135deg, #FF6B35 0%, #FF8C61 100%);
    --gradient-green: linear-gradient(135deg, #00C896 0%, #00E5B3 100%);
}

[data-theme="light"] {
    /* Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-tertiary: #64748b;
    --accent-primary: #2C478C;
    --accent-secondary: #1a2f5c;
    --accent-tertiary: #3d5aa3;
    --accent-quaternary: #4a6fb8;
    --accent-quinary: #5c7fc9;
    --accent-orange: #FF6B35;
    --accent-orange-light: #FF8C61;
    --accent-green: #00C896;
    --accent-green-light: #00E5B3;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #2C478C 0%, #1a2f5c 100%);
    --gradient-secondary: linear-gradient(135deg, #2C478C 0%, #3d5aa3 100%);
    --gradient-accent: linear-gradient(135deg, #3d5aa3 0%, #4a6fb8 100%);
    --gradient-orange: linear-gradient(135deg, #FF6B35 0%, #FF8C61 100%);
    --gradient-green: linear-gradient(135deg, #00C896 0%, #00E5B3 100%);
}

/* ============================================
   Global Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

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

/* ============================================
   Theme Toggle Button
   ============================================ */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    padding: 0;
}

.theme-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.theme-toggle:hover {
    background: var(--card-bg);
    border-color: var(--accent-tertiary);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

[data-theme="light"] .navbar {
    background: rgba(248, 250, 252, 0.85);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
}

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

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.nav-tabs {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-tab {
    padding: 8px 20px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    opacity: 0.9;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
}

.nav-tab a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.nav-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transition: transform 0.3s ease;
}

.nav-tab:hover,
.nav-tab.active {
    color: var(--text-primary);
    opacity: 1;
}

.nav-tab.active::after {
    transform: translateX(-50%) scaleX(1);
    background: var(--gradient-accent);
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 8px 0;
    margin-top: 10px;
    box-shadow: 0 10px 30px var(--shadow-lg);
    z-index: 1000;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    opacity: 0.85;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.dropdown-menu a:hover {
    opacity: 1;
    background: rgba(44, 71, 140, 0.1);
    color: var(--accent-tertiary);
    padding-left: 24px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ============================================
   Tab Content
   ============================================ */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Hero Sections
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    position: relative;
    overflow: visible;
    padding: 100px 20px 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(44, 71, 140, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Home Page Background with Orange and Green */
main#home {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
    position: relative;
    min-height: 100vh;
}

main#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 200, 150, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

main#home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 60% 20%, rgba(0, 200, 150, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 30% 80%, rgba(255, 107, 53, 0.18) 0%, transparent 35%);
    pointer-events: none;
    z-index: 0;
}

main#home > * {
    position: relative;
    z-index: 1;
}

/* Home Page Hero Background - keep original background but inherit from main */
main#home .hero {
    background: transparent;
    position: relative;
    overflow: visible;
}

/* Light theme home background */
[data-theme="light"] main#home {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #f1f3f5 100%);
}

[data-theme="light"] main#home::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 200, 150, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.2) 0%, transparent 50%);
}

[data-theme="light"] main#home::after {
    background: 
        radial-gradient(circle at 60% 20%, rgba(0, 200, 150, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 30% 80%, rgba(255, 107, 53, 0.22) 0%, transparent 35%);
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-content-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    width: 100%;
}

.hero-logo-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-column img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.hero-text-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text-column .hero-title,
.hero-text-column .hero-subtitle,
.hero-text-column .hero-description {
    text-align: center;
}

.hero-background-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
    height: 100%;
    max-height: 600px;
    background-image: url('dbgroup_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    filter: blur(8px) brightness(0.7);
    z-index: 1;
    pointer-events: none;
}

main#home .hero-background-logo {
    max-width: 700px;
    max-height: 700px;
}

.hero-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.hero-description {
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--text-primary);
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 71, 140, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--gradient-accent);
    box-shadow: 0 6px 25px rgba(61, 90, 163, 0.6);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-tertiary);
    background: var(--gradient-accent);
    color: white;
    transform: translateY(-2px);
}

/* Division-specific hero backgrounds */
.dvg-hero::before {
    background: radial-gradient(circle at 30% 50%, rgba(44, 71, 140, 0.15) 0%, transparent 50%);
}

.dbtyres-hero::before {
    background: radial-gradient(circle at 30% 50%, rgba(44, 71, 140, 0.15) 0%, transparent 50%);
}

.jbhitec-hero::before {
    background: radial-gradient(circle at 30% 50%, rgba(44, 71, 140, 0.15) 0%, transparent 50%);
}

/* ============================================
   Sections
   ============================================ */
.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    text-align: center;
    color: var(--text-primary);
    opacity: 0.9;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Animations
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Fade from Left */
.animate-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-left.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Fade from Right */
.animate-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Scale In */
.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-scale.animated {
    opacity: 1;
    transform: scale(1);
}

/* Fade In */
.animate-fade {
    opacity: 0;
    transition: opacity 1s ease;
}

.animate-fade.animated {
    opacity: 1;
}

/* Typing Animation */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    0%, 90% {
        border-color: var(--accent-orange);
    }
    91%, 100% {
        border-color: transparent;
    }
}

@keyframes remove-cursor {
    to {
        border-right-color: transparent;
    }
}

.typing-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--accent-orange);
    max-width: fit-content;
    display: inline-block;
    width: 0;
    box-sizing: border-box;
}

.typing-text.animated {
    animation: typing 2.5s steps(40, end) forwards, blink-caret 0.75s step-end 3.5, remove-cursor 0.01s 3.5s forwards;
}

/* Staggered Animation Delays */
.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

.animate-delay-5 {
    transition-delay: 0.5s;
}

/* ============================================
   Divisions Overview
   ============================================ */
.divisions-overview {
    padding: 100px 20px;
    background: transparent;
}

main#home .divisions-overview {
    background: transparent;
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.division-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    text-decoration: none;
    color: inherit;
}

.division-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
    border-color: var(--accent-orange);
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--accent-orange-light) 5%, var(--card-bg) 100%);
}

.division-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.division-card > p:first-of-type {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.division-card > p:first-of-type {
    color: var(--accent-orange);
    font-weight: 700;
}

.card-detail {
    color: var(--text-primary);
    opacity: 0.85;
    line-height: 1.8;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 100px 20px;
    background: var(--bg-primary);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    margin-bottom: 60px;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text p {
    font-size: 18px;
    color: var(--text-primary);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text p strong,
.about-text p b,
.portfolio-card p strong,
.portfolio-card p b,
.service-card p strong,
.service-card p b,
.advantage-card p strong,
.advantage-card p b,
.card-detail strong,
.card-detail b,
.portfolio-card p em,
.about-text p em {
    color: var(--accent-green);
    font-weight: 700;
    font-style: normal;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.stat-item h4 {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-primary);
    opacity: 0.9;
    font-size: 16px;
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    padding: 100px 20px;
    background: var(--bg-secondary);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(255, 107, 53, 0.05) 25%, transparent 50%, rgba(0, 200, 150, 0.05) 75%, transparent 100%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.25);
    border-color: var(--accent-orange);
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--accent-orange-light) 8%, var(--card-bg) 100%);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-primary);
    opacity: 0.85;
    line-height: 1.8;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

/* ============================================
   Portfolio Section
   ============================================ */
.portfolio-section {
    padding: 100px 20px;
    background: var(--bg-primary);
}

.portfolio-grid {
    display: grid;
    gap: 40px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(44, 71, 140, 0.3);
    border-color: var(--accent-tertiary);
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--accent-quaternary) 6%, var(--card-bg) 100%);
}

.portfolio-category {
    display: inline-block;
    padding: 6px 16px;
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.portfolio-category {
    background: var(--gradient-green);
}

.portfolio-card h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.portfolio-subtitle {
    font-size: 18px;
    color: var(--accent-tertiary);
    margin-bottom: 20px;
    font-weight: 600;
}

.portfolio-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.portfolio-benefits {
    list-style: none;
    margin-top: 20px;
}

.portfolio-benefits li {
    padding: 10px 0;
    padding-left: 30px;
    color: var(--text-secondary);
    position: relative;
}

.portfolio-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-tertiary);
    font-weight: bold;
    font-size: 18px;
}

/* ============================================
   Why Choose Section
   ============================================ */
.why-choose-section {
    padding: 100px 20px;
    background: var(--bg-secondary);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.advantage-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.25);
    border-color: var(--accent-orange);
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--accent-orange-light) 7%, var(--card-bg) 100%);
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.advantage-card p {
    color: var(--text-tertiary);
    line-height: 1.8;
}

/* ============================================
   Special Offer Section
   ============================================ */
.special-offer-section {
    padding: 100px 20px;
    background: var(--bg-secondary);
}

.special-offer-card {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.special-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-lg);
}

.special-offer-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.special-offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
    font-size: 18px;
    font-weight: 500;
    border-right: 1px solid var(--border-color);
}

.special-offer-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.special-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    width: fit-content;
}

.special-offer-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.tyre-pattern {
    font-size: 18px;
    color: var(--accent-tertiary);
    font-weight: 600;
    margin-bottom: 20px;
}

.special-price {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.special-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.special-offer-content .btn {
    align-self: flex-start;
}

/* ============================================
   Contact Sections
   ============================================ */
.contact-overview,
.contact-section {
    padding: 100px 20px;
    background: var(--bg-primary);
}

main#home .contact-overview {
    background: transparent;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    width: 100%;
}

.contact-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-primary);
    opacity: 0.9;
    line-height: 1.8;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-tertiary);
    opacity: 1;
    text-decoration: underline;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 60px;
    align-items: center;
    justify-items: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-two-column {
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    justify-items: stretch;
}

.contact-details {
    display: grid;
    gap: 20px;
    width: 100%;
}

.dvg-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.dvg-logo-container img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

/* ============================================
   Map Container
   ============================================ */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid var(--border-color);
}

.map-container iframe,
.map-container div {
    width: 100%;
    height: 100%;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-secondary);
    padding: 60px 20px 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a,
.footer-section p a {
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section p a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablets */
@media (max-width: 968px) {
    .nav-tabs {
        gap: 15px;
    }
    
    .nav-tab {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-info-two-column {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 350px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .nav-container {
        height: 60px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .nav-right {
        gap: 10px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-tabs {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(20, 27, 51, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border-color);
        padding: 20px;
        gap: 10px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    
    [data-theme="light"] .nav-tabs {
        background: rgba(248, 250, 252, 0.95);
    }
    
    .nav-tabs.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-tab {
        width: 100%;
        text-align: center;
        padding: 15px;
    }
    
    .hero {
        padding: 80px 20px 40px;
        min-height: auto;
    }
    
    .hero-content-inline {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-logo-column {
        display: none;
    }
    
    .hero-text-column {
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .divisions-grid,
    .services-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .special-offer-card {
        grid-template-columns: 1fr;
    }
    
    .special-offer-image {
        min-height: 300px;
    }
    
    .image-placeholder {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .special-offer-content {
        padding: 30px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .division-card,
    .service-card,
    .portfolio-card {
        padding: 30px 20px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .divisions-overview,
    .about-section,
    .services-section,
    .portfolio-section,
    .why-choose-section,
    .special-offer-section,
    .contact-overview,
    .contact-section {
        padding: 60px 15px;
    }
    
    .special-offer-card {
        grid-template-columns: 1fr;
    }
    
    .special-offer-image {
        min-height: 300px;
    }
    
    .image-placeholder {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .special-offer-content {
        padding: 30px 20px;
    }
    
    .special-price {
        font-size: 36px;
    }
}

/* Large Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .nav-container {
        max-width: 1400px;
    }
}

