/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Domine:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #db5300;
    --secondary-color: #113573;
    --accent-color: #ff6b1a;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    padding-top: 76px;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Domine', serif;
}

/* Header Styles */
.header {
    background: var(--white);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 0;
}

.navbar-brand {
    font-family: 'Domine', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--primary-color);
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color) !important;
    padding: 0.5rem 1.25rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Header Apply Button */
.btn-apply {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-apply:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 53, 115, 0.2);
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    color: var(--white);
    font-weight: 500;
    padding: 0.75rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 53, 115, 0.2);
}

.nav-link.btn-primary,
.nav-link.btn-primary:hover {
    color: var(--white) !important;
}


.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 53, 115, 0.2);
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(219, 83, 0, 0.25);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        margin-top: 0.5rem;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
    }

    .nav-link::after {
        left: 1rem;
        right: 1rem;
    }

    .btn-apply {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
}

/* Hero Section */
.hero-section {
    background-color: var(--white);
    padding: 5rem 0;
    position: relative;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-title span {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Hero Section Buttons */
.hero-buttons .btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    min-width: 240px;
    text-align: left;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: var(--primary-color);
    border: none;
    color: var(--white);
}

.hero-buttons .btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 53, 115, 0.2);
}

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

.hero-buttons .btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 53, 115, 0.2);
}

.btn-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-family: 'Inter', sans-serif;
}

.btn-subtitle {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: normal;
}

.hero-stats {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Partner Universities */
.partner-universities {
    padding: 4rem 0;
    background-color: var(--gray-100);
}

.about-section-title, .section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 3rem;
}

.university-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.university-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.university-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.university-logo-wrapper {
    padding: 2rem;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
}

