/* --- Variables & Reset --- */
:root {
    --primary-color: #003366; /* Deep Blue */
    --accent-color: #D4AF37;  /* Gold */
    --secondary-blue: #00509d;
    --text-color: #333333;
    --light-gray: #f4f7f6;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-gray);
}

.text-center { text-align: center; }

img { max-width: 100%; display: block; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-gold {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-gold:hover {
    background-color: #b8962d;
    transform: translateY(-3px);
}

.btn-blue {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--white);
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.navbar.scrolled .logo, .navbar.scrolled .nav-links a {
    color: var(--primary-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.logo span { color: var(--accent-color); }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
}

/* Mobile Nav */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    background: url(/Image/about\ edanso1.jpg) center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 100px 0;
    color: var(--white);
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 10px;
}

.hero h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-img img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 5px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.hero-img img:hover {
    transform: scale(1.02);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.img-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.credentials {
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-card h3 { font-size: 2rem; margin-bottom: 5px; }

/* --- Mission Cards --- */
.mission-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--secondary-blue);
    max-width: 800px;
    margin: 0 auto 50px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.mission-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 20px;
    transition: var(--transition);
    border-bottom: 4px solid var(--primary-color);
}

.mission-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

/* --- Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--accent-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.right { left: 50%; }
.right::after { left: -10px; }

.timeline-content {
    padding: 20px;
    background: var(--light-gray);
    border-radius: 15px;
}

/* --- Projects --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.project-img img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.project-info {
    padding: 25px;
}

/* --- Gallery --- */
.filter-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    background: none;
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- Testimonials --- */
.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.testimonial {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial.active { display: block; }

.testimonial p { font-style: italic; font-size: 1.2rem; }

.slider-controls {
    margin-top: 20px;
}

.slider-controls button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 10px;
}

/* --- Support Section --- */
.support-section {
    background: linear-gradient(rgba(0,51,102,0.9), rgba(0,51,102,0.9)), url('/Image/dr\ profile3.jfif.jpeg') center/cover;
    color: var(--white);
}

.white { color: var(--white); }

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.support-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
}

.stat-box h3 { font-size: 2.5rem; color: var(--accent-color); }

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid #eee;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.social-icons a {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
}

.w-100 { width: 100%; }

/* --- Footer --- */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-grid h4 {
    color: var(--accent-color);
    margin-bottom: 25px;
}

.footer-grid ul li {
    margin-bottom: 12px;
}

.footer-grid ul a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* --- Utilities & Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.close-lightbox {
    position: absolute;
    top: 40px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* --- Back To Top --- */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    cursor: pointer;
    z-index: 999;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .hero-content { 
        grid-template-columns: 1fr; 
        text-align: center; 
        max-width: 600px;
        margin: 0 auto;
    }
    .hero-btns { justify-content: center; }
    .hero-img { order: -1; margin-bottom: 30px; }
    .about-grid, .support-grid, .contact-grid { grid-template-columns: 1fr; }
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::after { left: 21px; }
    .right { left: 0; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        background: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s ease;
    }
    
    .nav-links.active { right: 0; }
    .burger { display: block; }
    .footer-grid { grid-template-columns: 1fr; }
}