/* ===========================
   Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a85c7;
    --secondary-color: #7ca8d8;
    --dark-blue: #3668a3;
    --light-blue: #bdd7ee;
    --accent-blue: #5a93cf;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --gradient-1: linear-gradient(135deg, #bdd7ee 0%, #4a85c7 100%);
    --gradient-2: linear-gradient(135deg, #4a85c7 0%, #3668a3 100%);
    --shadow-sm: 0 2px 8px rgba(74, 133, 199, 0.1);
    --shadow-md: 0 4px 16px rgba(74, 133, 199, 0.15);
    --shadow-lg: 0 8px 32px rgba(74, 133, 199, 0.2);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s ease;
}

.navbar.scrolled .logo {
    color: var(--primary-color);
}

.logo i {
    font-size: 32px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-blue);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.navbar.scrolled .hamburger span {
    background: var(--primary-color);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(74, 133, 199, 0.92) 0%, rgba(54, 104, 163, 0.88) 100%),
                url('https://images.unsplash.com/photo-1631545806609-57b2bb507a1e?w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(189, 215, 238, 0.2) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--white);
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===========================
   Section Headers
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header h2 span {
    color: var(--primary-color);
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* ===========================
   Introduction Section
   =========================== */
.introduction {
    padding: 100px 0;
    background: var(--light-bg);
}

.intro-text {
    font-size: 18px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    color: var(--text-light);
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.stat-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stat-card h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--text-light);
}

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

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 133, 199, 0.88) 0%, rgba(189, 215, 238, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 80px;
    color: var(--white);
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-content h2 span {
    color: var(--primary-color);
}

.about-content .divider {
    margin: 0 0 30px 0;
}

.about-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-item span {
    font-weight: 500;
    color: var(--text-dark);
}

/* ===========================
   Expertise Section
   =========================== */
.expertise {
    padding: 100px 0;
    background: var(--light-bg);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.expertise-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-blue);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.expertise-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon i {
    font-size: 40px;
    color: var(--white);
}

.expertise-card h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

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

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

.partners-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-card {
    background: var(--light-bg);
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.partner-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.partner-logo img {
    max-height: 200px;
    max-width: 200px;
    object-fit: contain;
}

.partner-card h3 {
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

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

/* ===========================
   Why Choose Us Section
   =========================== */
.why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, #3668a3 0%, #4a85c7 100%);
    color: var(--white);
}

.why-us .section-header h2,
.why-us .section-header h2 span {
    color: var(--white);
}

.why-us .divider {
    background: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.1) rotate(360deg);
}

.why-icon i {
    font-size: 40px;
    color: var(--primary-color);
}

.why-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--white);
}

.why-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    padding: 100px 0;
    background: var(--light-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 32px;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
    font-size: 16px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 500px;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.contact-image:hover img {
    transform: scale(1.1);
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 133, 199, 0.88) 0%, rgba(189, 215, 238, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-image:hover .contact-overlay {
    opacity: 1;
}

.contact-overlay i {
    font-size: 80px;
    color: var(--white);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 48px;
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--light-blue);
    font-size: 16px;
}

.footer-text p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* ===========================
   Scroll to Top Button
   =========================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 968px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        max-width: 80vw;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 50px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--text-dark);
        font-size: 18px;
    }

    .hamburger {
        display: flex;
    }

    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image,
    .contact-image {
        height: 400px;
        width: 100%;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 42px;
    }

    .section-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        width: 100%;
        overflow: hidden;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .intro-text {
        font-size: 16px;
    }

    .contact-info,
    .about-content {
        text-align: center;
    }

    .about-content .divider {
        margin: 0 auto 30px;
    }

    .partner-logo img {
        max-height: 120px;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero {
        width: 100%;
        overflow: hidden;
    }

    .hero h1 {
        font-size: 28px;
        padding: 0 10px;
    }

    .hero p {
        font-size: 14px;
        padding: 0 10px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .logo span {
        font-size: 16px;
    }

    .logo i {
        font-size: 24px;
    }

    .section-header h2 {
        font-size: 24px;
        padding: 0 10px;
    }

    .expertise-card,
    .partner-card {
        padding: 30px 20px;
    }

    .partner-logo img {
        max-height: 100px;
        max-width: 120px;
    }

    .stats-grid,
    .expertise-grid,
    .partners-grid,
    .why-us-grid {
        gap: 20px;
    }

    .about-image,
    .contact-image {
        height: 300px;
    }
}
