/**
 * GDD - جمعية دعم المبادرين
 * Main Stylesheet
 */

/* ===== Variables ===== */
:root {
    --primary-color: #2E75B6;
    --secondary-color: #5B9BD5;
    --accent-color: #70AD47;
    --dark-color: #1F4E79;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --white: #fff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 10px;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--dark-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ===== Utilities ===== */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

.bg-light-custom {
    background-color: var(--light-bg);
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), #8BC34A);
    border: none;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #5a9236, var(--accent-color));
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--dark-color);
    padding: 8px 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1030;
}

.top-bar .contact-info {
    color: rgba(255, 255, 255, 0.9);
}

.top-bar .contact-info i {
    color: var(--accent-color);
    margin-left: 5px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 8px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
}

.language-switcher .btn {
    color: var(--white);
    font-size: 0.85rem;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.language-switcher .btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.language-switcher .dropdown-menu {
    min-width: 150px;
}

/* ===== Main Navbar ===== */
.main-navbar {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-navbar .container {
    position: relative;
}

.main-navbar .navbar-brand {
    padding: 12px 0;
}

.main-navbar .logo {
    max-height: 70px;
    width: auto;
    transition: all 0.3s ease;
}

.main-navbar .navbar-nav {
    background: transparent;
}

.main-navbar .nav-link {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 20px;
    margin: 8px 3px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.main-navbar .nav-link::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.main-navbar .nav-link:hover::before,
.main-navbar .nav-link.active::before {
    width: 30px;
}

.main-navbar .nav-link:hover {
    color: var(--primary-color);
    background: rgba(46, 117, 182, 0.05);
}

.main-navbar .nav-link.active {
    color: var(--primary-color);
}

.main-navbar .btn-apply {
    background: transparent;
    color: var(--accent-color) !important;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid var(--accent-color);
    margin-right: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.main-navbar .btn-apply::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), #5a9236);
    z-index: -1;
    transition: left 0.4s ease;
}

.main-navbar .btn-apply:hover {
    color: var(--white) !important;
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.main-navbar .btn-apply:hover::before {
    left: 0;
}

.main-navbar .btn-apply i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.main-navbar .btn-apply:hover i {
    transform: translateX(-5px);
}

/* Navbar scroll effect */
.main-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.main-navbar.scrolled .logo {
    max-height: 55px;
}

@media (max-width: 991px) {
    .main-navbar .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: 15px;
        margin-top: 10px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }
    
    .main-navbar .nav-link {
        padding: 12px 15px;
        margin: 5px 0;
    }
    
    .main-navbar .nav-link::before {
        display: none;
    }
    
    .main-navbar .btn-apply {
        margin: 10px 0;
        text-align: center;
        display: block;
    }
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.hero-section::before {
    content: '';
    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='%23ffffff' 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: 1;
}

.hero-bg-shape {
    position: absolute;
    right: -150px;
    top: -150px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse 4s ease-in-out infinite;
}

.hero-bg-shape::before {
    content: '';
    position: absolute;
    left: -200px;
    bottom: -300px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    opacity: 0.5;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.15; }
}

.min-vh-60 {
    min-height: 350px;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
}

.hero-section h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent-color), #5a9236);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(112, 173, 71, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(112, 173, 71, 0.5);
    color: var(--white);
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-4px);
}

@media (max-width: 767px) {
    .hero-section {
        padding: 70px 0;
        min-height: 450px;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        max-width: 280px;
    }
}

/* ===== Message Section ===== */
.message-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.message-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.message-section p {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ===== About Brief Section ===== */
.about-brief-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    overflow: hidden;
    position: relative;
}

.about-image-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.about-image-bg {
    display: none;
}

.about-image-main {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--accent-color), #5a9236);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(112, 173, 71, 0.25);
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 280px;
}

.about-image-main img {
    width: 100%;
    max-width: 220px;
    display: block;
    margin: 0 auto;
    filter: brightness(0) invert(1);
}

.about-experience-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 50px;
    text-align: center;
    z-index: 3;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    border: 2px solid var(--accent-color);
}

.about-experience-badge .number {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
}

.about-experience-badge .text {
    font-size: 0.75rem;
    font-weight: 600;
}

.about-brief-section .row {
    align-items: stretch;
}

.about-content-wrapper {
    padding-right: 40px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(46, 117, 182, 0.1), rgba(112, 173, 71, 0.1));
    color: var(--primary-color);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(46, 117, 182, 0.2);
}

.about-content-wrapper h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content-wrapper h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin-top: 15px;
    border-radius: 2px;
}

.about-content-wrapper .lead-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 25px;
}

.about-features {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-features .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    flex: 0 0 auto;
}

.about-features .feature-icon {
    color: var(--accent-color);
    font-size: 1rem;
}

