/* ======================================
   النائب سعيد العماري – Official Website
   Professional Government-style Design
   ====================================== */

/* === CSS Custom Properties === */
:root {
    /* Brand Colors - Standard */
    --navy-900: #0a1628;
    --navy-800: #0f1f3d;
    --navy-700: #152a4e;
    --navy-base: #1e3f6f;
    --gold-500: #c9a84c;
    --gold-400: #d4b85c;
    --gold-300: #e0c96e;
    --gold-600: #b8953e;

    /* Theme Variables - Light (Initial) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-navy: #0a1628;
    --border-color: #dee2e6;
    --navbar-bg: rgba(10, 22, 40, 0.92);
    --navbar-scrolled: rgba(10, 22, 40, 0.97);
    --input-bg: #ffffff;
    --input-border: #ced4da;
    --shadow: rgba(0, 0, 0, 0.1);

    /* Utilities */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --green-500: #28a745;
    --red-500: #dc3545;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.18);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s ease;
    --transition-slow: 0.5s ease;
    --font-family: 'Cairo', sans-serif;
}

[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-navy: #f8fafc;
    --border-color: #334155;
    --navbar-bg: rgba(15, 23, 42, 0.95);
    --navbar-scrolled: rgba(15, 23, 42, 0.98);
    --input-bg: #1e293b;
    --input-border: #475569;
    --shadow: rgba(0, 0, 0, 0.4);
}

/* === Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.section-padding {
    padding: 100px 0;
}

/* === Animations Keyframes === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes progressBar {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* === Scroll-based Animations === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Header === */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--navbar-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    transition: all var(--transition-normal);
    padding: 0;
}

#header.scrolled {
    background: var(--navbar-scrolled);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

#header.scrolled .navbar {
    height: 68px;
}

#header.scrolled .logo-icon {
    width: 52px;
    height: 52px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
}

.logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    border-radius: 50%;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--gold-400);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 8px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(201, 168, 76, 0.12);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 18px;
    left: 18px;
    height: 2px;
    background: var(--gold-500);
    border-radius: 2px;
}

.btn-nav {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600)) !important;
    color: var(--navy-900) !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.25);
    transition: all var(--transition-fast) !important;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35) !important;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500)) !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background var(--transition-fast);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* === Theme Toggle === */
.theme-toggle-wrapper {
    margin-right: 15px;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: rgba(201, 168, 76, 0.2);
    border-color: var(--gold-500);
    color: var(--gold-400);
    transform: rotate(15deg);
}

/* === Hero Section === */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-800) 100%);
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(30, 63, 111, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

#hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 100px;
}

.hero-content h2 {
    font-size: 1.15rem;
    color: var(--gold-400);
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--white);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-200) 50%, var(--gold-300) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.hero-content p {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Hero Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-family);
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
    border-radius: 50%;
}

.btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--navy-900);
    box-shadow: 0 6px 25px rgba(201, 168, 76, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(201, 168, 76, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--gold-400);
    color: var(--gold-400);
    transform: translateY(-3px);
    background: rgba(201, 168, 76, 0.06);
}

/* === Section Header === */
.section-header {
    margin-bottom: 60px;
}

.section-header .subtitle {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--gold-500);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
    padding: 6px 20px;
    background: rgba(201, 168, 76, 0.08);
    border-radius: 30px;
}

.text-white .subtitle {
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold-400);
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-navy);
    margin-bottom: 16px;
}

.text-white h2 {
    color: var(--white);
}

.line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    border-radius: 4px;
    margin: 0 auto;
}

/* === About Section === */
.about-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.img-container {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.img-container::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: linear-gradient(135deg, var(--gold-500), transparent, var(--gold-600));
    border-radius: inherit;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.img-container:hover .portrait-img {
    transform: scale(1.05);
}

.img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.4), transparent);
    z-index: 2;
    pointer-events: none;
}

.about-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-navy);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 16px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    border-radius: 3px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 28px;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-primary);
    padding: 12px 18px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    border-right: 3px solid var(--gold-500);
    transition: all var(--transition-fast);
}

.about-list li:hover {
    background: rgba(201, 168, 76, 0.06);
    transform: translateX(-5px);
}

.about-list li i {
    color: var(--gold-500);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* === Background Variants === */
.bg-light {
    background: var(--bg-secondary);
}

.bg-dark {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    position: relative;
    overflow: hidden;
}

.bg-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(30, 63, 111, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* === Vision Section === */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.vision-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    transform-origin: right;
}

.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 168, 76, 0.2);
}

.vision-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.icon-box {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), rgba(201, 168, 76, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.icon-box i {
    font-size: 1.8rem;
    color: var(--gold-500);
    transition: all var(--transition-normal);
}

.vision-card:hover .icon-box {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.vision-card:hover .icon-box i {
    color: var(--navy-900);
}

.vision-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-navy);
    margin-bottom: 12px;
}

.vision-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === Role Section === */
.lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.role-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 45px 35px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.role-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    transition: width var(--transition-normal);
    border-radius: 3px 3px 0 0;
}

.role-item:hover {
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.role-item:hover::after {
    width: 80%;
}

.role-item i {
    font-size: 2.5rem;
    color: var(--gold-500);
    margin-bottom: 20px;
    display: block;
    transition: transform var(--transition-normal);
}

.role-item:hover i {
    transform: scale(1.15);
}

.role-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-navy);
    margin-bottom: 14px;
}

.role-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === Contact Form Section === */
.form-instruction {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    margin-top: 12px;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-form {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 48px 42px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
}

.required {
    color: var(--gold-400);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-family: var(--font-family);
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: var(--white);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-500);
    background: rgba(201, 168, 76, 0.06);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-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='%23c9a84c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 10px;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.error-msg {
    display: block;
    font-size: 0.8rem;
    color: var(--red-500);
    margin-top: 4px;
    min-height: 18px;
}

