/* ===== CSS Variables ===== */
:root {
    --primary: #8B1A1A;
    --primary-dark: #6B0F0F;
    --primary-light: #C43C3C;
    --secondary: #1A0A0A;
    --secondary-light: #2A1414;
    --bg: #FFFFFF;
    --bg-alt: #F5F2F2;
    --bg-card: #FFFFFF;
    --dark: #0D0505;
    --dark-card: #1A0E0E;
    --heading: #1A1A2E;
    --text-dark: #444444;
    --text-muted-light: #777777;
    --text: #F0E8E8;
    --text-muted: #B09999;
    --white: #FFFFFF;
    --gradient-gold: linear-gradient(135deg, #8B1A1A, #C43C3C, #8B1A1A);
    --gradient-dark: linear-gradient(180deg, #0D0505, #1A0A0A);
    --shadow-gold: 0 4px 30px rgba(139, 26, 26, 0.2);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 12px 40px rgba(139, 26, 26, 0.12);
    --border-light: rgba(139, 26, 26, 0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-ring {
    width: 60px; height: 60px;
    border: 3px solid var(--bg-alt);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: linear-gradient(135deg, #5C0A0A, #8B1A1A, #6B0F0F);
    border-bottom: 1px solid rgba(200, 50, 50, 0.15);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
    transition: var(--transition);
}
.header.scrolled {
    background: linear-gradient(135deg, #5C0A0A, #8B1A1A, #6B0F0F);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo img {
    height: 70px;
}
.nav-menu {
    display: flex;
    gap: 8px;
}
.nav-menu a {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    position: relative;
    transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
}
.nav-menu .has-sub {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-menu .has-sub .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-sm);
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.nav-menu .has-sub:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.sub-menu a {
    display: block;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-dark);
}
.sub-menu a:hover {
    background: rgba(139, 26, 26, 0.06);
    color: var(--primary);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-icon {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    transition: var(--transition);
}
.header-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #FFFFFF;
    transition: var(--transition);
}

/* ===== Mobile Menu ===== */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s;
}
.mobile-overlay.active { opacity: 1; }
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: var(--bg);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto;
    padding: 24px;
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
}
.mobile-sidebar.active { right: 0; }
.mobile-sidebar .close-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    background: none;
    border: none;
    color: var(--text-muted-light);
    font-size: 24px;
    cursor: pointer;
}
.mobile-sidebar .mobile-logo { margin-bottom: 32px; }
.mobile-sidebar .mobile-logo img { height: 40px; }
.mobile-sidebar .mobile-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-weight: 600;
    color: var(--heading);
}
.mobile-sidebar .mobile-nav a:hover { color: var(--primary); }

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-slider {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,5,5,0.92), rgba(26,10,10,0.7));
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 24px;
    margin-bottom: 28px;
    font-size: 14px;
    font-weight: 600;
    color: #F0C8C8;
}
.hero-badge i { font-size: 16px; }
.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--white);
    text-align: center;
}
.hero-title span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-slogan {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 300;
    color: #F0C8C8;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-align: center;
}
.hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    line-height: 2;
    margin-bottom: 40px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
/* Hero-specific button overrides for dark background */
.hero .btn-outline {
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.hero .btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.7);
    color: var(--white);
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}
.hero-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}
.hero-dot.active { background: var(--white); border-color: var(--white); }
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== Section Styles ===== */
.section { padding: 100px 0; }
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}
.section-label::before, .section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--primary);
}
.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 17px;
    color: var(--text-muted-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About Section ===== */
.about { background: var(--bg-alt); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-image-wrapper { position: relative; }
.about-image-wrapper img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}
.about-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-gold);
}
.about-badge .num {
    font-size: 42px;
    font-weight: 900;
    display: block;
    line-height: 1;
}
.about-badge .label {
    font-size: 13px;
    font-weight: 600;
}
.about-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.about-heading {
    font-size: 36px;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 20px;
}
.about-text {
    color: var(--text-muted-light);
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 2;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.about-feature:hover {
    background: var(--bg);
    border-color: rgba(139, 26, 26, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}
.about-feature-icon {
    width: 40px; height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 26, 26, 0.08);
    color: var(--primary);
    border-radius: 10px;
    font-size: 16px;
}
.about-feature h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 4px;
}
.about-feature p {
    font-size: 12px;
    color: var(--text-muted-light);
    line-height: 1.6;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== Stats Section ===== */
.stats {
    background: var(--primary);
    padding: 60px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.stat-card {
    text-align: center;
    padding: 24px;
    position: relative;
}
.stat-card::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}
.stat-card:last-child::after { display: none; }
.stat-icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: 14px;
    font-size: 22px;
}
.stat-number {
    font-size: 40px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
}
.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* ===== Services Section ===== */
.services { background: var(--bg); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 26, 26, 0.15);
    box-shadow: var(--shadow-card-hover);
}
.service-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.service-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.service-card:hover .service-image img {
    transform: scale(1.1);
}
.service-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, transparent 50%);
}
.service-icon-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 12px;
    font-size: 18px;
}
.service-content {
    padding: 24px;
}
.service-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 10px;
}
.service-content p {
    font-size: 14px;
    color: var(--text-muted-light);
    line-height: 1.8;
    margin-bottom: 16px;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}