.about-features .feature-item span {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.btn-about-more {
    background: linear-gradient(135deg, var(--primary-color), #0f3460);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 117, 182, 0.3);
}

.btn-about-more:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(46, 117, 182, 0.4);
    color: var(--white);
}

@media (max-width: 991px) {
    .about-brief-section {
        padding: 50px 0;
    }
    
    .about-content-wrapper {
        padding-right: 0;
        margin-top: 40px;
        text-align: center;
    }
    
    .about-content-wrapper h2::after {
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-features {
        justify-content: center;
    }
    
    .about-image-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .about-experience-badge {
        right: 0;
        bottom: -10px;
    }
}

/* ===== About Page Section ===== */
.about-section .about-content {
    padding: 20px;
}

.about-section .about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-section .about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.about-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.about-card .icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.about-card h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.about-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== Services Section ===== */
.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-card:hover .icon {
    background: linear-gradient(135deg, var(--accent-color), #8BC34A);
    transform: rotateY(180deg);
}

.service-card .icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== Initiative Types Section ===== */
.initiative-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.initiative-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.initiative-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.initiative-card:hover .icon {
    transform: scale(1.1);
}

.initiative-card .icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.initiative-card h5 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.initiative-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===== Statistics Section ===== */
.stats-section {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    padding: 80px 0;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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='%23ffffff' fill-opacity='0.1'%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: 1;
}

.stat-item {
    text-align: center;
    color: var(--white);
    padding: 30px;
}

.stat-item .icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid var(--accent-color);
}

.stat-item .icon i {
    font-size: 2rem;
    color: var(--accent-color);
}

.stat-item .number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.stat-item .title {
    font-size: 1.1rem;
    opacity: 0.9;
}

@media (max-width: 767px) {
    .stats-section {
        padding: 40px 0;
    }
    
    .stats-section .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .stats-section .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-item .icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .stat-item .icon i {
        font-size: 1.3rem;
    }
    
    .stat-item .number {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }
    
    .stat-item .title {
        font-size: 0.85rem;
    }
}

/* ===== Latest Initiatives ===== */
.initiative-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.initiative-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.initiative-item .initiative-header {
    padding: 20px;
    color: var(--white);
    position: relative;
}

.initiative-item .initiative-header .type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
}

[dir="ltr"] .initiative-item .initiative-header .type-badge {
    right: auto;
    left: 15px;
}

.initiative-item .initiative-body {
    padding: 20px;
}

.initiative-item h5 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.initiative-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.initiative-item .status-badge {
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 20px;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--accent-color), #8BC34A);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-section .btn {
    background: var(--white);
    color: var(--accent-color);
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
}

.cta-section .btn:hover {
    background: var(--dark-color);
    color: var(--white);
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.page-header .breadcrumb {
    justify-content: center;
    background: transparent;
    margin-bottom: 0;
    position: relative;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-item.active {
    color: var(--accent-color);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Forms ===== */
.form-section {
    background: var(--light-bg);
}

.form-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-card .nav-tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.form-card .nav-tabs .nav-link {
    border: none;
    color: var(--text-light);
    font-weight: 600;
    padding: 15px 30px;
    margin-bottom: -2px;
}

.form-card .nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    background: transparent;
}

.form-control,
.form-select {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 117, 182, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.form-label .required {
    color: #dc3545;
}

/* ===== Contact Section ===== */
.contact-info-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
    text-align: center;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-info-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-info-card .icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-info-card h5 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.contact-info-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-color);
    color: var(--white);
}

.footer-top {
    padding: 60px 0 30px;
}

.footer-logo {
    max-height: 70px;
}

.footer-widget h5 {
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

[dir="ltr"] .footer-widget h5::after {
    right: auto;
    left: 0;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-right: 5px;
}

[dir="ltr"] .footer-links a:hover {
    padding-right: 0;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: var(--accent-color);
    margin-left: 10px;
    margin-top: 5px;
}

[dir="ltr"] .footer-contact li i {
    margin-left: 0;
    margin-right: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    margin-left: 8px;
    transition: var(--transition);
}

[dir="ltr"] .footer-social a {
    margin-left: 0;
    margin-right: 8px;
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Footer Mobile Collapse */
@media (max-width: 991px) {
    .footer-collapse .footer-toggle {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .footer-collapse .footer-toggle::after {
        display: none;
    }
    
    .footer-collapse .footer-toggle i {
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }
    
    .footer-collapse .footer-toggle[aria-expanded="true"] i {
        transform: rotate(180deg);
    }
    
    .footer-collapse .footer-links,
    .footer-collapse .footer-contact {
        padding-top: 15px;
    }
    
    .footer-collapse .collapse:not(.show) {
        display: none;
    }
    
    .footer-top {
        padding: 30px 0;
    }
    
    .footer-widget {
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .footer-collapse .footer-toggle i {
        display: none !important;
    }
    
    .footer-collapse .collapse {
        display: block !important;
    }
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

[dir="ltr"] .back-to-top {
    right: 30px;
    left: auto;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark-color);
    color: var(--white);
    transform: translateY(-5px);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .hero-slider .carousel-item {
        height: 500px;
    }
    
    .hero-slider .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .main-navbar .navbar-nav {
        padding: 20px 0;
    }
    
    .main-navbar .nav-link {
        padding: 10px 0;
    }
    
    .top-bar .contact-info {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .top-bar-right {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hero-slider .carousel-item {
        height: 450px;
    }
    
    .hero-slider .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .hero-slider .carousel-caption p {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .stat-item .number {
        font-size: 2.5rem;
    }
    
    .form-card {
        padding: 25px;
    }
    
    .form-card .nav-tabs .nav-link {
        padding: 12px 20px;
    }
}

@media (max-width: 575px) {
    .top-bar .contact-info span {
        display: block;
        margin-bottom: 5px;
    }
    
    .top-bar .contact-info span.ms-3 {
        margin-left: 0 !important;
    }
    
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        display: none;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== Loading Spinner ===== */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== Alert Styles ===== */
.alert {
    border: none;
    border-radius: var(--border-radius);
}

.alert-success {
    background: rgba(112, 173, 71, 0.15);
    color: var(--accent-color);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.15);
    color: #856404;
}

.alert-info {
    background: rgba(91, 155, 213, 0.15);
    color: var(--secondary-color);
}
