/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --forest-green: #1F4F2D;
    --earth-beige: #D7C7A3;
    --deep-gold: #C9A64C;
    --charcoal: #333333;
    --white: #FFFFFF;
    --light-beige: #EFE9DC;
    --dark-green: #15301E;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--earth-beige);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Logo Container */
.logo {
    display: flex;
    align-items: center;
}

/* Logo Image Styling */
.logo-image {
    height: 70px;
    /* Adjust based on your header height */
    width: auto;
    /* Maintains aspect ratio */
    max-width: 300px;
    /* Prevents logo from being too wide */

    /* Optional: Add hover effect */
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

/* For responsive design */
@media (max-width: 768px) {
    .logo-image {
        height: 50px;
        /* Smaller on mobile */
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 40px;
        /* Even smaller on very small screens */
        max-width: 150px;
    }
}
/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

header.scrolled {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-color: var(--forest-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest-green);
}

.logo-text span {
    color: var(--deep-gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--forest-green);
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--deep-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.cta-button {
    display: inline-block;
    background-color: var(--forest-green);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--forest-green);
    cursor: pointer;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--forest-green);
}

.cta-button.gold {
    background-color: var(--deep-gold);
    border-color: var(--deep-gold);
}

.cta-button.gold:hover {
    background-color: transparent;
    color: var(--deep-gold);
}

.cta-button.outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-button.outline:hover {
    background-color: var(--white);
    color: var(--forest-green);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--forest-green);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(135deg, rgba(31, 79, 45, 0.9) 0%, rgba(21, 48, 30, 0.95) 100%), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .tagline {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--deep-gold);
    font-weight: 500;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.bg-light {
    background-color: var(--light-beige);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--deep-gold);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}

/* Featured Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--forest-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
}

/* Program Preview */
.program-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.program-preview-image {
    height: 500px;
    background: linear-gradient(rgba(31, 79, 45, 0.8), rgba(31, 79, 45, 0.8)), url('https://images.unsplash.com/photo-1524178234883-043d5c3f3cf4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--deep-gold);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.program-preview-content {
    padding: 40px;
}

.program-preview-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.program-features {
    list-style: none;
    margin: 25px 0;
}

.program-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.program-features li:last-child {
    border-bottom: none;
}

.program-features li i {
    color: var(--deep-gold);
    margin-right: 10px;
}

.program-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, rgba(31, 79, 45, 0.05) 0%, rgba(201, 166, 76, 0.05) 100%);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-content:before {
    content: '"';
    font-size: 4rem;
    color: var(--deep-gold);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--forest-green);
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
}
.tab-content .cta-section {
    background: #1F4F2D !important;

}

.tab-content .cta-section h3 {
    color: white;
}
/* CTA Section */
.cta-section {
    background: var(--forest-green);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--forest-green);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Footer */
footer {
    background-color: var(--forest-green);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--deep-gold);
}

.footer-about p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--deep-gold);
}

