/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Red Theme */
    --primary-red: #e74c3c;
    --primary-red-dark: #c0392b;
    --primary-red-light: #ff6b6b;
    
    /* Secondary Colors - White/Gray Theme */
    --pure-white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #ecf0f1;
    --medium-gray: #bdc3c7;
    --dark-gray: #2c3e50;
    
    /* Text Colors */
    --text-dark: #2c3e50;
    --text-medium: #34495e;
    --text-light: #7f8c8d;
    
    /* Accent Colors */
    --accent-blue: #3498db;
    --accent-blue-dark: #2980b9;
    --accent-green: #27ae60;
    --accent-yellow: #f1c40f;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(231, 76, 60, 0.1);
    --shadow-medium: 0 5px 15px rgba(231, 76, 60, 0.15);
    --shadow-dark: 0 10px 30px rgba(231, 76, 60, 0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Global Body Styling */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--pure-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

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

section {
    padding: 60px 0;
}

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

.highlight {
    color: var(--primary-red);
}

/* ==================== BUTTONS ==================== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
    text-align: center;
    min-width: 150px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--pure-white) !important;
    border: 2px solid var(--primary-red);
}

.btn-primary:hover {
    background-color: var(--primary-red-dark);
    border-color: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--primary-red);
    color: var(--pure-white) !important;
}







/* ==================== NAVIGATION ==================== */
.navbar {
    background-color: var(--pure-white);
    box-shadow: var(--shadow-light);
    border-bottom: 3px solid var(--primary-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    width: 100%;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 22px;
    color: var(--primary-red);
    font-weight: 700;
    gap: 10px;
}

.logo span {
    color: var(--dark-gray);
}

.logo-img {
    border-radius: 5px;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    font-size: 15px;
}

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

.nav-links a.active {
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
}

/* Login Button */
.nav-links a.login-btn {
    background-color: var(--primary-red);
    color: var(--pure-white) !important;
    padding: 8px 20px;
    border-radius: 4px;
    margin-left: 10px;
    white-space: nowrap;
    border: none;
}

.nav-links a.login-btn:hover {
    background-color: var(--primary-red-dark);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-gray);
    cursor: pointer;
    padding: 5px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
    padding: 60px 0;  /* Padding bhi thodi kam kar di */
    min-height: 60vh; 
    display: flex;
    align-items: center;
   /* height: 40vh;*/  /* 50vh se 40vh kar diya */
}

/* Video Container */
.header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.header-video video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Video poora cover karega */
}

/* Dark Overlay - Video ke upar */
.header-video .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   background: linear-gradient(135deg, rgba(255, 59, 59, 0.15) 0%, rgba(150, 0, 0, 0.15) 100%);
    /* Semi-transparent red overlay - video dikhega bhi aur text readable bhi */
    z-index: 1;
}

/* Pattern Overlay - Video ke upar, overlay ke upar? */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0,0 L100,0 L100,100 Z" fill="white" opacity="0.05"/></svg>');
    background-size: 200px;
    z-index: 2; /* Pattern overlay overlay ke upar */
    pointer-events: none; /* Buttons clickable rahenge */
}

