/* Global Styles */
:root {
    --primary-color: #013057;
    --secondary-color: #f8f9fa;
    --accent-color: #ffc107;
    --text-color: #333;
    --light-color: #fff;
    --dark-color: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
   /* padding-top: 56px;*/ /* For fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: #0056b3;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #012244;
    border-color: #012244;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

/* Features Section */
.features-section {
    background-color: var(--light-color);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Testimonials */
.testimonials-section .card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--light-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
}

.footer h5 {
    color: var(--light-color);
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
    color: var(--light-color);
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 8px;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

/* Practice Page Styles */
.practice-header {
    background-color: var(--primary-color);
    padding: 80px 0;
}

.practice-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.practice-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.speaking-card {
    border-top: 4px solid #28a745;
}

.writing-card {
    border-top: 4px solid #17a2b8;
}

.reading-card {
    border-top: 4px solid #ffc107;
}

.listening-card {
    border-top: 4px solid #dc3545;
}

.vocab-card {
    border-top: 4px solid #6f42c1;
}

.test-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

/* About Page Styles */
.about-header {
    background-color: var(--primary-color);
    padding: 80px 0;
}

.team-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.approach-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Contact Page Styles */
.contact-header {
    background-color: var(--primary-color);
    padding: 80px 0;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(1, 48, 87, 0.1);
    border-radius: 50%;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(1, 48, 87, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Form Styles */
.form-control, .form-select {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(1, 48, 87, 0.25);
}

/* Accordion Styles */
.accordion-button:not(.collapsed) {
    background-color: rgba(1, 48, 87, 0.05);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(1, 48, 87, 0.25);
}

/* Responsive Styles */
@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
        padding: 60px 0;
    }
    
    .hero-section img {
        margin-top: 30px;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
}

/* White Header Styles */
.white-header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navbar inside white header */
.white-header .navbar {
    background-color: var(--primary-color);
    border-radius: 5px;
    padding: 10px 15px;
}

/* Adjust body padding to account for new header */
