/* 
* Safiri by Citrus - Partnered Schools Page Styles
* A modern, clean stylesheet for the partnered schools page 
*/

/* ===== Base Styles ===== */
:root {
    /* Primary Brand Colors */
    --primary-color: #1A73E8;
    --secondary-color: #FFC107;
    --accent-color: #4CAF50;
    --neutral-color: #F5F5F5;
    
    /* Secondary Colors */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #FFFFFF;
    --border-color: #E0E0E0;
    --hover-color: #0D47A1;
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-accent: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: #FFFFFF;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-color);
}

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

/* ===== Button Styles ===== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    color: var(--text-light);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* ===== Header Section ===== */
.site-header {
    padding: 20px 0;
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-container {
    flex: 0 0 auto;
}

.logo {
    height: 50px;
    width: auto;
}

.main-nav {
    flex: 1 1 auto;
    text-align: right;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-primary);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 25px;
    background-color: var(--text-primary);
    margin: 3px 0;
    border-radius: 3px;
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(to bottom right, #f8f9fa, #e9ecef);
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.tagline {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

/* ===== Schools Navigation ===== */
.schools-navigation {
    background-color: #FFFFFF;
    padding: 20px 0;
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 90px;
    z-index: 900;
}

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

.nav-item {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.nav-item:hover, .nav-item.active {
    border-bottom: 3px solid var(--primary-color);
    color: var(--primary-color);
}

.nav-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.nav-title {
    font-size: 14px;
    font-weight: 600;
}

/* ===== Main Content Section ===== */
.main-content {
    padding: 60px 0;
}

.content-section {
    margin-bottom: 80px;
    scroll-margin-top: 180px; /* For smooth scrolling with sticky header */
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-intro {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-secondary);
}

.section-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.feature-tagline {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 18px;
}

/* ===== School Directory ===== */
.directory-tools {
    margin-bottom: 40px;
}

.search-section {
    margin-bottom: 20px;
}

.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

#school-search {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 50px 0 0 50px;
    font-size: 16px;
    outline: none;
}

.search-btn {
    padding: 15px 25px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.filter-section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
}

.filter-group select {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    min-width: 200px;
}

.filter-reset-btn {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    align-self: flex-end;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-reset-btn:hover {
    background-color: var(--border-color);
}

.directory-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

.directory-action {
    text-align: center;
    margin-top: 20px;
}

.view-all-btn {
    font-size: 16px;
}

/* ===== School Profiles ===== */
.profile-showcase {
    margin-bottom: 40px;
}

.profile-demo {
    max-width: 900px;
    margin: 0 auto;
}

.profile-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px var(--shadow-color);
}

.profile-image {
    position: relative;
}

.profile-img {
    width: 100%;
    height: auto;
    display: block;
}

.profile-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-content {
    padding: 30px;
}

.profile-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.profile-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 14px;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-section p {
    color: var(--text-secondary);
    font-size: 14px;
}

.profile-actions {
    display: flex;
    gap: 15px;
}

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

/* ===== Transport Services ===== */
.services-container {
    margin-bottom: 40px;
}

.service-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.service-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    overflow: hidden;
    display: flex;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.service-icon {
    flex: 0 0 100px;
    background-color: var(--primary-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.service-content {
    flex: 1;
    padding: 20px;
}

.service-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-content p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
}

.service-features li i {
    color: var(--accent-color);
}

.services-illustration {
    text-align: center;
    margin-top: 40px;
}

.illustration-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px var(--shadow-color);
}

/* ===== Enrollment Process ===== */
.process-steps {
    max-width: 900px;
    margin: 0 auto 40px;
}

.process-step {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.process-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.step-number {
    flex: 0 0 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-right: 30px;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-content p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.step-details {
    margin-top: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.detail-item i {
    color: var(--accent-color);
}

.enrollment-cta {
    background-color: var(--neutral-color);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.cta-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 20px;
    color: var(--text-secondary);
}

/* ===== Featured Schools ===== */
.featured-schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.featured-school-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.school-image {
    position: relative;
}

.school-img {
    width: 100%;
    height: auto;
    display: block;
}

.school-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: var(--text-primary);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.school-content {
    padding: 20px;
}

.school-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.school-content p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    min-height: 80px;
}

.view-more-container {
    text-align: center;
    margin-top: 20px;
}

/* ===== Get Started CTA ===== */
.get-started {
    padding: 80px 0;
    background-color: var(--neutral-color);
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--text-secondary);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* ===== Footer ===== */
.site-footer {
    background-color: #333333;
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #CCCCCC;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--text-primary);
}

.website-link {
    margin-top: 20px;
}

.website-link a {
    color: var(--secondary-color);
    font-weight: 500;
}

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

.copyright {
    font-size: 14px;
    color: #999999;
}

/* ===== Responsive Styles ===== */
@media screen and (max-width: 1024px) {
    .service-group {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .tagline {
        font-size: 18px;
    }
    
    .nav-list {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container {
        justify-content: center;
    }
    
    .nav-item {
        flex: 0 0 calc(50% - 10px);
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .feature-card, .featured-school-card {
        min-width: 100%;
    }
    
    .profile-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .profile-details {
        grid-template-columns: 1fr;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .nav-item {
        flex: 0 0 100%;
    }
}

/* Animation effects */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}