/* File Upload */
.file-upload {
    position: relative;
}

.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    top: 0;
    right: 0;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.file-label:hover {
    border-color: var(--gold-500);
    color: var(--gold-400);
    background: rgba(201, 168, 76, 0.05);
}

.file-label i {
    font-size: 1.3rem;
}

.file-label.has-file {
    border-color: var(--gold-500);
    color: var(--gold-400);
    background: rgba(201, 168, 76, 0.08);
    border-style: solid;
}

/* Submit Button */
.form-actions {
    text-align: center;
    margin-top: 12px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 56px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-family);
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--navy-900);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
    border-radius: 50%;
}

.btn-submit:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(201, 168, 76, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit .loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(10, 22, 40, 0.2);
    border-top-color: var(--navy-900);
    border-radius: 50%;
    animation: rotate 0.6s linear infinite;
}

/* === Footer === */
footer {
    background: var(--navy-900);
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}

.footer-logo h3 {
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 6px;
}

.footer-logo p {
    color: var(--gold-400);
    font-size: 0.88rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: var(--gold-500);
    color: var(--navy-900);
    border-color: var(--gold-500);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* === Toast Notification === */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border: 1px solid var(--border-color);
    max-width: 480px;
    width: calc(100% - 40px);
    overflow: hidden;
}

.toast.active {
    bottom: 30px;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.check-icon {
    font-size: 1.6rem;
    color: var(--green-500);
    flex-shrink: 0;
}

.toast .message {
    display: flex;
    flex-direction: column;
}

.toast .text-1 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.toast .text-2 {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.toast .close {
    cursor: pointer;
    color: var(--gray-500);
    font-size: 1.1rem;
    padding: 4px;
    transition: color var(--transition-fast);
}

.toast .close:hover {
    color: var(--gray-800);
}

.toast .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), var(--green-500));
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    width: 100%;
}

.toast.active .progress {
    animation: progressBar 5s linear forwards;
}

/* === Success Modal Overlay === */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-modal {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    text-align: center;
    max-width: 450px;
    width: calc(100% - 40px);
    transform: scale(0.8);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-xl);
    color: var(--text-primary);
}

.success-overlay.active .success-modal {
    transform: scale(1);
}

.success-modal .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--green-500), #34ce57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: var(--white);
    animation: pulse 1s ease-in-out;
}

.success-modal h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-navy);
    margin-bottom: 12px;
}

.success-modal p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.success-modal .modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.success-modal .btn-whatsapp-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.success-modal .btn-whatsapp-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    background: linear-gradient(135deg, #2ae06f, #159e8f);
}

.success-modal .btn-close-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    background: transparent;
    color: var(--gray-600);
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.success-modal .btn-close-modal:hover {
    background: var(--bg-secondary);
    color: var(--text-navy);
    border-color: var(--gold-500);
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

/* Tablets */
@media (max-width: 1024px) {
    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 300px 1fr;
        gap: 40px;
    }

    .section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 100px 30px 40px;
        gap: 8px;
        box-shadow: -10px 0 40px var(--shadow);
        transition: right var(--transition-normal);
        z-index: 998;
        align-items: stretch;
        border-left: 1px solid var(--border-color);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        display: block;
        padding: 14px 20px;
        border-radius: var(--radius-sm);
        font-size: 1rem;
        color: var(--text-primary);
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(201, 168, 76, 0.1);
    }

    .nav-links a.active::after {
        display: none;
    }

    .btn-nav {
        text-align: center;
        margin-top: 12px;
    }

    .theme-toggle-wrapper {
        margin-right: 0;
        margin-top: 15px;
        display: flex;
        justify-content: center;
    }

    .theme-toggle {
        background: var(--bg-secondary);
        border-color: var(--border-color);
        color: var(--text-primary);
        width: 100%;
        max-width: 300px;
        border-radius: var(--radius-md);
        height: 50px;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
    }

    .mobile-menu-btn.active i::before {
        content: "\f00d";
    }

    [data-theme="dark"] .mobile-menu-btn {
        color: var(--white);
    }

    /* Overlay behind mobile menu */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 997;
    }

    .nav-overlay.active {
        display: block;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 320px;
        margin: 0 auto;
    }

    .about-text {
        text-align: center;
    }

    .about-text h3::after {
        right: 50%;
        transform: translateX(50%);
    }

    .about-list li {
        justify-content: center;
        border-right: none;
        border-bottom: 2px solid var(--gold-500);
    }

    .about-list li:hover {
        transform: translateY(-3px);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero-content h2 {
        font-size: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .vision-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .role-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 16px;
    }

    .navbar {
        height: 68px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text p {
        font-size: 0.7rem;
    }

    .hero-content {
        padding-top: 70px;
    }

    .contact-form {
        padding: 24px 18px;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }

    .img-placeholder {
        aspect-ratio: 1/1;
    }

    .img-placeholder i {
        font-size: 5rem;
    }

    .role-item {
        padding: 30px 24px;
    }

    .vision-card {
        padding: 30px 20px;
    }

    .toast {
        max-width: calc(100% - 32px);
        padding: 16px 20px;
    }

    .success-modal {
        padding: 36px 24px;
    }
}

/* === Print Styles === */
@media print {

    #header,
    .hero-btns,
    #contact,
    .social-links,
    .mobile-menu-btn {
        display: none !important;
    }

    #hero {
        min-height: auto;
        padding: 40px 0;
    }

    .section-padding {
        padding: 30px 0;
    }
}

/* === Accessibility === */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus Styles  */
:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 3px;
}