:root {
    --primary: #004AAD;
    --secondary: #efbf28;
    --accent: #5ce1e6;
    --dark: #160753;
    --light: #f8f9fa;
    --text-dark: #333333;
    --text-light: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--text-light);
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,0 1000,100 0,80"/></svg>');
    background-size: cover;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #fff;
    transform: skewY(-2deg);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: 300;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-title.left-aligned {
    text-align: left;
}

.section-title.left-aligned::after {
    left: 0;
    transform: none;
}

/* Vision & Mission Section */
.vision-mission {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* reduced from 350px */
    gap: 40px;
}

.vision-card,
.mission-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.vision-card::before,
.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
}

.card-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* About Us Main Section */
.about-main {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.about-main::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="rgba(255,255,255,0.05)"><circle cx="50" cy="50" r="40"/><circle cx="20" cy="20" r="15"/><circle cx="80" cy="80" r="10"/></svg>');
    background-size: 200px 200px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--secondary);
    transition: all 0.5s ease;
}

.about-image img:hover {
    transform: translate(-10px, -10px);
    box-shadow: 30px 30px 0 var(--secondary);
}

.about-content h3 {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 500;
}

.about-content h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.about-content .subtitle {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 30px;
    font-weight: 500;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.features-list {
    margin-top: 30px;
}

.features-list p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Core Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
}

.value-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(92, 225, 230, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.benefit-card:hover::before {
    opacity: 1;
    animation: shimmer 1s ease-in-out;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 74, 173, 0.05), rgba(92, 225, 230, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover::before {
    opacity: 1;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 4px;
    position: relative;
    z-index: 2;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #f0f0f0;
}

.team-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
    position: relative;
    z-index: 2;
}

.team-card .role {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.team-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.faq-question {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    padding: 25px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--dark), var(--primary));
}

.faq-answer {
    padding: 25px 30px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    border-top: 1px solid #f0f0f0;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 8rem;
    color: rgba(0, 74, 173, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 2px;
}

.client-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #f0f0f0;
}

.client-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.client-details p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.rating {
    display: flex;
    gap: 3px;
    position: relative;
    z-index: 2;
}

.rating i {
    color: #ffc107;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,100 1000,0 1000,100"/></svg>');
    background-size: cover;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-primary:hover {
    background: #d4a017;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(239, 191, 40, 0.4);
}

.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .vision-card,
    .mission-card {
        padding: 20px;
    }

    .card-title {
        font-size: 1.4rem;
        text-align: center;
    }

    .card-text {
        font-size: 1rem;
        text-align: justify;
    }
}

.vision-mission {
    width: 100%;
    overflow: hidden;
}
/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero-section {
        padding: 80px 0 100px;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vision-card,
    .mission-card {
        padding: 30px;
    }

    .about-grid {
        gap: 30px;
    }

    .about-image img {
        max-width: 300px;
        box-shadow: 15px 15px 0 var(--secondary);
    }

    .about-image img:hover {
        transform: translate(-5px, -5px);
        box-shadow: 20px 20px 0 var(--secondary);
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-card {
        padding: 25px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }


    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        padding: 12px 30px;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 50px 0;
    }

    .hero-section {
        padding: 60px 0 80px;
    }

    .vision-card,
    .mission-card {
        padding: 25px;
    }

    .value-card {
        padding: 20px;
    }

    .benefit-card {
        padding: 25px 20px;
    }

    .team-card {
        padding: 30px 20px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .faq-question {
        padding: 20px;
        font-size: 1.1rem;
    }

    .faq-answer {
        padding: 20px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    background: rgba(92, 225, 230, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid var(--accent);
    padding: 40px 0;
    box-shadow: 0 20px 40px rgba(22, 7, 83, 0.3);
}

.carousel-track {
    display: flex;
    animation: scroll 20s linear infinite;
    width: fit-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    background: rgba(239, 191, 40, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid var(--secondary);
    border-radius: 20px;
    padding: 30px 40px;
    margin: 0 20px;
    min-width: 220px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(92, 225, 230, 0.3),
            transparent);
    transition: left 0.5s;
}

.partner-logo:hover::before {
    left: 100%;
}

.partner-logo:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(239, 191, 40, 0.25);
    box-shadow: 0 25px 50px rgba(22, 7, 83, 0.4);
    border-color: var(--accent);
}

.partner-logo img {
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
    transition: all 0.4s ease;
}

.partner-logo:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 15px var(--accent));
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-220px * 6 - 240px));
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Duplicate logos for seamless loop */
.carousel-track::after {
    content: '';
    display: block;
    width: 40px;
}

/* Gradient fade edges */
.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--primary), transparent);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--dark), transparent);
}

.carousel-info {
    text-align: center;
    margin-top: 30px;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .partner-logo {
        min-width: 180px;
        height: 100px;
        padding: 20px 30px;
        margin: 0 15px;
    }

    .partner-logo img {
        max-width: 120px;
        max-height: 60px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-180px * 6 - 180px));
        }
    }
}