:root {
    --brand-blue: #1a83c6;
    --brand-purple: #702d8e;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* --- Header --- */
.header {
    background-color: var(--white);
    height: 90px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    height: 75px;
    box-shadow: var(--shadow);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 94%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Logo & Tagline --- */
.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
}

.logo-text {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(to right, var(--brand-blue), var(--brand-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
    border-bottom: var(--brand-blue) 1px solid;
}

/* --- Navigation & Button --- */
.nav-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--brand-purple);
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 6px;
    transition: var(--transition);
    display: block;
}

.nav-link:hover, .nav-item:hover > .nav-link {
    background-color: var(--brand-blue);
    color: var(--white) !important;
}

/* --- Standard Dropdown (Resources & Company) --- */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background: var(--white);
    box-shadow: var(--shadow);
    list-style: none;
    padding: 10px 0;
    border-radius: 0 0 8px 8px;
    border-top: 5px solid var(--brand-blue);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--brand-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background-color: var(--brand-blue);
    color: var(--white) !important;
}

/* --- Mega Menu Centering Fix --- */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 900px;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-radius: 12px;
    border-top: 5px solid var(--brand-blue);
}



.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-col h4 {
    font-size: 0.9rem;
    color: var(--brand-blue);
    text-transform: uppercase;
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 5px;
    font-weight: 700;
    
}
.mega-col h4 a{
    text-decoration: none;
    color: var(--brand-blue);
}

.mega-col ul {
    list-style: none;
}

.mega-col ul li {
    margin-bottom: 8px;
}

.mega-col ul li a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
}

.mega-col ul li a:hover {
    color: var(--brand-purple);
    padding-left: 5px;
}

/* --- CTA Button --- */
.cta-btn {
    background-color: var(--brand-blue);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    white-space: nowrap;
}

.cta-btn:hover {
    background-color: var(--brand-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 131, 198, 0.2);
}

/* Hamburger */
.mobile-btn {
    display: none;
    cursor: pointer;
}

.mobile-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--brand-purple);
    margin: 6px 0;
    transition: 0.4s;
}

/* header styling ends */

/* footer sections styling starts here */
/* --- Footer Styling --- */
.footer {
   background: linear-gradient(135deg,#0f172a 40%, #702d8e 100%);
    /* Deep Dark Blue */
    color: var(--white);
    padding: 80px 0 20px;
    margin-top: 50px;
}


.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 94%;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    align-items: flex-start !important;
    text-align: left !important;
    margin-bottom: 20px;
}

.footer-col .tagline {
    margin-left: 15px;
}
.footer-desc {
    color: var(--white);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--brand-blue);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--brand-blue);
    padding-left: 5px;
}

.contact-info p{
    margin-top: 10px;

}
.footer-col p{
    text-align: justify;
}
/* Social Icons */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links 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);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--brand-blue);
    transform: translateY(-5px);
    border-color: var(--brand-blue);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 5px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-bottom strong {
    color: var(--brand-blue);
}
.footer-bottom p{
    color: var(--white);
}
/* Footer Link Fix */
.footer-bottom p a {
    color: var(--brand-blue);
    /* Aapka specific Blue #1a83c6 */
    text-decoration: none;
    /* Default underline hatane ke liye */
    font-weight: 700;
    /* Bold rakhne ke liye */
    transition: var(--transition);
    display: inline-block;
    /* Spacing control ke liye */
}

.footer-bottom p a:hover {
    color: var(--white);
    /* Hover par Purple #702d8e */
    text-decoration: underline;
    /* User ko pata chale ki link hai */
}

/* Footer section styling ends here */
/* WhatsApp Floating Button Styling */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999; /* Taaki ye sabse upar dikhe */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: #ffffff;
}

/* Tooltip (Jo hover karne par dikhega) */
.whatsapp-float .tooltip-text {
    visibility: hidden;
    width: 100px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    right: 75px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    font-family: 'Poppins', sans-serif;
}

.whatsapp-float:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Mobile Screens ke liye size thoda chota */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}