/* ================= VARIABLES & RESET ================= */
:root {
    --primary: #0A2647;      /* Deep Navy */
    --secondary: #FF7B54;    /* Soft Coral */
    --accent: #144272;       /* Medium Blue */
    --light: #F4F7FA;        /* Light Grey-Blue */
    --white: #FFFFFF;
    --dark: #1F1F1F;
    --gray: #666666;
    --border: #E1E8EF;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    font-weight: 600;
}

a { text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= UTILITY CLASSES ================= */
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--light); }
.text-center { text-align: center; }
.required { color: var(--secondary); }

/* ================= BUTTONS ================= */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 123, 84, 0.3);
}
.btn-primary:hover { 
    background-color: #e0603a; 
    transform: translateY(-3px); 
    box-shadow: 0 6px 20px rgba(255, 123, 84, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* ================= HEADER ================= */
header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}
.logo-img {
    height: 76px;
    width: auto;
    display: block;
    object-fit: contain;
}
.hamburger {
    display: none;
    cursor: pointer;
}
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #333; /* Color of the bars */
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.nav-links a:hover { color: var(--secondary); }

.cta-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 8px;
}
.cta-nav:hover { background: var(--accent); }

/* ================= HERO SECTION ================= */
.hero {
    background: linear-gradient(rgba(10, 38, 71, 0.85), rgba(10, 38, 71, 0.7)), url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 60px 0 100px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}
.hero-content p {
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto 40px;
    opacity: 0.9;
}
.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}
.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 50px;
    font-size: 0.9rem;
}
.hero-badges span { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 50px; }
.hero-badges i { color: var(--secondary); }

