/* --- Variables & Reset --- */
:root {
    --primary: #2563eb;       /* Professional Blue */
    --secondary: #1e40af;     /* Darker Blue */
    --accent: #06b6d4;        /* Teal */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --gradient-soft: linear-gradient(135deg, #e0e7ff 0%, #f3f4f6 100%);
    --dark: #1f2937;
    --light: #f3f4f6;
    --white: #ffffff;
    --text-gray: #4b5563;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Layout Utilities --- */
.container {
    /* max-width: 1100px; */
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding-top: 60px; padding-bottom: 80px; }
.bg-light { background-color: var(--light); }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 10px;
}

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

/* --- Navbar --- */
.navbar {
    background: transparent;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled, .navbar.navbar-white {
    background: var(--white);
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 22px;
    /* font-size: 1.5rem; */
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s ease;
}

.navbar.scrolled .logo, .navbar.navbar-white .logo {
    color: var(--dark);
}

.logo i {
    color: var(--accent);
    margin-right: 8px;
    transition: color 0.3s ease;
}

.navbar.scrolled .logo i, .navbar.navbar-white .logo i {
    color: var(--primary);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links a {
    font-weight: 400;
    color: var(--white);
    padding: 10px 10px;
    transition: var(--transition);
    font-size: 14px;
        text-align: center;
    align-items: center;
    display

: flex;
    align-content: center;
    justify-content: center;
}

.navbar.scrolled .nav-links a, .navbar.navbar-white .nav-links a {
    color: var(--dark);
}

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

.navbar.scrolled .nav-links a:hover, .navbar.navbar-white .nav-links a:hover {
    color: var(--primary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: #fff;
    min-width: 220px;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background: #f5f7ff;
    color: #4f46e5;
}

/* Show dropdown */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Active State (Parent Link) */
.dropdown:hover > a {
    color: var(--accent);
}

.navbar.scrolled .dropdown:hover > a, .navbar.navbar-white .dropdown:hover > a {
    color: var(--primary);
}

/* Arrow */
.arrow {
    font-size: 20px;
    margin-left: 4px;
}

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

.nav-links .btn-nav {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
}
.nav-links .btn-nav:hover { background-color: var(--secondary); color: var(--white) !important; transform: translateY(-2px); }

.navbar.scrolled .nav-links .btn-nav, .navbar.navbar-white .nav-links .btn-nav {
    color: var(--white);
}

/* Active Nav Link State */
.nav-links a.active:not(.btn-nav) {
    color: var(--accent);
    font-weight: 600;
}

.navbar.scrolled .nav-links a.active:not(.btn-nav), .navbar.navbar-white .nav-links a.active:not(.btn-nav) {
    color: var(--primary);
}

.hamburger { display: none; cursor: pointer; font-size: 1.5rem; color: var(--white); transition: color 0.3s ease; }

.navbar.scrolled .hamburger, .navbar.navbar-white .hamburger { color: var(--dark); }

/* --- Hero Section --- */
.hero {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 6s linear;
    z-index: 0;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8)); */
        background: linear-gradient(to bottom, rgb(127 124 124 / 40%), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 70px;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* --- Services --- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}
.section-header p { color: var(--text-gray); }

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

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid transparent;
}

.card:hover { 
    transform: translateY(-10px); 
    border-top: 4px solid var(--primary);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.card h3 { margin-bottom: 15px; font-size: 1.35rem; font-weight: 600; color: var(--dark); }
.card p { color: var(--text-gray); font-size: 0.95rem; }

/* --- About Section --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}
.about-text h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}
.about-text p { color: var(--text-gray); margin-bottom: 20px; }

.feature-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.feature-list i { color: var(--accent); font-size: 1.2rem; }

/* --- Contact Section --- */
.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.contact-info {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 { margin-bottom: 20px; font-size: 2.2rem; font-weight: 700; }
.contact-info p { margin-bottom: 30px; opacity: 0.9; }
.info-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.social-icons-contact a { color: var(--white); font-size: 1.5rem; margin-right: 15px; transition: var(--transition); }
.social-icons-contact a:hover { color: var(--accent); }

.contact-form { padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Form Validation Styles */
.error-msg {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.form-group.error input, .form-group.error textarea {
    border-color: #ef4444;
    animation: shake 0.4s ease-in-out;
}

.form-group.error .error-msg {
    display: block;
}

/* --- Footer --- */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

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

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item h3 { font-size: 3rem; margin-bottom: 5px; }
.stat-item p { font-size: 1.1rem; opacity: 0.9; }

/* --- Process Section --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.process-step {
    padding: 20px;
}

.step-number {
    background: var(--gradient-primary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 { margin-bottom: 15px; font-size: 1.3rem; font-weight: 600; color: var(--dark); }
.process-step p { color: var(--text-gray); font-size: 0.9rem; }

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

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--accent);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.client-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.client-info h4 { font-size: 1rem; margin-bottom: 2px; }
.client-info span { font-size: 0.85rem; color: var(--primary); font-weight: 500; }

/* --- Why Choose Us --- */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.feature-item i { color: var(--accent); font-size: 1.2rem; }

/* --- Career Options --- */
.career-options-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.career-tag {
    background: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    font-weight: 500;
    color: var(--primary);
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

.career-tag:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* --- FAQ Section --- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); margin-bottom: 15px; border-radius: 5px; box-shadow: var(--shadow); overflow: hidden; }
.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--light);
    color: var(--text-gray);
}
.faq-item.active .faq-answer { padding: 20px; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* --- Guidance Blocks --- */
.guidance-block {
    background: var(--white);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary);
    transition: var(--transition);
}

.guidance-block:hover { transform: translateX(5px); }
.guidance-block h3 { color: var(--dark); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 600; }
.guidance-block h3 i { color: var(--accent); }

/* --- CTA Section --- */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}
.cta-section h2 { margin-bottom: 15px; }
.cta-section p { margin-bottom: 30px; font-size: 1.1rem; opacity: 0.9; }

/* --- WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }

/* --- Success Popup --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.popup-content {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 400px;
    width: 90%;
}

.popup-overlay.show .popup-content { transform: scale(1); }
.popup-icon { width: 60px; height: 60px; background: #22c55e; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 20px; }
.popup-content h3 { margin-bottom: 10px; color: var(--dark); }
.popup-content p { color: var(--text-gray); }

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .hamburger { display: block; }

    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background: var(--white);
        height: calc(100vh - 70px);
        width: 50%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    }

    /* Class added by JS to show menu */
    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .hero h1 { font-size: 2.5rem; }
    .split-layout { grid-template-columns: 1fr; }
    .about-image { order: -1; } /* Image on top for mobile */
    
    .contact-box { grid-template-columns: 1fr; }
    .contact-info { padding: 30px; }
    .contact-form { padding: 30px; }
}

@media (max-width: 480px) {
    .nav-links { width: 100%; }
    .hero-btns { display: flex; flex-direction: column; gap: 15px; }
    .btn-secondary { margin-left: 0; }
}
