/* ============================================================
   HTCM Enterprise Theme - Premium Gold & Obsidian Black (Saudi / GCC Corporate Edition)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #07090E;
    --bg-surface: #0E131F;
    --bg-surface-hover: #151C2E;
    --bg-card: rgba(14, 19, 31, 0.88);
    
    /* Metallic Gold Palette */
    --gold-primary: #D4AF37;
    --gold-light: #F5E096;
    --gold-bright: #FFD700;
    --gold-dark: #AA771C;
    --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    --gold-glow: rgba(212, 175, 55, 0.3);

    /* Pure White & Silver Accents (Replaced Red) */
    --accent-white: #FFFFFF;
    --accent-silver: #E2E8F0;
    --accent-glow: rgba(255, 255, 255, 0.2);

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --border-gold: rgba(212, 175, 55, 0.3);
    --border-subtle: rgba(255, 255, 255, 0.1);

    /* Fonts & Radii */
    --font-heading: 'Cinzel', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-gold: 0 10px 35px rgba(212, 175, 55, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Typography Utility Classes */
h1, h2, h3, .font-heading {
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.text-gold-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gold {
    color: var(--gold-bright);
}

.text-white {
    color: #FFFFFF !important;
}

/* Top Announcement Bar */
.top-bar {
    background-color: #040508;
    border-bottom: 1px solid var(--border-gold);
    padding: 8px 0;
    font-size: 0.88rem;
}

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

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}

.top-info-item i {
    color: var(--gold-primary);
}

.hotline-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--gold-bright);
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.hotline-badge:hover {
    background: var(--gold-gradient);
    color: #07090E;
}

/* Main Navigation Bar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 9, 14, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

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

.logo-mountain-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-surface);
    border: 1px solid var(--gold-primary);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold-bright);
    font-size: 1.4rem;
    box-shadow: 0 0 15px var(--gold-glow);
}

.logo-text-block {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.1;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: #FFFFFF;
    font-style: normal;
}

.brand-arabic {
    font-size: 0.7rem;
    color: var(--gold-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-bright);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

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

.btn-gold {
    background: var(--gold-gradient);
    color: #07090E;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.btn-white {
    background: #FFFFFF;
    color: #07090E;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-outline-gold {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-bright);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold-bright);
    box-shadow: 0 0 15px var(--gold-glow);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 120px 0 100px 0;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-gold);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-gold);
    color: var(--gold-bright);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 650px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-card-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 35px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.card-title-gold {
    font-family: var(--font-heading);
    color: var(--gold-bright);
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Feature Cards & Grid Layouts */
.section-padding {
    padding: 90px 0;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 700;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
    opacity: 0.7;
    transition: height 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    border-color: var(--gold-bright);
}

.service-card:hover::before {
    height: 6px;
    background: var(--accent-white);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--gold-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-bright);
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.service-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Stats Counter Section */
.stats-section {
    background: linear-gradient(180deg, #07090E 0%, #0E131F 50%, #07090E 100%);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    padding: 70px 0;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(7, 9, 14, 0.85);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-bright);
    box-shadow: 0 0 12px var(--gold-glow);
}

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

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    padding: 35px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--gold-bright);
}

/* Footer Component */
.footer {
    background-color: #040508;
    border-top: 1px solid var(--border-gold);
    padding: 70px 0 30px 0;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-title {
    font-family: var(--font-heading);
    color: var(--gold-bright);
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--gold-bright);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Category Badge (Replaced Red with Gold / White) */
.category-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid var(--border-gold);
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .top-bar-content {
        justify-content: center;
        text-align: center;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .nav-menu {
        display: none;
    }
}