.service-link:hover { gap: 14px; }

/* ===== Solutions Section ===== */
.solutions {
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}
.solutions::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(139,26,26,0.04), transparent);
    border-radius: 50%;
}
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.solution-card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    padding: 0;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.solution-card h4,
.solution-card p {
    padding: 0 16px;
}
.solution-card p:last-child {
    padding-bottom: 20px;
}
.solution-card:hover {
    background: var(--bg-card);
    border-color: rgba(139, 26, 26, 0.15);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}
.solution-icon {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 16px;
    font-size: 26px;
    transition: var(--transition);
}
.solution-card:hover .solution-icon {
    background: var(--primary-dark);
    color: var(--white);
    transform: scale(1.08);
}
.solution-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 8px;
}
.solution-card p {
    font-size: 13px;
    color: var(--text-muted-light);
}

/* ===== Features Section ===== */
.features {
    background: var(--bg);
    position: relative;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    padding: 0;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.feature-card h4,
.feature-card p {
    padding: 0 20px;
}
.feature-card p:last-child {
    padding-bottom: 24px;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.4s;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}
.feature-icon {
    width: 70px; height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 26, 26, 0.08);
    color: var(--primary);
    border-radius: 20px;
    font-size: 28px;
}
.feature-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 14px;
    color: var(--text-muted-light);
    line-height: 1.8;
}

/* ===== Portals Section ===== */
.portals { background: var(--bg-alt); }
.portals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.portal-card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-card);
}
.portal-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 26, 26, 0.15);
    box-shadow: var(--shadow-card-hover);
}
.portal-icon {
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 26, 26, 0.08);
    color: var(--primary);
    border-radius: 14px;
    font-size: 22px;
    margin-bottom: 20px;
}
.portal-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 10px;
}
.portal-card p {
    font-size: 14px;
    color: var(--text-muted-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ===== CTA Section ===== */
.cta {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 80px 0;
    text-align: center;
}
.cta h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}
.cta p {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    max-width: 700px;
    margin: 0 auto 32px;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.btn-dark:hover { background: #F0E8E8; transform: translateY(-2px); color: var(--primary-dark); }
.btn-white-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.btn-white-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); border-color: rgba(255,255,255,0.7); }

/* ===== Contact Section ===== */
.contact { background: var(--bg); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 32px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-item-icon {
    width: 48px; height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 26, 26, 0.08);
    color: var(--primary);
    border-radius: 12px;
    font-size: 18px;
}
.contact-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 4px;
}
.contact-item p, .contact-item a {
    font-size: 14px;
    color: var(--text-muted-light);
}
.contact-item a:hover { color: var(--primary); }
.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}
.contact-social a {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 26, 26, 0.08);
    color: var(--primary);
    border-radius: 12px;
    font-size: 16px;
    transition: var(--transition);
}
.contact-social a:hover {
    background: var(--primary);
    color: var(--white);
}
.contact-form-wrapper {
    background: var(--bg-alt);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    padding: 40px;
}
.contact-form-wrapper h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 28px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted-light);
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    color: var(--heading);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg); }

/* ===== Footer ===== */
.footer {
    background: var(--secondary);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
}
.footer-about p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 2;
    margin: 20px 0;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255,255,255,0.6);
    border-radius: 10px;
    font-size: 14px;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}
.footer-widget h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}
.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-right: 8px; }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-contact-item i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 14px;
}
.footer-contact-item p,
.footer-contact-item a {
    font-size: 13px;
    color: var(--text-muted);
}
.footer-bottom {
    margin-top: 60px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--white); }

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 14px;
    font-size: 18px;
    box-shadow: var(--shadow-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    cursor: pointer;
    z-index: 100;
    border: none;
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover { transform: translateY(-4px); }

/* ===== Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s, transform 0.7s;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Page Hero (Subpages) ===== */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #5C0A0A, #8B1A1A, #6B0F0F);
    text-align: center;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
}
.page-hero h1 span {
    background: linear-gradient(135deg, #FFFFFF, #F0D0D0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
}
.page-hero .breadcrumb {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.8); }
.page-hero .breadcrumb a:hover { text-decoration: underline; color: var(--white); }

/* Page hero with background image */
.page-hero-bg {
    position: relative;
    padding: 180px 0 100px;
    text-align: center;
    overflow: hidden;
}
.page-hero-bg .hero-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.page-hero-bg .hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(92,10,10,0.92), rgba(139,26,26,0.85));
}
.page-hero-bg .container { position: relative; z-index: 1; }
.page-hero-bg h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
}
.page-hero-bg p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Content Sections for Subpages ===== */
.content-section {
    padding: 80px 0;
}
.content-section:nth-child(odd) {
    background: var(--bg);
}
.content-section:nth-child(even) {
    background: var(--bg-alt);
}
.content-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}
.content-text {
    font-size: 17px;
    color: var(--text-muted-light);
    line-height: 2;
    max-width: 900px;
    margin: 0 auto 32px;
    text-align: center;
}
.content-text-start {
    font-size: 17px;
    color: var(--text-muted-light);
    line-height: 2;
    margin-bottom: 24px;
}