.footer-contact p {
    margin-bottom: 15px;
    opacity: 0.8;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--deep-gold);
    margin-right: 10px;
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--deep-gold);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .program-preview {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero .tagline {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .program-actions {
        flex-direction: column;
    }
    
    .program-preview-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    section {
        padding: 70px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .tagline {
        font-size: 1.3rem;
    }
    
    .program-preview-content {
        padding: 25px;
    }
}

/* Animation Classes */
.animate-hero {
    opacity: 0;
    transform: translateY(30px);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
}

.fade-in {
    opacity: 0;
}

/* Page-specific Styles */
.page-header {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, rgba(31, 79, 45, 0.9) 0%, rgba(21, 48, 30, 0.95) 100%);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto 0;
    opacity: 0.9;
}

.page-content {
    padding: 80px 0;
}

/* About Page */
.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.vision-card, .mission-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Program Page */
.program-details {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.program-tabs {
    display: flex;
    background: var(--light-beige);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tab-btn {
    padding: 20px 30px;
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--charcoal);
}

.tab-btn.active {
    background: var(--forest-green);
    color: var(--white);
    border-bottom: 3px solid var(--deep-gold);
}

.tab-content {
    padding: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.curriculum-list strong {
    list-style: none;
    padding-right: 25px;
    text-wrap: nowrap;
}

.curriculum-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.curriculum-list li i {
    color: var(--deep-gold);
    margin-right: 15px;
}

/* Faculty Page */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.faculty-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faculty-img {
    height: 250px;
    background: var(--forest-green);
    background-size: cover;
    background-position: center;
}

.faculty-info {
    padding: 30px;
}

.faculty-title {
    color: var(--deep-gold);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.faculty-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.expertise-tag {
    background: rgba(201, 166, 76, 0.1);
    color: var(--deep-gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Admissions Page */
.admission-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.admission-step {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--forest-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.fee-table th {
    background: var(--forest-green);
    color: var(--white);
    padding: 20px;
    text-align: left;
}

.fee-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.fee-table tr:last-child td {
    border-bottom: none;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--deep-gold);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Login Page */
.login-container {
    max-width: 500px;
    margin: 100px auto;
}

.login-card {
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-card h2 {
    margin-bottom: 30px;
}

.login-options {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}
/*----------*/
/* ========== RESPONSIVE TABLES ========== */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.table-responsive-wrapper table {
    width: 100%;
    min-width: 600px;
    /* Forces horizontal scroll on small screens */
    border-collapse: collapse;
}

.table-responsive-wrapper th {
    white-space: nowrap;
}

/* For very small screens */
@media (max-width: 480px) {
    .table-responsive-wrapper {
        font-size: 14px;
        margin: 20px -15px;
        width: calc(100% + 30px);
    }
}

/* ========== RESPONSIVE FORMS ========== */
.form-responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .form-responsive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Fix form inputs on mobile */
    input,
    select,
    textarea {
        font-size: 16px !important;
        /* Prevents iOS zoom */
    }

    /* Better button spacing on mobile */
    .cta-buttons,
    .hero-btns,
    .program-actions {
        flex-direction: column;
        gap: 15px !important;
    }

    .cta-buttons a,
    .hero-btns a,
    .program-actions a {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        text-align: center;
    }
}

/* ========== RESPONSIVE GRID IMPROVEMENTS ========== */
@media (max-width: 992px) {

    .vision-mission,
    .contact-grid,
    .location-container>div,
    .program-preview {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Fix program preview layout on tablet */
    .program-preview-image {
        height: 300px !important;
    }
}

@media (max-width: 768px) {

    /* Better spacing for all sections */
    section {
        padding: 60px 0 !important;
    }

    .page-header {
        padding: 120px 0 60px !important;
    }

    .page-content {
        padding: 40px 0 !important;
    }

    /* Adjust section headers */
    .section-header h2 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }

    /* Fix hero section */
    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .hero p {
        font-size: 1.1rem !important;
    }

    /* Fix mobile menu padding */
    .nav-links {
        padding: 20px !important;
    }

    /* Reduce card padding on mobile */
    .feature-card,
    .testimonial-card,
    .faculty-card,
    .program-card {
        padding: 25px !important;
    }
}

@media (max-width: 480px) {

    /* Even smaller screens */
    .container {
        padding: 0 15px !important;
    }

    .section-header h2 {
        font-size: 1.6rem !important;
    }

    .hero h1 {
        font-size: 1.8rem !important;
    }

    /* Stack all grid items */
    .features-grid,
    .faculty-grid,
    .values-grid,
    .admission-steps,
    .testimonial-slider {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Fix footer */
    .footer-content {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .footer-contact p,
    .footer-links ul {
        justify-content: center !important;
    }
}

/* ========== SPECIFIC PAGE FIXES ========== */

/* Admissions Page - Timeline fix */
@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column !important;
        margin-bottom: 30px !important;
    }

    .timeline-date {
        min-width: 100% !important;
        padding-right: 0 !important;
        text-align: left !important;
        margin-bottom: 10px !important;
    }

    .timeline-content {
        padding-left: 20px !important;
        border-left: 2px solid var(--deep-gold) !important;
    }

    .timeline-dot {
        left: -6px !important;
        width: 12px !important;
        height: 12px !important;
    }
}

/* Contact Page - FAQ fix */
@media (max-width: 768px) {
    .faq-item {
        margin-bottom: 10px !important;
    }

    .faq-question {
        padding: 15px !important;
        font-size: 1rem !important;
    }

    .faq-answer p {
        padding: 15px 0 !important;
    }
}

/* Program Page - Tabs fix */
@media (max-width: 768px) {
    .program-tabs {
        flex-direction: column !important;
        width: 100% !important;
    }

    .tab-btn {
        width: 100% !important;
        text-align: left !important;
        padding: 15px 20px !important;
    }

    /* Make comparison table more readable */
    .comparison-table table {
        font-size: 14px !important;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px !important;
    }
}

/* ========== IMPROVE READABILITY ========== */
@media (max-width: 768px) {

    /* Increase line height for better readability */
    body {
        line-height: 1.6;
    }

    p,
    li {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    /* Better heading hierarchy */
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    h4 {
        font-size: 1.25rem !important;
    }

    /* Reduce margins on mobile */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin-bottom: 0.75rem !important;
    }

    p {
        margin-bottom: 1rem !important;
    }
}

/* ========== TOUCH-FRIENDLY ELEMENTS ========== */
@media (max-width: 768px) {

    /* Larger tap targets */
    a,
    button,
    .cta-button,
    .tab-btn,
    .faq-question {
        min-height: 44px !important;
        padding: 12px 20px !important;
    }

    /* Better form inputs */
    input,
    select,
    textarea {
        padding: 15px !important;
        min-height: 50px !important;
    }

    /* Social links */
    .social-links a {
        width: 44px !important;
        height: 44px !important;
    }
}

/* ========== SPECIFIC COMPONENT FIXES ========== */

/* Fix admission form layout */
@media (max-width: 768px) {

    #application-form>div:first-of-type,
    #application-form>div:nth-of-type(2) {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Fix financial aid section */
@media (max-width: 768px) {
    .financial-aid>div {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
}

/* Fix campus info layout */
@media (max-width: 768px) {
    .location-container>div {
        grid-template-columns: 1fr !important;
    }

    .location-container>div>div:first-child {
        min-height: 250px !important;
    }
}
/*styles new section for why choose us*/
/* ========== WHY CHOOSE US - ANIMATED CARDS ========== */
.why-choose-us {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--deep-gold), transparent);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}

/* Animated Cards Grid */
.features-grid-animated {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card-animated {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(31, 79, 45, 0.1);
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.feature-card-animated:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(31, 79, 45, 0.15);
    border-color: var(--deep-gold);
}

.feature-card-animated:hover .card-glow {
    opacity: 1;
    transform: scale(1.2);
}

.feature-card-animated:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card-animated:hover .icon-ring {
    animation: rotateRing 2s linear infinite;
    color: var;
}

/* Card Icon */
.card-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    transition: transform 0.5s ease;
}

.icon-circle {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--forest-green), var(--dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.icon-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--deep-gold);
    border-radius: 50%;
    opacity: 0.5;
    transition: all 0.3s ease;
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Card Content */
.card-title {
    font-size: 1.5rem;
    color: var(--forest-green);
    margin-bottom: 15px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.card-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.card-hover-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--forest-green), var(--dark-green));
    color: white;
    padding: 30px;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card-animated:hover .card-hover-content {
    opacity: 1;
    transform: translateY(0);
}

.card-hover-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.card-hover-content ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.card-hover-content li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.card-hover-content li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--deep-gold);
    font-weight: bold;
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 166, 76, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

/* Stats Counter */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--forest-green);
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '+';
    color: var(--deep-gold);
    font-size: 2rem;
    position: relative;
    top: -10px;
}

.stat-number[data-count="95"]::after {
    content: '%';
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .features-grid-animated {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-choose-us {
        padding: 60px 0;
    }

    .features-grid-animated {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card-animated {
        padding: 30px 20px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
    }

    .icon-circle {
        font-size: 1.7rem;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding-top: 40px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .feature-card-animated {
        padding: 25px 15px;
    }

    .card-hover-content {
        padding: 20px;
    }

    .card-hover-content ul {
        font-size: 0.9rem;
    }
}

/* Tablet-specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .feature-card-animated:hover {
        transform: translateY(-10px) scale(1.01);
    }

    .card-hover-content {
        padding: 20px;
        font-size: 0.9rem;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .why-choose-us {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }

    .feature-card-animated {
        background: #2d2d2d;
        border-color: #444;
    }

    .card-title {
        color: #fff;
    }

    .card-description {
        color: #aaa;
    }

    .stat-label {
        color: #aaa;
    }
}