.university-logo {
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.university-card:hover .university-logo {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.university-info {
    padding: 1.5rem;
    text-align: center;
}

.university-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.university-location,
.program-count {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.university-location i,
.program-count i {
    color: var(--primary-color);
    /* width: 20px; */
    margin-right: 5px;
}

.university-card .btn-outline {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    min-width: auto;
}

#loadMoreUniversities {
    margin-top: 2rem;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

#loadMoreUniversities:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Animation for university cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.university-card {
    animation: fadeInUp 0.6s ease backwards;
}

.university-card:nth-child(2) {
    animation-delay: 0.1s;
}

.university-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    color: var(--white);
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-200);
    opacity: 0.5;
    font-family: 'Domine', serif;
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    color: var(--primary-color);
    opacity: 0.1;
    transform: scale(1.2);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.step-card:hover .step-title {
    color: var(--primary-color);
}

.step-description {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Destinations */
.destinations {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.destination-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.destination-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.destination-content {
    padding: 1.5rem;
}

.destination-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.destination-stats {
    display: flex;
    justify-content: space-between;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Features */
.features {
    padding: 5rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    color: var(--white);
}

.feature-icon i {
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
    color: var(--primary-color);
}

.feature-description {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    max-width: 300px;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    /* background-color: var(--gray-100); */
}

.accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: 8px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    padding: 1.25rem;
    background-color: var(--white);
    color: var(--text-color);
}

.accordion-button:not(.collapsed) {
    background-color: var(--white);
    color: var(--primary-color);
}

.accordion-body {
    padding: 1.25rem;
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* Quick Apply Form */
.quick-apply {
    padding: 5rem 0;
    background: var(--secondary-color);
    color: var(--white);
}

.quick-apply-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--gray-200);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(219, 83, 0, 0.1);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background-color: var(--white);
    border-top: 1px solid var(--gray-200);
}

.footer-logo {
    font-family: 'Domine', serif;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.footer-logo:hover {
    color: var(--primary-color);
}

.footer-description {
    color: var(--gray-500);
    margin-bottom: 2rem;
    max-width: 320px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-family: 'Domine', serif;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--gray-500);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links a i {
    margin-right: 8px;
    font-size: 0.85rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.footer .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.footer .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    text-decoration: none;
}

.footer .social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(219, 83, 0, 0.15);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-links {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-links {
        margin-top: 2rem;
    }

    .footer-links h4 {
        margin-top: 1.5rem;
    }

    .footer .social-links {
        justify-content: center;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
}

/* University Search Styles */
.partner-universities {
    padding: 4rem 0;
    background-color: var(--gray-100);
}

.search-container {
    border-radius: 10px;
    background-color: var(--white);
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.search-container .form-control {
    height: 54px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid var(--gray-200);
    padding-left: 1.25rem;
    font-size: 1rem;
}

.search-container .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.search-container .search-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
}

.search-container .search-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.search-container .form-select {
    height: 48px;
    border: 1px solid var(--gray-200);
    padding: 0.5rem 1rem;
    background-color: var(--white);
    background-position: right 1rem center;
}

.search-container .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

/* University Grid Styles */
#universityGrid {
    margin-top: 2rem;
}

.university-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.university-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.university-card-image {
    height: 160px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1rem;
    overflow: hidden;
}

.university-logo {
    max-width: 100%;
    max-height: 120px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.university-card:hover .university-logo {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.university-card-content {
    padding: 1.5rem;
}

.university-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.university-location {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-start;
}

.university-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--gray-700);
}

.university-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.university-stats i {
    color: var(--primary-color);
}

.loading-animation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#noResults {
    padding: 3rem 0;
}

#noResults i {
    color: var(--gray-400);
}

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

@media (max-width: 767px) {
    .search-container {
        padding: 1.5rem;
    }
    
    .search-container .form-control,
    .search-container .search-btn {
        height: 48px;
    }
    
    .search-container .form-select {
        height: 42px;
        margin-bottom: 0.75rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .about-section-title, .section-title {
        font-size: 1.75rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: flex-start;
        align-items: flex-start;
    }

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

    .steps-grid,
    .features-grid,
    .destination-grid {
        grid-template-columns: 1fr;
    }

    .quick-apply {
        padding: 3rem 0;
    }

    .search-container .form-select {
        width: 100%;
        margin-bottom: 1rem;
    }

    .search-container .d-flex {
        flex-direction: column;
    }

    .search-container .btn-primary {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .btn-primary,
    .btn-outline {
        width: 100%;
    }

    .search-container .row {
        gap: 0.5rem;
    }

    .search-container .col-md-4 {
        width: 100%;
    }

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

    .search-container .form-select {
        min-width: auto;
        margin-bottom: 10px;
    }

    .search-container .d-flex {
        flex-direction: column;
    }

    .university-card-image {
        height: 120px;
    }

    .university-logo {
        max-height: 80px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Search Input Group Styles */
.search-input-group {
    display: flex;
    position: relative;
    background: var(--white);
    border-radius: 8px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(219, 83, 0, 0.1);
}

.search-input-group .form-control {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    flex: 1;
    background: transparent;
}

.search-input-group .form-control:focus {
    box-shadow: none;
}

.search-btn {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0 6px 6px 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-btn:hover {
    background: var(--primary-color);
}

.search-btn i {
    font-size: 1rem;
}

@media (max-width: 1199.98px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .search-input-group {
        flex-direction: column;
        border: none;
        box-shadow: none;
    }

    .search-input-group .form-control {
        border: 2px solid var(--gray-200);
        border-radius: 6px;
        margin-bottom: 0.5rem;
    }

    .search-btn {
        width: 100%;
        border-radius: 6px;
        justify-content: center;
    }
}

/* Reset Button */
.btn-reset {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

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

@media (max-width: 767.98px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .search-btn {
        width: 100%;
        border-radius: 6px;
        justify-content: center;
    }
}

/* Success Metrics Section */
.success-metrics {
    padding: 4rem 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.metric-card {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: 12px;
}

.metric-card:hover::before {
    opacity: 0.05;
}

.metric-card:hover {
    transform: translateY(-5px);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Domine', serif;
    margin-bottom: 0.5rem;
    line-height: 1;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    z-index: 2;
    transition: transform 0.4s ease;
}

.metric-card:hover .metric-number {
    transform: scale(1.1);
}

.metric-label {
    font-size: 1rem;
    color: var(--gray-500);
    font-weight: 500;
    position: relative;
    z-index: 2;
}

@media (max-width: 767.98px) {
    .metric-card {
        margin-bottom: 1.5rem;
    }

    .metric-number {
        font-size: 2rem;
    }
}

/* Student Reviews Section */
.student-reviews {
    background-color: #f8f9fa;
}

.review-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.review-rating {
    font-size: 1.5rem;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 2rem;
    font-style: italic;
}

.review-author {
    text-align: center;
}

.author-info h4 {
    margin: 0;
    color: #2d3748;
    font-size: 1.2rem;
}

.author-info p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    height: 40px;
    width: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-indicators {
    bottom: -2rem;
}

.carousel-indicators button {
    background-color: #cbd5e0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
}

.carousel-indicators button.active {
    background-color: #4299e1;
}

/* About Page Styles */
.about-hero {
    padding: 100px 0;
    background: linear-gradient(to right, var(--white) 50%, var(--gray-100) 50%);
}

.about-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.about-subtitle {
    font-size: 1.2rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-hero-image {
    width: 100%;
    border-radius: 20px;
}

.our-story {
    padding: 100px 0;
    background: var(--white);
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1.5rem 0;
}

.section-divider.center {
    margin: 1.5rem auto;
}

.story-content p {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.stat-card {
    padding: 2rem;
    text-align: center;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Domine', serif;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-500);
}

.our-values {
    padding: 100px 0;
    background: var(--gray-100);
}

.value-card {
    padding: 2.5rem;
    text-align: center;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(360deg);
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--gray-500);
    line-height: 1.7;
}

.our-team {
    padding: 100px 0;
    background: var(--white);
}

.team-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.team-info p {
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.about-cta {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-content .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

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

/* Contact Page Styles */
.contact-hero {
    padding: 100px 0;
    background: linear-gradient(to right, var(--white) 50%, var(--gray-100) 50%);
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-info-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-info-card:hover .icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(360deg);
}

.contact-info-card h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.contact-form-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(219, 83, 0, 0.1);
}

.contact-info {
    background: var(--gray-100);
    padding: 3rem;
    border-radius: 12px;
    height: 100%;
}

.office-info h3,
.social-connect h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.office-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.office-card h4 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.office-card p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.office-card i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.office-hours h5 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.social-connect {
    margin-top: 3rem;
}

.social-connect .social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    color: var(--gray-500);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.social-link:hover {
    transform: translateY(-3px);
    color: var(--white);
}

.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.twitter:hover {
    background: #1da1f2;
}

.social-link.linkedin:hover {
    background: #0077b5;
}

.social-link.instagram:hover {
    background: #e4405f;
}

.map-section {
    height: 450px;
    position: relative;
}

.map-wrapper {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 991.98px) {

    .about-title,
    .contact-title {
        font-size: 2.75rem;
    }

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

    .contact-form-wrapper,
    .contact-info {
        padding: 2rem;
    }

    .social-connect .social-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {

    .about-title,
    .contact-title {
        font-size: 2.25rem;
    }

    .about-hero,
    .contact-hero {
        padding: 60px 0;
        background: var(--white);
    }

    .about-hero-image {
        margin-top: 2rem;
    }

    .stat-card {
        margin-bottom: 1rem;
    }

    .value-card {
        margin-bottom: 2rem;
    }

    .team-card {
        margin-bottom: 2rem;
    }

    .contact-form-section {
        padding: 60px 0;
    }

    .contact-info {
        margin-top: 2rem;
    }
}

/* Mission & Vision Section */
.mission-vision {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23db5300' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.about-section-title, .section-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.mission-card,
.vision-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(219, 83, 0, 0.1);
}

.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mission-card:hover::before,
.vision-card:hover::before {
    transform: scaleX(1);
}

.mission-icon,
.vision-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.4s ease;
}

.mission-icon::after,
.vision-icon::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px dashed var(--primary-color);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    opacity: 0.2;
}

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

    to {
        transform: rotate(360deg);
    }
}

.mission-icon i,
.vision-icon i {
    font-size: 40px;
    color: #fff;
    transition: all 0.4s ease;
}

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

.mission-content h2,
.vision-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
    position: relative;
    display: inline-block;
}

.mission-content h2::after,
.vision-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.4s ease;
}

.mission-card:hover .mission-content h2::after,
.vision-card:hover .vision-content h2::after {
    width: 60px;
}

.mission-content p,
.vision-content p {
    color: var(--gray-500);
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 1.1rem;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--gray-100);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--primary-color);
    transform: translateX(5px);
}

.feature-item:hover i {
    color: #fff;
}

.feature-item:hover span {
    color: #fff;
}

.feature-item i {
    font-size: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-item span {
    font-size: 1rem;
    color: var(--gray-500);
    transition: all 0.3s ease;
    font-weight: 500;
}

@media (max-width: 991px) {

    .mission-card,
    .vision-card {
        margin-bottom: 40px;
    }

    .mission-features,
    .vision-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .about-section-title,.section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .mission-icon,
    .vision-icon {
        width: 80px;
        height: 80px;
    }

    .mission-icon i,
    .vision-icon i {
        font-size: 32px;
    }

    .mission-content h2,
    .vision-content h2 {
        font-size: 24px;
    }
}

/* Multi-step Form Styles */
.multi-step-form {
    position: relative;
    overflow: hidden;
}

.form-progress {
    margin-bottom: 3rem;
}

.form-progress .progress {
    height: 4px;
    background-color: var(--gray-200);
    border-radius: 2px;
    margin-bottom: 1rem;
}

.form-progress .progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    /* height: 2px; */
    /* background: var(--gray-200); */
    z-index: 1;
}

.progress-steps .step {
    padding-bottom: 20px;
}

.progress-steps .step .step-number {
    margin-top: 10px;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    transition: all 0.3s ease;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--white);
    /* border: 2px solid var(--gray-300); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 600;
    color: var(--gray-500);
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 500;
}

.form-sections {
    position: relative;
    min-height: 400px;
}

.form-section {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.5s ease;
    padding: 1rem 0;
}

.form-section.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.about-section-title,
.section-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.about-section-title::after,
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-title::after {
    left: 47% !important;
}

.section-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.section-buttons .btn {
    min-width: 120px;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linecap='round' d='M6 3.75v2.5'/%3e%3ccircle cx='6' cy='8.25' r='.75'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.form-control.is-invalid~.invalid-feedback,
.form-select.is-invalid~.invalid-feedback {
    display: block;
}

@media (max-width: 767.98px) {
    .progress-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .progress-steps::before {
        display: none;
    }

    .step {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .step-number {
        margin: 0;
    }

    .section-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .section-buttons .btn {
        width: 100%;
    }
}
