:root {
    --primary-red: #d32f2f;
    --primary-red-hover: #b71c1c;
    --secondary-gold: #ffc107;
    --secondary-gold-hover: #ffa000;
    --dark-text: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success: #2e7d32;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--light-gray);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--secondary-gold);
    color: var(--dark-text);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--secondary-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

/* Notification Bar */
.notification-bar {
    background-color: var(--dark-text);
    color: var(--white);
    font-size: 14px;
    padding: 8px 0;
    text-align: center;
    position: relative;
    z-index: 1000;
}

.notification-content i {
    color: var(--secondary-gold);
    margin-right: 8px;
}

/* Sticky Header */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo h2 {
    color: var(--primary-red);
    font-size: 19px;
    font-weight: 800;
    white-space: nowrap;
}

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

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.desktop-nav a {
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

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

.header-cta .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Hero Section */
.hero {
    position: relative;
    background: url('../images/hero_new.jpg') no-repeat center center/cover;
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(211, 47, 47, 0.9) 0%, rgba(211, 47, 47, 0.7) 50%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.hero-content {
    flex: 1;
    color: var(--white);
}

.badge {
    background-color: var(--secondary-gold);
    color: var(--dark-text);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--secondary-gold);
    font-size: 50px;
}

.hero-benefits {
    margin-bottom: 30px;
}

.hero-benefits li {
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.hero-benefits i {
    color: var(--secondary-gold);
    margin-top: 5px;
    margin-right: 10px;
}

/* Countdown */
.countdown-wrapper {
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}

.countdown-wrapper h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.countdown-wrapper .highlight {
    color: var(--secondary-gold);
}

.countdown {
    display: flex;
    gap: 15px;
}

.time-box {
    background: var(--white);
    color: var(--primary-red);
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    min-width: 70px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.time-box span {
    display: block;
    font-size: 24px;
}

.time-box small {
    font-size: 12px;
    color: var(--dark-text);
}

.btn-large {
    font-size: 18px;
    padding: 15px 30px;
}

.show-mobile {
    display: none;
}

/* Hero Form */
.hero-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
}

.form-header h3 {
    color: var(--primary-red);
    font-size: 22px;
}

.form-header p {
    color: var(--success);
    font-weight: 600;
    font-size: 14px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
    flex: 1;
    position: relative;
}

.floating-label input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    outline: none;
    transition: var(--transition);
    font-size: 14px;
    font-family: inherit;
}

.floating-label label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    transition: var(--transition);
    pointer-events: none;
    font-size: 14px;
    background: var(--white);
    padding: 0 4px;
}

.floating-label input:focus,
.floating-label input:not(:placeholder-shown) {
    border-color: var(--primary-red);
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 12px;
    color: var(--primary-red);
}

select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    color: var(--dark-text);
    background: var(--white);
    cursor: pointer;
}

select:focus {
    border-color: var(--primary-red);
}

.submit-btn {
    width: 100%;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--primary-red-hover);
}

.form-note {
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
    color: #666;
}

/* Partners */
.partners {
    background: var(--white);
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.partners p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.partner-logos i {
    font-size: 30px;
    color: #555;
}

.partner-logos img {
    height: 25px;
    opacity: 0.8;
}

/* Stats */
.stats {
    padding: 60px 0;
    background: var(--primary-red);
    color: var(--white);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h2 {
    font-size: 48px;
    display: inline-block;
    color: var(--secondary-gold);
}

.stat-item span {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary-gold);
}

.stat-item p {
    font-size: 16px;
    font-weight: 500;
}

/* Section Common */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--dark-text);
}

.section-title h2 span {
    color: var(--primary-red);
}

.section-title p {
    color: #666;
    margin-top: 10px;
}

/* Why Choose Us */
.why-choose {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    flex: 1 1 300px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.feature-content h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--primary-red);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.feature-list i {
    color: var(--success);
    margin-top: 4px;
    font-size: 12px;
}

/* Programs Grid */
.programs {
    padding: 80px 0;
    background: var(--light-gray);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.program-header {
    background: var(--primary-red);
    color: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.program-header i {
    font-size: 24px;
    color: var(--secondary-gold);
}

.program-header h3 {
    font-size: 18px;
    margin: 0;
}

.program-list {
    padding: 20px;
}

.program-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--dark-text);
}

.program-list li:last-child {
    margin-bottom: 0;
}

.program-list i {
    color: var(--success);
    margin-top: 4px;
    font-size: 12px;
}
/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testi-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.testi-avatar {
    width: 60px;
    height: 60px;
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
}

.testi-info h4 {
    margin: 0;
    font-size: 18px;
}

.testi-info span {
    font-size: 12px;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.stars {
    color: var(--secondary-gold);
    font-size: 12px;
}

.testi-text {
    font-style: italic;
    color: #555;
    line-height: 1.8;
}

/* Admission Info */
.admission-info {
    padding: 80px 0;
    background: url('../images/campus.png') no-repeat center center/cover;
    position: relative;
}

.admission-info::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.9);
}

