:root {
    --accent: #ff8c00;
    --white: #ffffff;
    --text-dark: #1d1d1f; 
    --glass: rgba(0, 0, 0, 0.03);
    --border: rgba(0, 0, 0, 0.1);
    /* CSS 2 Colors */
    --primary-gradient: linear-gradient(135deg, #1a1a1a, #434343);
    --accent-color-css2: #27ae60;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body {
    background: var(--white);
    color: var(--text-dark);
}

/* ================= HEADER & NAV (COURSE STYLE) ================= */

#main-header {
    background: linear-gradient(135deg, #1a1a1a, #434343);
    color: white;
    text-align: center;
    width: 100%;
}

#navbar ul li a:hover,
#navbar ul li a.active {
    background: var(--accent-color);
}

/* FIX 2: Navigation Right Side Positioning */
.nav-right {
    display: flex;
    justify-content: flex-end; /* Right side alignment */
    padding: 10px 5%; /* Desktop par right se thodi jagah */
    margin-top: 5px;
}

/* FIX 3: Neon Button Position Fix */
.neon-btn {
    position: relative; /* Fixed from absolute to prevent overflow */
    text-decoration: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: #000; 
    border-radius: 50px;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Luxury Animated Border Effect */
.neon-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        #4f46e5, 
        #06b6d4, 
        transparent 70%
    );
    animation: rotate-border 4s linear infinite;
    z-index: -2;
}

/* Background Inner Layer */
.neon-btn::after {
    content: '';
    position: absolute;
    inset: 2px; 
    background: #000;
    border-radius: 48px;
    z-index: -1;
    transition: background 0.3s;
}

@keyframes rotate-border {
    100% { transform: rotate(360deg); }
}

/* Hover Effects */
.neon-btn:hover {
    transform: translateY(-3px) scale(1.05);
    color: #fff;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.5);
}

.neon-btn:hover::after {
    background: linear-gradient(45deg, #1e1b4b, #000);
}

/* ================= CONTACT MAIN SECTION ================= */

.main-contact {
    padding: 80px 10%;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.content-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
    align-items: center;
}

.top-label {
    color: var(--accent);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.main-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 15px 0;
    color: var(--text-dark);
}

.text-gradient {
    background: linear-gradient(to right, var(--accent), #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-text {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* ================= INFO CARDS ================= */

.contact-grid-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.p-card {
    background: white;
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 16px;
    transition: 0.3s;
    box-shadow: var(--shadow);
}

.p-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.p-icon {
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 12px;
}

.p-info small {
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 10px;
}

.p-info p {
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 4px;
}

/* ================= FORM ================= */

.glass-container {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.glass-container h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.input-wrap {
    margin-bottom: 18px;
}

.input-wrap input,
.input-wrap textarea,
.input-wrap select {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    outline: none;
}

.input-wrap input:focus,
.input-wrap textarea:focus {
    border-color: var(--accent);
}

.main-submit {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}
.main-submit a
{
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.main-submit:hover {
    background: #3730a3;
}

/* ================= MAP ================= */

.map-premium {
    padding: 40px 10% 80px;
}

.map-frame {
    height: 400px;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ================= FOOTER ================= */

#footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 20px 0 10px;
    margin-top: 60px;
}

.social-links a {
    color: white;
    font-size: 2rem;
    margin: 0 15px;
    transition: 0.3s;
}
.social-links a:hover {
    color: #00a94c; /* CSS 2 Black Hover */
    transform: translateY(-5px); 
    transition: 0.7s;
}
/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
    .content-box { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
    #navbar ul {
        flex-direction: column;
        gap: 10px;
    }

    /* Mobile par button ko center karne ke liye */
    .nav-right {
        justify-content: center;
    }

    .main-title {
        font-size: 2.5rem;
    }
}
/* --- NAVBAR UPDATED --- */
.navbar {
    background: var(--primary-gradient);
    position: static;
    top: 0;
    z-index: 1100;
    width: 100%;
}

.nav-top {
    display: flex;
    justify-content: center; /* Desktop par logo center rahega */
    align-items: center;
    padding: 20px 5%;
    position: relative;
}

.logo {
    color: white;
    font-size: 2.2rem;
    letter-spacing: 1px;
    text-align: center;
}
/* --- Desktop Nav Links --- */

.nav-links {
    display: flex;
    list-style: none;
    background: rgba(0,0,0,0.1);
    width: 100%;
    justify-content: center;
    padding: 15px 0;
    margin: 10;
    transition: 0.4s ease;
}

.nav-links li { margin: 0 1px; }

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 8px 18px;
    margin: 0 10px;
    transition: 0.3s;
    display: block;
}

.nav-links a:hover, .nav-links a.active {
    background: var(--accent-color-css2);
    color: white !important;
    border-radius: 5px;
}

.sidebar-header { display:none; } /* Mobile Only */

/* --- Mobile Styling (Responsive) --- */
@media (max-width: 900px) {
.hamburger-menu {
    display: flex; /* Desktop par hide rahega */
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 22px;
    cursor: pointer;
    position: absolute;
    left: 25px; /* Logo ke left side mein position karne ke liye */
    z-index: 1300;
}
    .logo { font-size: 1.4rem; padding-left: 40px; } /* Adjust logo size */
    .bar {
    width: 100%;
    height: 3px;
    background-color: white; /* Line ka color */
    border-radius: 10px;
    transition: 0.3s;
}

    .nav-links {
        position: fixed;
        left: -100%; /* Hide Sidebar */
        top: 0;
        width: 200px;
        height: 100vh;
        background: #1a1a1a;
        flex-direction: column;
        justify-content: flex-start;
        padding: 90px 0;
        z-index: 1200;
        box-shadow: 10px 0 30px rgba(0,0,0,0);
    }

    .nav-links.active { left: 0; } /* Show Sidebar */

    .nav-links li { width: 100%; margin: 10px 0; }

    .sidebar-header {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    #closeMenu {
        color: white;
        font-size: 3rem;
        cursor: pointer;
        line-height: 1;
    }

    /* Background Overlay */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        z-index: 1150;
    }
    .menu-overlay.active { display: block; }
}