/* ===== CSS Variables ===== */
:root {
    --primary-color: #1B3A5F;
    --primary-dark: #0F2438;
    --primary-light: #2C5282;
    --secondary-color: #FF6B35;
    --secondary-dark: #E55A2B;
    --secondary-light: #FF8555;
    --accent-color: #FFA500;
    --accent-light: #FFB627;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-gray: #333;
    --white: #FFFFFF;
    --text-color: #2C3E50;
    --text-light: #6C757D;
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    background: var(--white);
    padding: 20px;
    border-radius: 50%;
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    display: block;
    width: 50%;
    height: 100%;
    background: var(--secondary-color);
    border-radius: 2px;
    animation: loading 1.5s ease-in-out infinite;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

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

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

.logo img {
    height: 55px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

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

.logo-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 600;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link i {
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
    background: rgba(255, 107, 53, 0.1);
}

.dropdown {
    position: relative;
}

.dropdown .nav-link .fa-chevron-down {
    font-size: 0.7rem;
    transition: var(--transition);
}

.dropdown:hover .nav-link .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 10px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--secondary-color);
    padding-right: 20px;
}

.btn-nav {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

/* الخلفية والأشكال */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.hero-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.hero-shape.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--secondary-light);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

.hero-content {
    position: relative;
    z-index: 3;          
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.hero-text {
    color: var(--white);
    max-width: 750px;
}


.hero-floating-cards {
    position: absolute;
    inset: 0;               
    z-index: 1;            
    pointer-events: none;
}

.floating-card {
    position: absolute;
    padding: 20px 30px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    animation: float 6s ease-in-out infinite;
    pointer-events: auto;
}

.floating-card i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.floating-card.card-1 {
    top: 18%;
    right: 85%;
    transform: rotate(-3deg);
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 52%;
    left: 95%;
    transform: rotate(2deg);
    animation-delay: 1.5s;
}

.floating-card.card-3 {
    top: 64%;
    right: 89%;
    transform: rotate(-2deg);
    animation-delay: 3s;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--white);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* مؤشر “اكتشف المزيد” */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
  left: 10%;   /* يصير يسار كثير */
transform: translateX(0);
    text-align: center;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 3; 
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 25px;
    margin: 0 auto 10px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}


/* ===== Vision 2030 Section ===== */
.vision2030 {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E8EEF2 100%);
    position: relative;
    overflow: hidden;
}

.vision2030::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(27, 58, 95, 0.03));
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr;  
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: right;      
}


.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 20px;
}

.vision-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 40px;
}

.vision-goals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    gap: 25px;
}


.goal-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.goal-item:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
}

.goal-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
}

.goal-content h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.goal-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.vision-visual {
    position: relative;
}

.vision-card {
    background: var(--white);
    padding: 60px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, transparent, rgba(255, 107, 53, 0.05));
    animation: rotate 20s linear infinite;
}

.vision-logo {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.vision-logo img {
    width: 180px;
    height: auto;
}

.vision-badge-large {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: var(--shadow-lg);
}

.vision-badge-large i {
    font-size: 1.5rem;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: var(--white);
}

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

.section-description {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 15px auto 0;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}


.about-card {
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-md);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 25px;
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
}

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

.values-list {
    list-style: none;
}

.values-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
    font-weight: 600;
}

.values-list i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E8EEF2 100%);
}

.services-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.service-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    animation: rotate 30s linear infinite;
}

.service-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.service-category {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--white);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.service-body {
    padding: 30px;
}

.service-description {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    padding: 10px 0;
    padding-right: 25px;
    position: relative;
    color: var(--text-color);
    font-size: 0.95rem;
}

.service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--secondary-color);
}

.service-footer {
    padding: 0 30px 30px;
}

.service-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.service-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* ===== Why Us Section ===== */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 80px;
}

.why-card {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8EEF2 100%);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto 20px;
}

.why-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 800;
}

.why-card p {
    color: var(--text-color);
    line-height: 1.7;
}

.testimonials {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 800;
}

.testimonials-slider {
    position: relative;
    min-height: 250px;
}

.testimonial-item {
    display: none;
    background: linear-gradient(135deg, #F8F9FA 0%, #E8EEF2 100%);
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    position: relative;
}

.testimonial-item.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 3px;
    font-weight: 700;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.slider-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E8EEF2 100%);
}


.contact-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

.contact-card h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-card p {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-link:hover {
    gap: 10px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);

    width: 100%;   
    max-width: 100%;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

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

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.footer-top {
    padding: 80px 0 40px;
}

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

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 800;
    color: var(--accent-color);
}
/* Footer Logo */
.footer-logo {
    display: flex;
    justify-content: center;   
    /* justify-content: flex-start; */
    align-items: center;
    margin-bottom: 25px;
}

.footer-logo img {
    width: 160px;     
    max-width: 100%; 
    height: auto;
}


.footer-description {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

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

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-right: 5px;
}

.footer-links i {
    font-size: 0.7rem;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-contact i {
    color: var(--accent-color);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    opacity: 0.8;
}

.footer-badges {
    display: flex;
    gap: 15px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge i {
    color: var(--accent-color);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 50px;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.4s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border: none;
    border-radius: 50%;
    color: var(--text-color);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotate(90deg);
}

/* ===== Animations ===== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(300%);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

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

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        display: none;
    }
    
    .vision-content {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-floating-cards,
    .hero .floating-card,
    .scroll-indicator {
        display: none;
    }
}


@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 85px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 30px 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        max-height: calc(100vh - 85px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-right: 20px;
        margin-top: 10px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    

    
      .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    .modal-content {
        padding: 30px 20px;
    }
    .vision-goals {
        grid-template-columns: 1fr; 
    }
      .about-grid {
        grid-template-columns: 1fr; 
    }
    .footer-logo img {
        width: 180px;  
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