.info-box {
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.info-box h2 {
    text-align: center;
    color: var(--primary-red);
    margin-bottom: 30px;
    font-size: 28px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-grid h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
    border-bottom: 2px solid var(--primary-red);
    display: inline-block;
    padding-bottom: 5px;
}

.info-grid h3:first-child {
    margin-top: 0;
}

.info-grid ul {
    list-style-type: disc;
    padding-left: 20px;
}

.info-grid li {
    margin-bottom: 10px;
}

.checklist {
    list-style: none !important;
    padding-left: 0 !important;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checklist i {
    color: var(--success);
    margin-top: 5px;
}

/* Footer */
.footer {
    background: #222;
    color: #bbb;
    padding: 60px 0 25px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    background: #fff;
    border-radius: 5px;
    padding: 4px;
}

.footer-logo h3 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    font-size: 19px;
}

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

.footer p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.footer i {
    color: var(--secondary-gold);
    margin-top: 3px;
    font-size: 15px;
    width: 20px;
    text-align: center;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-content {
    display: flex;
    flex-direction: column;
}

.contact-content strong {
    color: var(--white);
    margin-bottom: 4px;
    font-size: 14px;
}

.hotline-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 15px;
}

.contact-content a {
    color: #bbb;
    transition: var(--transition);
    font-size: 14px;
}

.contact-content a:hover {
    color: var(--secondary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 13px;
    color: #777;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    display: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.mobile-sticky-cta a {
    flex: 1;
    text-align: center;
    padding: 15px;
    font-weight: 700;
    font-size: 16px;
}

.btn-call {
    background: var(--success);
    color: var(--white);
}

.btn-register {
    background: var(--primary-red);
    color: var(--white);
}

/* Exit Intent Popup */
.exit-popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.exit-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.exit-popup {
    background: var(--white);
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    padding: 40px 30px;
    position: relative;
    text-align: center;
    transform: translateY(-50px);
    transition: var(--transition);
}

.exit-popup-overlay.show .exit-popup {
    transform: translateY(0);
}

.close-popup {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.close-popup:hover {
    color: var(--primary-red);
}

.popup-content h2 {
    color: var(--primary-red);
    margin-bottom: 15px;
}

.popup-content p {
    margin-bottom: 25px;
}

#popupForm input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 16px;
    outline: none;
}

#popupForm input:focus {
    border-color: var(--primary-red);
}

#popupForm button {
    width: 100%;
    border: none;
    font-size: 16px;
}

/* Career Opportunities */
.career-ops {
    padding: 50px 0;
    background: #fdfdfd;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.career-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    min-height: 380px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    z-index: 1;
}

.career-card:hover .card-bg {
    transform: scale(1.08);
}

.career-content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.career-overlay {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 10px;
    width: 92%;
    border-left: 4px solid var(--primary-red);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.career-card:hover .career-overlay {
    transform: translateY(-3px);
    background: #fff;
}

.career-overlay h3 {
    color: var(--primary-red);
    font-size: 18px;
    margin-bottom: 10px;
}

.career-overlay ul {
    list-style: none;
    padding: 0;
}

.career-overlay li {
    margin-bottom: 6px;
    font-size: 14px;
    position: relative;
    padding-left: 15px;
    line-height: 1.4;
    color: #333;
}

.career-overlay li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.partners-logo {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    margin-top: 10px;
}

.partners-logo img {
    max-width: 100%;
    height: auto;
    max-height: 140px;
    filter: none;
    opacity: 1;
    transition: var(--transition);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(211, 47, 47, 0.9) 0%, rgba(211, 47, 47, 0.8) 100%);
    }

    .hero-form {
        width: 100%;
        margin-top: 30px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 10px 0;
    }

    .header-container {
        gap: 8px;
    }

    .logo {
        gap: 8px;
        min-width: 0;
        flex: 1;
    }

    .logo img {
        height: 38px;
        flex-shrink: 0;
    }

    .logo h2 {
        font-size: 15px;
        line-height: 1.25;
        white-space: normal;
    }

    .header-cta {
        flex-shrink: 0;
    }

    .header-cta .btn {
        padding: 8px 12px;
        font-size: 13px;
        line-height: 1.2;
    }

    .desktop-nav {
        display: none;
    }

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

    .hero-title span {
        font-size: 36px;
    }

    .countdown {
        justify-content: space-between;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .mobile-sticky-cta {
        display: flex;
    }

    .career-grid {
        grid-template-columns: 1fr;
    }

    body {
        padding-bottom: 54px; /* Space for sticky CTA */
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 34px;
    }

    .logo h2 {
        font-size: 13px;
    }

    .header-cta .btn {
        padding: 8px 10px;
        font-size: 12px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .hotline-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}