/* ================= FEATURES STRIP ================= */
.features-strip {
    background: var(--white);
    padding: 40px 20px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature-item { text-align: center; padding: 20px; border-right: 1px solid var(--border); }
.feature-item:last-child { border: none; }
.feature-item i { font-size: 2.2rem; color: var(--secondary); margin-bottom: 15px; }
.feature-item h4 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-item p { font-size: 0.9rem; color: var(--gray); }

/* ================= SECTION HEADERS ================= */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-header p { color: var(--gray); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.header-line { width: 70px; height: 4px; background: var(--secondary); margin: 15px auto; border-radius: 2px; }

/* ================= ABOUT US ================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-img { position: relative; }
.about-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 2;
    position: relative;
}
.about-img::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--secondary);
    border-radius: var(--radius);
    z-index: 1;
}
.check-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.check-list i { color: var(--secondary); font-size: 1.2rem; }

/* ================= COURSE CARDS ================= */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.course-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.course-card:hover { transform: translateY(-10px); border-color: var(--secondary); }
.card-header {
    background: var(--primary);
    color: var(--white);
    padding: 30px 20px;
    text-align: center;
}
.card-header h3 { color: var(--white); margin-bottom: 5px; }
.card-header span { opacity: 0.8; font-size: 0.9rem; font-weight: 500; }
.card-body { padding: 35px; flex-grow: 1; display: flex; flex-direction: column; }
.card-body ul { margin-bottom: 30px; }
.card-body li {
    padding: 10px 0;
    border-bottom: 1px solid #f2f5f8;
    color: var(--gray);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.card-body li i { color: var(--secondary); }
.price-tag {
    text-align: center;
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 700;
    margin: auto 0 20px;
    padding-top: 10px;
}
/* ======================== Recognitions ============================= */

/* The Container for the logos */
.recog-wrapper {
    display: flex;
    justify-content: center; /* Centers logos horizontally */
    align-items: center;     /* Centers logos vertically */
    gap: 50px;              /* Space between logos */
    flex-wrap: wrap;        /* Allows wrapping on mobile */
    margin-top: 30px;
}

/* The individual logo box */
.recog-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #fff;       /* White background for cleanliness */
    border-radius: 10px;    /* Soft rounded corners */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Subtle shadow */
    transition: transform 0.3s ease;
    width: 220px;           /* Fixed width for uniformity */
    height: 120px;          /* Fixed height for uniformity */
}

/* The Image itself */
.recog-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;    /* Ensures logo fits without stretching */
    /* filter: grayscale(100%); Make logos black & white initially */
    transition: all 0.3s ease;
}

/* Hover Effects */
.recog-logo:hover {
    transform: translateY(-5px); /* Slight lift on hover */
}

/* .recog-logo:hover img {
    filter: grayscale(0%);    Bring back color on hover 
    opacity: 1;
}  */


/* ================= PARTNER SECTION ================= */
.partner-benefit { display: flex; gap: 20px; margin-bottom: 35px; align-items: flex-start; }
.partner-benefit i { 
    background: var(--light); 
    color: var(--secondary); 
    padding: 15px; 
    border-radius: 12px; 
    font-size: 1.5rem; 
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= FORM STYLING ================= */
.form-container {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.grid { display: grid; gap: 25px; margin-bottom: 25px; }
.grid-2 { grid-template-columns: 1fr 1fr; }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-weight: 600; font-size: 0.9rem; color: var(--primary); }

.form-input, .form-select, .form-textarea {
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: #fafbfc;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 123, 84, 0.1);
}
.form-textarea { height: 120px; resize: none; }

input[type="file"] {
    padding: 10px;
    font-size: 0.85rem;
    background: #f0f3f7;
}

/* ================= FOOTER ================= */
footer {
    background: #051628;
    color: #bdc3c7;
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-logo { color: var(--white); font-size: 1.6rem; font-weight: 700; margin-bottom: 25px; display: block; }
.footer h4 { color: var(--white); margin-bottom: 25px; font-size: 1.1rem; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #94a3b8; font-size: 0.95rem; }
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }

.contact-info li { display: flex; gap: 15px; margin-bottom: 20px; font-size: 0.95rem; }
.contact-info i { color: var(--secondary); font-size: 1.1rem; margin-top: 3px; }

.social-icons { display: flex; gap: 15px; margin-top: 25px; }
.social-icons a { 
    width: 40px; 
    height: 40px; 
    background: rgba(255,255,255,0.05); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    color: var(--white);
}
.social-icons a:hover { background: var(--secondary); transform: translateY(-3px); }

.copyright {
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    padding-top: 30px;
    font-size: 0.9rem;
    color: #64748b;
}

/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float {
    position: fixed;
    bottom: 20px;          /* Distance from bottom */
    right: 20px;           /* Distance from right */
    width: 60px;
    height: 60px;
    background-color: var(--primary); /* Official WhatsApp Green */
    color: #fff;
    border-radius: 50%;    /* Makes it circular */
    text-align: center;
    font-size: 30px;       /* Size of the icon */
    z-index: 1000;         /* Ensures it stays on top of everything */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); /* Drop shadow */
    
    /* Flexbox to center the icon perfectly */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Smooth hover transition */
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: var(--accent); /* Slightly darker green on hover */
    transform: scale(1.1);     /* Grow slightly on hover */
    color: #fff;
}

/* Optional: Pulse Animation to attract attention */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 var(--accent);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse-green 2s infinite;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-strip { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    nav {height: 72px !important;}
    .logo-img {
        height: 32px;
    }
    .hamburger {
        display: block; /* Show hamburger on mobile */
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0; /* Hide middle bar */
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg); /* Rotate top bar */
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg); /* Rotate bottom bar */
    }

    .nav-links {
        position: fixed;
        left: -100%; /* Hide off-screen to the left */
        top: 70px; /* Adjust based on header height */
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 10px 0;
    }

    .nav-links.active {
        left: 0; /* Slide in */
    }

    .nav-links li {
        margin: 15px 0;
    }
    .hero { padding-top: 100px; }
    .features-strip { grid-template-columns: 1fr; margin-top: 20px; }
    .grid-2 { grid-template-columns: 1fr; }
    .form-container { padding: 30px 20px; }
    .section-header h2 { font-size: 2rem; }
    .footer-grid {
        display: flex !important;
        flex-direction: column;
        gap: 40px;
        
     }
     .footer-grid > div {
        width: 100%;
     }
     .footer {
        padding: 40px 20px;
     }
    .recog-wrapper {
        gap: 20px;
        flex-direction: column; /* Stack them on mobile */
    }
    
    .recog-logo {
        width: 100%; /* Full width on mobile */
        max-width: 300px;
    }


}
/* Pop up box style */
/* Modal Background */
.custom-modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

/* Modal Content Box */
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease-out;
}

.modal-content i {
    font-size: 50px;
    color: #ef4444; /* Red color for alerts */
    margin-bottom: 15px;
}

.modal-content h3 { margin-bottom: 10px; color: #1e293b; }
.modal-content p { color: #64748b; margin-bottom: 20px; line-height: 1.5; }

.modal-btn {
    background: #2563eb;
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}