:root {
    --primary: #21356a;
    --primary-dark: #1a2a53;
    --secondary: #fff200;
    --accent: #f59e0b;
    --text: #334155;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 20px rgba(33,53,106,0.12);
    --shadow-lg: 0 10px 40px rgba(33,53,106,0.18);
    --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    --radius: 12px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; transition: var(--transition); }

/* ===== UTILITIES ===== */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.py-5 { padding: 5rem 0; }
.mt-3 { margin-top: 1.5rem; }
.w-100 { width: 100%; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { color: var(--primary); font-family: 'Poppins', sans-serif; line-height: 1.25; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.8rem 2rem; border-radius: 50px;
    font-weight: 700; font-size: 0.95rem; letter-spacing: 0.3px;
    cursor: pointer; border: none; transition: var(--transition);
    position: relative; overflow: hidden;
}
.btn::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(255,255,255,0.15); opacity: 0;
    transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white); box-shadow: 0 4px 15px rgba(33,53,106,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(33,53,106,0.4); }
.btn-secondary {
    background: var(--secondary); color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(255,242,0,0.4);
}
.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255,242,0,0.5); background: #ffe500; }

/* ===== TOP BAR ===== */
.top-bar { background: var(--primary-dark); color: #cbd5e1; font-size: 0.85rem; padding: 0.5rem 0; }
.top-bar-content { display: flex; align-items: center; gap: 1.5rem; }
.top-bar-content i { color: var(--secondary); font-size: 0.8rem; }

/* ===== HEADER ===== */
.site-header {
    background: var(--white); position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid var(--border); transition: var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 2rem; color: var(--primary); font-weight: 900; font-style: italic; }
.logo-text { font-size: 1.4rem; font-weight: 800; color: var(--primary); font-style: italic; }
.logo-text:hover { color: var(--primary-dark); }

/* Nav */
.main-nav ul { display: flex; list-style: none; gap: 0.25rem; align-items: center; }
.main-nav a {
    color: var(--text); font-weight: 600; font-size: 0.95rem;
    padding: 0.5rem 1rem; border-radius: 8px; position: relative;
    transition: var(--transition);
}
.main-nav a::after {
    content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
    height: 2px; background: var(--primary); transition: var(--transition);
}
.main-nav a:hover::after, .main-nav a.active::after { left: 10%; right: 10%; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav .nav-cta {
    background: var(--primary); color: var(--white) !important;
    border-radius: 50px; padding: 0.6rem 1.5rem; margin-left: 0.5rem;
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Mobile toggle */
.nav-toggle {
    display: none; flex-direction: column; justify-content: space-between;
    background: none; border: none; cursor: pointer; padding: 0;
    width: 24px; height: 18px; position: relative;
}
.nav-toggle span {
    display: block; width: 100%; height: 2px;
    background: var(--primary); transition: var(--transition);
    position: absolute; left: 0;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 8px; }
.nav-toggle span:nth-child(3) { top: 16px; }

.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== SECTION HEADINGS ===== */
.section-subtitle {
    text-align: center; font-size: 0.85rem; color: var(--primary);
    text-transform: uppercase; letter-spacing: 3px;
    margin-bottom: 0.75rem; font-weight: 700;
}
.section-title {
    text-align: center; margin-bottom: 3rem;
    font-size: 2.2rem; font-weight: 800; color: var(--primary);
}
.section-title span { color: var(--accent); }

/* ===== HERO ===== */
.hero-section {
    background: url('https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?auto=format&fit=crop&q=80&w=2070') center/cover no-repeat;
    position: relative; color: var(--white); padding: 8rem 0 6rem; min-height: 90vh;
    display: flex; align-items: center;
}
.hero-section::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(33,53,106,0.92) 0%, rgba(26,42,83,0.75) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-badge {
    display: inline-block; background: rgba(255,242,0,0.15);
    border: 1px solid var(--secondary); color: var(--secondary);
    padding: 0.4rem 1.2rem; border-radius: 50px; font-size: 0.8rem;
    font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800;
    line-height: 1.1; margin-bottom: 1.5rem; color: var(--white);
}
.hero-title span { color: var(--secondary); }
.hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 2.5rem; max-width: 550px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-features {
    display: flex; gap: 2rem; flex-wrap: wrap;
    padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-feature { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: rgba(255,255,255,0.9); }
.hero-feature i { color: var(--secondary); font-size: 1rem; }

/* Typing cursor */
.typed-cursor { color: var(--secondary); animation: blink 0.7s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ===== SERVICE CARDS ===== */
.services-section { padding: 6rem 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.service-card {
    background: var(--white); border-radius: var(--radius); padding: 2.5rem 2rem;
    text-align: center; transition: var(--transition); border: 1px solid var(--border);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0); transition: var(--transition); transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-icon {
    width: 70px; height: 70px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(33,53,106,0.08), rgba(33,53,106,0.15));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem; font-size: 1.75rem; color: var(--primary);
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--primary); color: var(--white);
    box-shadow: 0 8px 20px rgba(33,53,106,0.3);
    transform: rotate(5deg) scale(1.05);
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.service-card ul { list-style: none; text-align: left; }
.service-card li {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.5rem; padding: 0.25rem 0;
}
.service-card li i { color: var(--primary); font-size: 0.75rem; flex-shrink: 0; }

/* ===== FEATURES ===== */
.features-section { padding: 5rem 0; background: linear-gradient(135deg, #f0f4f8 0%, #e8eef6 100%); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.feature-item {
    display: flex; align-items: center; gap: 1rem;
    background: var(--white); padding: 1rem 1.5rem;
    border-radius: var(--radius); box-shadow: var(--shadow);
    font-weight: 600; transition: var(--transition);
}
.feature-item:hover { transform: translateX(5px); box-shadow: var(--shadow-lg); }
.feature-item i { color: var(--primary); font-size: 1.2rem; flex-shrink: 0; }

/* ===== STATS ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative; color: var(--white); padding: 5rem 0; overflow: hidden;
}
.stats-section::before {
    content: ''; position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&q=80&w=2070') center/cover;
    opacity: 0.08;
}
.stats-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.stat-item { padding: 2rem; border-radius: var(--radius); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); transition: var(--transition); }
.stat-item:hover { background: rgba(255,255,255,0.12); transform: translateY(-5px); }
.stat-item i { font-size: 2.5rem; margin-bottom: 1rem; color: var(--secondary); }
.stat-number { font-size: 3rem; font-weight: 800; font-family: 'Poppins', sans-serif; color: var(--white); margin-bottom: 0.5rem; }
.stat-text { font-size: 0.9rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 2px; }

/* ===== TESTIMONIALS / SWIPER ===== */
.testimonials-section { padding: 6rem 0; background: var(--white); }
.swiper-testimonial { padding-bottom: 3rem !important; }
.testimonial-slide {
    background: var(--bg); border-radius: var(--radius); padding: 2.5rem;
    border: 1px solid var(--border); transition: var(--transition);
}
.testimonial-slide:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.testimonial-quote { font-size: 2.5rem; color: var(--secondary); line-height: 1; margin-bottom: 1rem; }
.testimonial-slide p { color: var(--text); font-style: italic; margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
    width: 50px; height: 50px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.author-info strong { display: block; color: var(--primary); font-weight: 700; }
.author-info span { font-size: 0.85rem; color: var(--text-light); }
.swiper-pagination-bullet { background: var(--primary); }
.swiper-pagination-bullet-active { background: var(--primary); }

/* ===== TERMS ===== */
.terms-section { padding: 4rem 0; background: var(--bg); text-align: center; }
.terms-section p { font-size: 0.88rem; color: var(--text-light); max-width: 1000px; margin: 0 auto; line-height: 1.9; }

/* ===== FOOTER ===== */
.site-footer { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: var(--white); padding: 5rem 0 2rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo-text { color: var(--white); }
.footer-contact h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--secondary); display: inline-block; }
.footer-contact p { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; color: #cbd5e1; font-size: 0.9rem; }
.footer-contact i { color: var(--secondary); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: #94a3b8; font-size: 0.85rem; }

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0; text-align: center; color: var(--white);
}
.page-header h1 { color: var(--white); font-size: 2.5rem; font-weight: 800; }
.page-header p { color: rgba(255,255,255,0.8); margin-top: 0.75rem; }

/* ===== ABOUT PAGE ===== */
.about-hero { padding: 5rem 0; }
.vision-mission-section { background: var(--bg); }
.difference-section .blob-bg {
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    width: 350px; height: 350px;
    position: absolute; top: -50px; left: -30px; z-index: 1;
}
.team-card {
    background: var(--white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); transition: var(--transition);
    border: 1px solid var(--border);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-card img { width: 100%; height: 220px; object-fit: cover; }
.team-card-body { padding: 1.25rem; text-align: center; }
.team-card-body h4 { color: var(--primary); font-size: 1rem; margin-bottom: 0.25rem; }
.team-card-body .role { font-weight: 700; font-size: 0.85rem; color: var(--accent); margin-bottom: 0.25rem; }
.team-card-body .exp { font-size: 0.8rem; color: var(--text-light); }

/* ===== WHY CHOOSE US CARDS ===== */
.why-card {
    background: var(--white); padding: 2rem; border-radius: var(--radius);
    box-shadow: var(--shadow); border-left: 4px solid var(--primary);
    transition: var(--transition);
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-left-color: var(--secondary); }
.why-card h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.why-card ul { list-style: disc; padding-left: 1.5rem; color: var(--text-light); font-size: 0.9rem; }
.why-card ul li { margin-bottom: 0.4rem; }

/* ===== CONTACT ===== */
.form-control {
    width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--border);
    border-radius: 8px; font-family: inherit; font-size: 0.95rem;
    transition: var(--transition); background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33,53,106,0.1); }

/* ===== ADMIN ===== */
.admin-sidebar {
    width: 260px; min-height: 100vh; background: var(--primary); padding: 2rem;
    position: fixed; left: 0; top: 0; overflow-y: auto;
}
.admin-content { margin-left: 260px; padding: 2rem; min-height: 100vh; background: var(--bg); }
.admin-nav a { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border-radius: 8px; color: rgba(255,255,255,0.8); font-weight: 600; margin-bottom: 0.25rem; transition: var(--transition); }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.15); color: var(--white); }
.admin-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: var(--primary); color: var(--white); padding: 0.75rem 1rem; text-align: left; font-size: 0.85rem; }
.admin-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.admin-table tr:hover td { background: var(--bg); }
.badge { display: inline-block; padding: 0.2rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.badge-success { background: #dcfce7; color: #166534; }
.badge-info { background: #dbeafe; color: #1e40af; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .admin-sidebar { position: static; width: 100%; min-height: auto; }
    .admin-content { margin-left: 0; }
}
@media (max-width: 768px) {
    .nav-toggle { display: block; z-index: 1001; }
    #main-nav { 
        display: none; 
        width: 100%; 
        order: 3;
        background: var(--white); 
        padding: 1.5rem 0;
        margin-top: 1rem;
        border-top: 1px solid var(--border);
    }
    #main-nav.open { display: block; }
    #main-nav ul { flex-direction: column; align-items: center; gap: 1.5rem; }
    #main-nav a { display: inline-block; padding: 0.5rem 1rem; font-size: 1.1rem; }
    .main-nav .nav-cta { margin-left: 0; padding: 0.7rem 2.2rem; margin-top: 0.5rem; }
    
    .hero-section { padding: 5rem 0 4rem; min-height: auto; }
    .hero-title { font-size: 2rem; }
    .header-inner { flex-wrap: wrap; align-items: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-image { display: none; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-features { flex-direction: column; gap: 1rem; }
}