/* ===== Info Cards Grid ===== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.info-card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}
.info-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 26, 26, 0.15);
    box-shadow: var(--shadow-card-hover);
}
.info-card .card-icon {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 26, 26, 0.08);
    color: var(--primary);
    border-radius: 16px;
    font-size: 24px;
    transition: var(--transition);
}
.info-card:hover .card-icon {
    background: var(--primary);
    color: var(--white);
}
.info-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 10px;
}
.info-card p {
    font-size: 14px;
    color: var(--text-muted-light);
    line-height: 1.8;
}

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

/* ===== Vision/Mission Boxes ===== */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 40px 0;
}
.vm-box {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.vm-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
}
.vm-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.vm-box h3 i {
    font-size: 24px;
}
.vm-box p {
    font-size: 16px;
    color: var(--text-muted-light);
    line-height: 2;
}

/* ===== Values Grid ===== */
.values-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}
.value-item {
    background: rgba(139, 26, 26, 0.04);
    border: 1px solid rgba(139, 26, 26, 0.12);
    border-radius: 50px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}
.value-item:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== Two Column Layout ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.two-col img {
    border-radius: var(--radius);
    width: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-card);
}
.two-col-content h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 16px;
}
.two-col-content p {
    font-size: 16px;
    color: var(--text-muted-light);
    line-height: 2;
    margin-bottom: 16px;
}

/* ===== Purity Badge ===== */
.purity-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(139, 26, 26, 0.06);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 20px 40px;
    margin: 24px 0;
}
.purity-badge .purity-num {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}
.purity-badge .purity-label {
    font-size: 16px;
    color: var(--text-muted-light);
}

/* ===== Partner Card ===== */
.partner-card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 32px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}
.partner-card:hover {
    border-color: rgba(139, 26, 26, 0.15);
    box-shadow: var(--shadow-card-hover);
}
.partner-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 16px;
}
.partner-card p {
    font-size: 15px;
    color: var(--text-muted-light);
    line-height: 2;
    margin-bottom: 16px;
}
.partner-card img {
    max-height: 80px;
    margin-top: 12px;
}
.partner-logos {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

/* ===== News Cards ===== */
.news-card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 32px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}
.news-card:hover {
    border-color: rgba(139, 26, 26, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}
.news-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.news-card h3 i {
    font-size: 20px;
}
.news-card p {
    font-size: 15px;
    color: var(--text-muted-light);
    line-height: 2;
}
.news-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

/* ===== Project Cards ===== */
.project-card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.4s;
}
.project-card:hover::before { transform: scaleX(1); }
.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 26, 26, 0.15);
    box-shadow: var(--shadow-card-hover);
}
.project-card .project-icon {
    width: 80px; height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 26, 26, 0.08);
    color: var(--primary);
    border-radius: 20px;
    font-size: 32px;
    transition: var(--transition);
}
.project-card:hover .project-icon {
    background: var(--primary);
    color: var(--white);
}
.project-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 12px;
}
.project-card p {
    font-size: 14px;
    color: var(--text-muted-light);
    line-height: 1.8;
}

/* ===== Features List (for features detail page) ===== */
.feature-detail-card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}
.feature-detail-card:hover {
    border-color: rgba(139, 26, 26, 0.15);
    transform: translateX(8px);
    box-shadow: var(--shadow-card-hover);
}
.feature-detail-card .fd-num {
    width: 56px; height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 26, 26, 0.08);
    color: var(--primary);
    border-radius: 14px;
    font-size: 24px;
    font-weight: 900;
}
.feature-detail-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 8px;
}
.feature-detail-card p {
    font-size: 14px;
    color: var(--text-muted-light);
    line-height: 1.8;
}

/* ===== Map Placeholder ===== */
.map-placeholder {
    background: var(--bg-alt);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}
.map-placeholder i {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.3;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .portals-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .info-cards { grid-template-columns: repeat(2, 1fr); }
    .info-cards-4 { grid-template-columns: repeat(2, 1fr); }
    .two-col { grid-template-columns: 1fr; gap: 40px; }
    .vm-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .menu-toggle { display: flex; }
    .mobile-overlay { display: block; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card::after { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .portals-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .about-features { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .info-cards { grid-template-columns: 1fr; }
    .info-cards-4 { grid-template-columns: 1fr; }
    .content-section { padding: 60px 0; }
    .page-hero { padding: 120px 0 60px; }
    .page-hero-bg { padding: 140px 0 80px; }
    .feature-detail-card { flex-direction: column; text-align: center; }
    .feature-detail-card:hover { transform: translateY(-4px); }
}

@media (max-width: 480px) {
    .solutions-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* ===== Particle Decoration ===== */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.particle {
    position: absolute;
    width: 4px; height: 4px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    opacity: 0.2;
    animation: float 15s infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    25% { opacity: 0.3; }
    50% { transform: translateY(-300px) translateX(100px); opacity: 0.15; }
    75% { opacity: 0.2; }
}
