/* =========================================
   API CMS - FULL STYLESHEET
   ========================================= */

:root {
    --primary-green: #1B4332; /* Forest Green */
    --maroon: #7B2D26;        /* Maroon */
    --accent-orange: #FF6B00; /* Bright Orange */
    --whatsapp: #25D366;
    --bg-white: #ffffff;
    --bg-light: #F8F9FA;
    --text-dark: #222222;
    --text-gray: #555555;
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.section-pad { padding: 70px 15px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--primary-green); }
h2 { font-size: 2rem; margin-bottom: 30px; }
h3 { font-size: 1.4rem; margin-bottom: 15px; }

/* =========================================
   BUTTONS
   ========================================= */
.btn { padding: 10px 22px; border-radius: 5px; text-decoration: none; font-weight: 700; font-size: 0.9rem; display: inline-block; transition: 0.3s; border: none; cursor: pointer; text-align: center; }
.btn-primary { background: var(--accent-orange); color: var(--bg-white); }
.btn-primary:hover { background: #e65c00; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3); }
.btn-outline { border: 2px solid var(--primary-green); color: var(--primary-green); background: transparent; }
.btn-outline:hover { background: var(--primary-green); color: var(--bg-white); }
.btn-green { background: var(--whatsapp); color: var(--bg-white); }
.btn-green:hover { background: #1eb958; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); }
.btn-sm { padding: 8px 15px; font-size: 0.8rem; }

/* =========================================
   TOP BAR & HEADER
   ========================================= */
.top-bar { background: var(--primary-green); color: var(--bg-white); font-size: 0.8rem; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--bg-white); text-decoration: none; margin-left: 15px; transition: color 0.3s; }
.top-bar a:hover { color: var(--accent-orange); }

.main-header { 
    background: var(--bg-white); 
    padding: 10px 0; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.08); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

/* Force header container to stay on one line */
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; /* Prevents the hamburger from dropping to a new line */
}

/* Logo Container */
.logo a { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    text-decoration: none; 
}

/* Fallback Icon */
.logo-icon { 
    background: var(--primary-green); 
    color: var(--bg-white); 
    font-weight: 800; 
    font-size: 1.5rem; 
    padding: 10px 15px; 
    border-radius: 50%; 
}

/* THE FIX FOR YOUR LOGO IMAGE */
.site-logo-img {
    height: 60px !important; /* Forces the image to be exactly 60px tall */
    width: auto !important;  /* Keeps the image from stretching */
    max-width: 150px;        /* Prevents it from being too wide */
    object-fit: contain;     /* Ensures the whole logo fits in the box */
    display: block;
}

/* Logo Text */
.logo-text h1 { font-size: 1.1rem; line-height: 1.2; color: var(--primary-green); margin: 0; }
.logo-text span { font-size: 0.7rem; color: var(--text-gray); }

/* Navigation Menu */
.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; list-style: none; gap: 25px; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 0.95rem; transition: color 0.3s; white-space: nowrap; padding: 5px 0; position: relative; }
.main-nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--accent-orange); transition: width 0.3s; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a:hover, .main-nav a.active { color: var(--accent-orange); }

/* Header Actions (Buttons) */
.header-actions { display: flex; align-items: center; gap: 10px; }

/* Hamburger Menu Icon (Hidden on Desktop) */
.hamburger { display: none; cursor: pointer; border: none; background: none; }
.hamburger span { display: block; width: 25px; height: 3px; background-color: var(--primary-green); margin: 5px 0; transition: all 0.3s ease; }

/* =========================================
   HERO SECTIONS
   ========================================= */