.hero .container {
    position: relative;
    z-index: 3; /* Sabse upar text */
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.academy-name {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pal-text {
    font-size: 5rem;
    font-weight: 900;
    color: var(--pure-white);
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 4rem;
    color: var(--pure-white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.tagline {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background-color: var(--pure-white);
    color: var(--primary-red) !important;
    border: 2px solid var(--pure-white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.hero .btn-primary:hover {
    background-color: transparent;
    color: var(--pure-white) !important;
    border-color: var(--pure-white);
    transform: translateY(-2px);
}

.hero .btn-secondary {
    background-color: transparent;
    color: var(--primary-white) !important;
    border: 2px solid var(--pure-white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.hero .btn-secondary:hover {
    background-color: var(--pure-white);
    color: var(--primary-red) !important;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
        min-height: 70vh;
    }
    
    .pal-text {
        font-size: 3.5rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .tagline {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero .btn-primary,
    .hero .btn-secondary {
        width: 220px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .pal-text {
        font-size: 2.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
}
/*
.hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%),
    url('arslan.jpg');
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0,0 L100,0 L100,100 Z" fill="white" opacity="0.05"/></svg>');
    background-size: 200px;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.academy-name {
    margin-bottom: 2rem;
}

.pal-text {
    display: block;
    font-size: 5rem;
    font-weight: 900;
    color: var(--pure-white);
    line-height: 1;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: -0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 4rem;
    color: var(--pure-white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background-color: var(--pure-white);
    color: var(--primary-red) !important;
    border: 2px solid var(--pure-white);
}

.hero .btn-primary:hover {
    background-color: transparent;
    color: var(--pure-white) !important;
    border-color: var(--pure-white);
}

.hero .btn-secondary {
    background-color: transparent;
    color: var(--primary-white) !important;
    border: 2px solid var(--pure-white);
}

.hero .btn-secondary:hover {
    background-color: var(--pure-white);
    color: var(--primary-red) !important;
}
*/
/* ==================== WHY CHOOSE SECTION ==================== */
.why-choose {
    background-color: var(--off-white);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-red);
}

.section-title .highlight {
    color: var(--dark-gray);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 18px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--pure-white);
    padding: 30px 25px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-red);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-top-color: var(--primary-red-dark);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 36px;
    color: var(--primary-red);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== COURSES SECTION ==================== */
.courses {
    background-color: var(--pure-white);
}

.course-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.course-card {
    background: var(--pure-white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: var(--shadow-medium);
}

.course-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--pure-white);
    padding: 25px 20px;
    text-align: center;
}

.course-header h3 {
    font-size: 24px;
    margin: 0;
    color: var(--pure-white);
}

.course-body {
    background: var(--pure-white);
    padding: 30px 25px;
}

.course-body > p {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 18px;
}

.course-body ul {
    list-style-type: none;
}

.course-body li {
    padding: 10px 0;
    color: var(--text-medium);
    border-bottom: 1px solid var(--light-gray);
}

.course-body li:last-child {
    border-bottom: none;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--pure-white);
    position: relative;
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--pure-white);
}

.cta-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cta-section .btn-primary {
    background-color: var(--pure-white);
    color: var(--primary-red) !important;
}

.cta-section .btn-primary:hover {
    background-color: transparent;
    color: var(--pure-white) !important;
    border-color: var(--pure-white);
}

/* ==================== FOOTER ==================== */

/* ==================== FOOTER - 4 EQUAL COLUMNS ==================== */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, var(--dark-gray) 100%);
    color: var(--pure-white);
    padding: 70px 0 30px;
    border-top: 4px solid var(--primary-red);
}

/* 4 EQUAL COLUMNS GRID */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* यह 4 equal columns create कर रहा है */
    gap: 40px; /* Columns के बीच space */
    margin-bottom: 30px;
width: 100%;
    
}

/* Debug के लिए border add करें (temporary) */
.footer-col {
    /* Temporary: देखने के लिए border add करें */
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    /* padding: 15px; */
    box-sizing: border-box;
    
}

/* Ensure all content fits properly */
.footer-col h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: var(--pure-white);
    border-bottom: 0px solid var(--primary-red);
}

.footer-col p {
    margin: 15px 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--pure-white);
    padding-left: 8px;
}

footer .logo {
    color: var(--pure-white);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

footer .logo span {
    color: var(--pure-white);
    font-size: 22px;
    font-weight: 700;
}

/* Contact Info Styling */
.contact-info {
    padding: 0;
    margin: 0;
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-info i {
    margin-right: 10px;
    margin-top: 3px;
    color: var(--primary-red);
    min-width: 20px;
    flex-shrink: 0;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    word-break: break-word;
}

.contact-info a:hover {
    color: var(--primary-red-light);
    text-decoration: underline;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phone-numbers a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.phone-numbers a:hover {
    color: var(--primary-red-light);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--pure-white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
}

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

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    grid-column: 1 / -1; /* Full width across all columns */
}
.red-icon {
    color: var(--primary-red);
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablet: 2 columns */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile: 1 column */
@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .contact-info li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-info i {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .social-links {
        justify-content: center;
    }
}














/*
footer {
    background: linear-gradient(135deg, #2c3e50 0%, var(--dark-gray) 100%);
    color: var(--pure-white);
    padding: 70px 0 30px;
    border-top: 4px solid var(--primary-red);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

footer .logo {
    color: var(--pure-white);
}

footer .logo span {
    color: var(--pure-white);
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: var(--pure-white);
    border-bottom: 2px solid var(--primary-red);
}

.footer-col p {
    margin: 15px 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-col ul {
    list-style-type: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--pure-white);
    padding-left: 8px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    margin-top: 5px;
    color: var(--primary-red);
    min-width: 20px;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary-red-light);
    text-decoration: underline;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--pure-white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}
*/
/* ==================== RESPONSIVE DESIGN ==================== */

/* Large devices (desktops, 1200px and up) */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Medium devices (tablets, 992px and up) */
@media (max-width: 992px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }

    .features,
    .course-cards,
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .hero {
        padding: 70px 0;
        min-height: 75vh;
    }

    .pal-text {
        font-size: 4rem;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .tagline {
        font-size: 1.2rem;
        padding: 0 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-content h2 {
        font-size: 36px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 14px;
    }
}

/* Small devices (landscape phones, 768px and up) */
@media (max-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }

    /* Mobile Menu */
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--pure-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 30px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid var(--light-gray);
        font-size: 16px;
        color: var(--text-dark);
    }

    .nav-links a.active {
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a.login-btn {
        margin: 10px 0 0 0;
        width: 100%;
        text-align: center;
        background-color: var(--primary-red);
        color: var(--pure-white) !important;
        padding: 12px 20px;
        border-radius: 4px;
        order: 10;
    }

    .nav-links a.login-btn:hover {
        background-color: var(--primary-red-dark);
    }

    /* Hero Section */
    .hero {
        padding: 60px 0 40px;
        min-height: 65vh;
    }

    .pal-text {
        font-size: 3.2rem;
        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .tagline {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 100%;
        padding: 15px 20px;
    }

    /* Features and Courses */
    .features,
    .course-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
        padding: 0 15px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h3 {
        border-bottom: 2px solid var(--primary-red);
    }

    .footer-col h3::after {
        display: none;
    }

    .contact-info li {
        flex-direction: column;
        text-align: center;
    }

    .contact-info i {
        margin-right: 0;
        margin-bottom: 5px;
    }

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

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content p {
        padding: 0 15px;
    }
}

/* Extra small devices (phones, 576px and up) */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 50px 0;
    }

    .hero {
        padding: 50px 0 30px;
        min-height: 60vh;
    }

    .pal-text {
        font-size: 2.8rem;
        letter-spacing: 1px;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .tagline {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .hero-buttons {
        max-width: 280px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 20px;
        font-size: 15px;
    }

    .section-title {
        font-size: 26px;
        padding: 0 10px;
    }

    .section-subtitle {
        font-size: 15px;
        padding: 0 10px;
    }

    .feature-card,
    .course-card {
        padding: 25px 20px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .feature-icon i {
        font-size: 30px;
    }

    .feature-card h3 {
        font-size: 20px;
    }

    .course-header {
        padding: 20px 15px;
    }

    .course-header h3 {
        font-size: 22px;
    }

    .course-body {
        padding: 25px 20px;
    }

    .cta-section {
        padding: 70px 0;
    }

    .cta-content h2 {
        font-size: 28px;
        padding: 0 15px;
    }

    .cta-content p {
        font-size: 16px;
        padding: 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    footer {
        padding: 50px 0 25px;
    }

    .footer-bottom {
        padding-top: 20px;
    }
}

/* Small phones (375px and below) */
@media (max-width: 375px) {
    .hero {
        padding: 40px 0 25px;
        min-height: 55vh;
    }

    .pal-text {
        font-size: 2.4rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .feature-card,
    .course-card {
        padding: 20px 15px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 18px;
        font-size: 14px;
    }

    .logo {
        font-size: 20px;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }
}

/* Landscape mode on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 50px 0 30px;
    }

    .nav-links {
        max-height: 300px;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        flex: 1;
        min-width: 200px;
        margin: 5px;
    }
}

/* Very large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero {
        min-height: 90vh;
    }
}



  