.hero { background: linear-gradient(rgba(27, 67, 50, 0.85), rgba(27, 67, 50, 0.85)), url('https://placehold.co/1920x700/1B4332/FFF?text=API+Students'); background-size: cover; background-position: center; color: var(--bg-white); padding: 120px 0; text-align: center; }
.hero h1 { color: var(--bg-white); font-size: 3rem; margin-bottom: 20px; line-height: 1.2; }
.hero .highlight { color: #F4C542; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.hero-small { margin-top: 20px; font-size: 0.9rem; opacity: 0.9; }

/* Hero Slider */
.hero-slider { position: relative; width: 100%; height: 700px; overflow: hidden; background: #000; }
.slides-container { width: 100%; height: 100%; position: relative; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease-in-out; display: flex; align-items: center; z-index: 1; }
.slide.active { opacity: 1; z-index: 2; }
.slide-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to right, rgba(10, 28, 62, 0.9), rgba(10, 28, 62, 0.4)); z-index: 1; }
.slide-content { position: relative; z-index: 2; color: white; max-width: 800px; text-align: left; }
.slide-content h1 { font-family: var(--font-head); font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; color: white; }
.slide-content p { font-size: 1.2rem; margin-bottom: 30px; color: #eee; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.2); color: white; border: none; padding: 15px 20px; cursor: pointer; font-size: 1.5rem; z-index: 10; transition: background 0.3s; border-radius: 4px; }
.slider-btn:hover { background: var(--accent-orange); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }
.slider-dots { position: absolute; bottom: 20px; width: 100%; text-align: center; z-index: 10; }
.dot { display: inline-block; width: 12px; height: 12px; margin: 0 5px; background: rgba(255, 255, 255, 0.5); border-radius: 50%; cursor: pointer; transition: background 0.3s; }
.dot.active, .dot:hover { background: var(--accent-orange); }

/* About Page Hero */
.about-hero { background: linear-gradient(rgba(27, 67, 50, 0.9), rgba(27, 67, 50, 0.9)), url('https://placehold.co/1920x400/1B4332/FFF?text=About+API'); background-size: cover; background-position: center; color: var(--bg-white); padding: 60px 0; text-align: center; }
.about-hero h1 { color: var(--bg-white); font-size: 2.5rem; margin-bottom: 10px; }
.about-hero p { font-size: 1.1rem; opacity: 0.9; }

/* =========================================
   SECTION SPECIFIC STYLES
   ========================================= */
/* Trust Bar */
.trust-bar { background: var(--bg-light); padding: 20px 0; border-bottom: 1px solid #eee; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 10px; }
.trust-item { font-weight: 700; color: var(--primary-green); font-size: 0.9rem; border-right: 1px solid #ccc; }
.trust-item:last-child { border-right: none; }

/* Dashboard Grid (4 Columns) */
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-card { background: var(--bg-white); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.06); transition: transform 0.3s; }
.grid-card:hover { transform: translateY(-5px); }
.card-header { padding: 15px; color: var(--bg-white); font-weight: 700; font-family: var(--font-head); font-size: 0.9rem; text-transform: uppercase; }
.card-list { list-style: none; padding: 10px; }
.card-list li { border-bottom: 1px solid #f0f0f0; }
.card-list li:last-child { border-bottom: none; }
.card-list a { display: block; padding: 10px 15px; color: var(--text-dark); text-decoration: none; font-size: 0.9rem; transition: 0.2s; }
.card-list a:hover { background: var(--bg-light); color: var(--accent-orange); padding-left: 20px; }
.bg-blue { background: #0A1C3E; } .border-blue { border-top: 4px solid #0A1C3E; }
.bg-green { background: var(--primary-green); } .border-green { border-top: 4px solid var(--primary-green); }
.bg-orange { background: var(--accent-orange); } .border-orange { border-top: 4px solid var(--accent-orange); }
.bg-purple { background: var(--maroon); } .border-purple { border-top: 4px solid var(--maroon); }

/* Courses Grid */
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.course-card { border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: 0.3s; background: var(--bg-white); display: flex; flex-direction: column; }
.course-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.course-img { height: 180px; background: #ddd url('https://placehold.co/400x160/1B4332/FFF?text=Course') center/cover; }
.course-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.badge { background: var(--bg-light); padding: 4px 10px; font-size: 0.7rem; border-radius: 4px; text-transform: uppercase; font-weight: 700; color: var(--maroon); align-self: flex-start; margin-bottom: 10px; }
.course-content h3 { font-size: 1.1rem; margin: 0 0 10px 0; color: var(--primary-green); }
.course-content p { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 15px; flex-grow: 1; }
.course-meta { display: flex; justify-content: space-between; border-top: 1px solid #eee; padding-top: 15px; font-size: 0.85rem; font-weight: 600; color: var(--maroon); margin-bottom: 15px; }
.course-desc { font-size: 0.85rem; color: var(--text-gray); margin-bottom: 15px; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }

/* Why Choose API */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.features-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; gap: 15px; align-items: flex-start; }
.feature-item i { color: var(--accent-orange); font-size: 1.5rem; margin-top: 5px; }
.feature-item h4 { margin-bottom: 5px; color: var(--primary-green); }
.feature-img { height: 350px; background: #ccc url('https://placehold.co/600x350/1B4332/FFF?text=Students+In+Class') center/cover; border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

/* API Family */
.family-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.family-box { background: var(--bg-light); padding: 25px; text-align: center; border-radius: 8px; font-weight: 700; color: var(--primary-green); border-bottom: 4px solid var(--maroon); transition: 0.3s; }
.family-box:hover { background: var(--primary-green); color: var(--bg-white); transform: translateY(-3px); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-card { background: var(--bg-white); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.gallery-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.gallery-img-wrapper { width: 100%; height: 220px; overflow: hidden; background: #eee; }
.gallery-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-card:hover .gallery-img-wrapper img { transform: scale(1.08); }
.gallery-info { padding: 20px; flex-grow: 1; border-top: 3px solid var(--accent-orange); }
.gallery-info h3 { font-size: 1.1rem; color: var(--primary-green); margin-bottom: 8px; font-family: var(--font-head); }
.gallery-info p { font-size: 0.85rem; color: var(--text-gray); line-height: 1.5; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.testimonial-card { background: var(--bg-white); padding: 30px; border-radius: 8px; position: relative; border: 1px solid #eee; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.testimonial-card::before { content: "\201C"; font-size: 4rem; color: var(--accent-orange); position: absolute; top: 10px; left: 15px; opacity: 0.2; font-family: serif; }
.testimonial-card p { font-style: italic; margin-bottom: 20px; position: relative; z-index: 1; font-size: 0.95rem; }
.student-info { display: flex; align-items: center; gap: 15px; }
.student-img { width: 50px; height: 50px; border-radius: 50%; background: #ddd url('https://placehold.co/100x100/ccc/999?text=User') center/cover; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.news-card { border: 1px solid #eee; border-radius: 8px; padding: 25px; background: var(--bg-white); transition: 0.3s; }
.news-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.08); transform: translateY(-3px); }
.news-date { color: var(--accent-orange); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; display: block; margin-bottom: 10px; }
.news-card h3 { font-size: 1.2rem; margin-bottom: 10px; }

/* Donate Section */
.donate-section { background: var(--maroon); color: var(--bg-white); text-align: center; padding: 70px 15px; }
.donate-section h2 { color: var(--bg-white); }
.donate-section p { margin-bottom: 25px; font-size: 1.1rem; }

/* Contact / Forms */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 5px; font-family: var(--font-body); transition: border-color 0.3s; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--primary-green); outline: none; }
.map-container iframe { width: 100%; height: 400px; border: none; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

/* About Page Specifics */
.about-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.about-sidebar { background: var(--bg-white); border: 1px solid #eee; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: sticky; top: 100px; }
.sidebar-header { background: var(--primary-green); color: var(--bg-white); padding: 15px 20px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-transform: uppercase; }
.sidebar-list { list-style: none; padding: 0; }
.sidebar-list li { border-bottom: 1px solid #f0f0f0; }
.sidebar-list a { display: block; padding: 12px 20px; color: var(--text-dark); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: all 0.2s; border-left: 4px solid transparent; }
.sidebar-list a:hover { background: var(--bg-light); color: var(--accent-orange); }
.sidebar-list a.active { background: var(--bg-light); color: var(--primary-green); border-left: 4px solid var(--accent-orange); }
.sidebar-cta { padding: 20px; background: var(--bg-light); text-align: center; border-top: 1px solid #eee; }
.sidebar-cta h4 { color: var(--maroon); margin-bottom: 5px; font-size: 1.1rem; }
.sidebar-cta p { font-size: 0.85rem; color: var(--text-gray); margin-bottom: 15px; }
.about-content { background: var(--bg-white); padding: 40px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--maroon); }
.about-content h2 { color: var(--primary-green); border-bottom: 2px solid var(--bg-light); padding-bottom: 15px; margin-bottom: 25px; }
.content-body { font-size: 1.05rem; line-height: 1.8; color: var(--text-dark); }
.content-body p { margin-bottom: 15px; }

/* =========================================
   PREMIUM FOOTER
   ========================================= */
.main-footer { background: #0A1C3E; color: #d1d5db; padding-top: 70px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-col h4 { color: var(--accent-orange); font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--accent-orange); }
.footer-logo { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo .logo-icon { display: inline-block; font-weight: 800; font-size: 1.2rem; padding: 8px 12px; border-radius: 50%; color: white; background: var(--accent-orange); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #d1d5db; text-decoration: none; transition: all 0.3s ease; display: inline-block; }
.footer-links a:hover { color: var(--accent-orange); transform: translateX(5px); }
.footer-contact p { margin-bottom: 10px; display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input { padding: 12px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); color: white; border-radius: 4px; outline: none; }
.newsletter-form input::placeholder { color: #9ca3af; }
.newsletter-form button { padding: 12px; border-radius: 4px; font-weight: 700; }
.footer-socials { display: flex; gap: 12px; margin-top: 10px; }
.footer-socials a { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; background: rgba(255,255,255,0.1); color: white; border-radius: 50%; text-decoration: none; transition: all 0.3s ease; }
.footer-socials a:hover { background: var(--accent-orange); transform: translateY(-3px); }
.footer-bottom { background: #07152e; padding: 20px 0; font-size: 0.85rem; color: #9ca3af; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom a { text-decoration: none; color: #F4C542; }

/* Floating WhatsApp */
.floating-wa { position: fixed; bottom: 20px; right: 20px; background: var(--whatsapp); color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 1000; transition: 0.3s; }
.floating-wa:hover { transform: scale(1.1); }

/* =========================================
   RESPONSIVE & HAMBURGER MENU
   ========================================= */

/* Tablets (992px and below) */
@media (max-width: 992px) {
    .dashboard-grid, .courses-grid, .testimonials-grid, .news-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-layout { grid-template-columns: 1fr; }
    .about-sidebar { position: static; margin-bottom: 30px; }
    
    /* Responsive Header */
    .main-header .container { flex-wrap: wrap; }
    .header-actions { display: none; } /* Hide top buttons on mobile */
    
    /* Hamburger Button */
    .hamburger { display: block; }
    
    /* Mobile Nav Menu */
    .main-nav {
        display: none; /* Hide by default */
        width: 100%;
        background: var(--bg-white);
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 20px 0;
        border-top: 1px solid #eee;
    }
    
    /* When menu is open */
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-nav a::after { display: none; } /* Remove hover line */
}

/* Small Phones (768px and below) */
@media (max-width: 768px) {
    .top-bar .container { flex-direction: column; text-align: center; gap: 5px; }
    .top-bar a { margin: 0 5px; }
    
    .dashboard-grid, .courses-grid, .testimonials-grid, .news-grid, .gallery-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-logo { align-items: center; }
    .footer-contact p { justify-content: center; }
    .footer-socials { justify-content: center; }
    .footer-bottom .container { flex-direction: column; gap: 10px; text-align: center; }
    
    .hero-slider { height: 500px; }
    .slide-content h1 { font-size: 2rem; }
    .slide-content p { font-size: 1rem; }
    .slider-btn { display: none; }
    
    .hero h1 { font-size: 2rem; }
    .section-pad { padding: 40px 15px; }
}

/* Header Actions (Buttons) */
.header-actions { 
    display: flex; 
    align-items: center;
    gap: 15px; /* Space between Apply and Donate */
    margin-left: 40px; /* PUSHES THE BUTTONS AWAY FROM THE NAVIGATION */
}

/* Force header buttons to stay on one line */
.header-actions .btn {
    white-space: nowrap; 
    padding: 10px 20px;  
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}
/* =========================================
   FORCE PREMIUM FORM STYLES (OVERRIDE)
   ========================================= */

.apply-form-container {
    background: #F8F9FA !important;
    padding: 40px !important;
    border-radius: 8px !important;
    border: 1px solid #e0e0e0 !important;
    margin-top: 20px !important;
}

/* Force the row to be a flex container that wraps on small screens */
.apply-form-container .form-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

/* Force the group to take up equal space */
.apply-form-container .form-group {
    flex: 1 1 45% !important; /* Grow, shrink, base width of 45% */
    min-width: 250px !important; /* Prevents it from getting too squished */
    display: flex !important;
    flex-direction: column !important;
}

/* Style all labels to sit ON TOP of inputs */
.apply-form-container label {
    font-weight: 600 !important;
    color: #1B4332 !important;
    margin-bottom: 8px !important;
    font-size: 0.95rem !important;
    display: block !important;
    text-align: left !important;
}

/* Style all inputs and selects to be full width and block level */
.apply-form-container input[type="text"],
.apply-form-container input[type="email"],
.apply-form-container input[type="tel"],
.apply-form-container input[type="date"],
.apply-form-container select,
.apply-form-container textarea {
    width: 100% !important;
    display: block !important;
    padding: 12px 15px !important;
    border: 1px solid #ccc !important;
    border-radius: 5px !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    box-sizing: border-box !important; /* Crucial for padding */
    background: #fff !important;
}

/* Focus effect */
.apply-form-container input:focus,
.apply-form-container select:focus,
.apply-form-container textarea:focus {
    border-color: #FF6B00 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1) !important;
}

/* Full width elements (like the Course dropdown and textarea) */
.apply-form-container .form-full {
    width: 100% !important;
    margin-bottom: 20px !important;
}

/* Submit Button */
.apply-form-container .btn-submit {
    background: #FF6B00 !important;
    color: #fff !important;
    padding: 15px 30px !important;
    border: none !important;
    border-radius: 5px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: 0.3s !important;
    margin-top: 10px !important;
}
.apply-form-container .btn-submit:hover {
    background: #e65c00 !important;
}
/* --- FIX FOR PASSWORD INPUT WIDTH --- */
.apply-form-container input[type="password"] {
    width: 100% !important;
    display: block !important;
    padding: 12px 15px !important;
    border: 1px solid #ccc !important;
    border-radius: 5px !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
    background: #fff !important;
}

.apply-form-container input[type="password"]:focus {
    border-color: #FF6B00 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1) !important;
}