/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3e76af;
    --secondary-color: #3498DB;
    --accent-color: #FF6B6B;
    --light-color: #ECF0F1;
    --dark-color: #2C3E50;
    --text-color: #333;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= NAVBAR (AS-IS) ================= */
.navbar {
    background: #FFFFFF;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: #E5E7EB;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-logo img{
    height : 65px;
    width : 130px;
    display : block;
}

.nav-menu {
    display: flex;
    list-style : none;
    gap: 2rem;
}

.nav-link {
    color: #252525;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: #E43636;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    width: 32px;
    height: 3px;
    background: rgb(94, 65, 12);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    transition: background 0.1s 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgb(94, 65, 12);
    border-radius: 3px;
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.hamburger.active {
    background: transparent;
}

.hamburger.active::before {
    top: 0;
    transform: rotate(45deg);
}

.hamburger.active::after {
    top: 0;
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-container {
        position: relative;
    }

    .nav-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: -300px;
        flex-direction: column;
        background:#FFFFFF;
        width: calc(100% - 40px);
        margin: 0 20px;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        padding: 1rem 0;
        border-radius: 0 0 15px 15px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        z-index: 999;
    }

    .nav-menu.active {
        top: 70px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu a {
        margin: 0;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
    }

    .nav-menu a:last-child {
        border-bottom: none;
        border-radius: 0 0 15px 15px;
    }

     .nav_menu a:hover{
        background : rgba(255,255,255,0.1);
        transform : scale(1.05);
    }

      .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.1);
        z-index: -1;
        backdrop-filter: blur(2px);
        opacity: 1;
    }

    
    .nav-menu::before {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

      .nav-logo-img {
        height: 60px;   /* mobile par thoda chhota */
    }


}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ================= NEW HERO WITH BRAND LOGOS ================= */

.heroin {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4b65aa;
    color: white;
    padding: 120px 0 80px;
    /* top padding because of fixed navbar */
    text-align: center;
}

.heroin-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.heroin-title {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.heroin-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

/* Logos row */
.brand-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.logo-card {
    background: #ffffff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor : pointer;
}

.logo-card img {
    object-fit: contain;
}

.logo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.5);
}

/* NEW BUTTON STYLES */
.hero-btn-wrapper {
    margin-top: 50px; /* Space between logos and button */
    animation: fadeInUp 1.2s ease; /* Fade in animation matching content */
}

.cad-hero-btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    background: #ffd700;
    color: #041540;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}


.cad-hero-btn:hover {
    background: #ffed4e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

/* Hero responsive */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .heroin {
        padding: 100px 0 60px;
        min-height: 70vh;
    }

    .heroin-title {
        font-size: 2.1rem;
    }

    .heroin-subtitle {
        font-size: 1rem;
    }

    .logo-card {
        min-width: 160px;
        padding: 25px 30px;
    }

    .logo-card img {
        max-height: 95px;
    }

    
    .nav-logo-img {
        height: 80px;   /* mobile par thoda chhota */
    }
}

@media (max-width: 480px) {
    .heroin {
        padding: 170px 0 40px;
    }

    .heroin-title {
        font-size: 1.8rem;
    }

    .brand-logos {
        gap: 1.5rem;
    }

    .logo-card {
        width: 100%;
        max-width: 260px;
    }
    
    .cad-hero-btn {
        width: 100%; /* Full width button on mobile */
        max-width: 300px;
    }

     .nav-logo-img {
        height: 60px;
    }
}

/* ================= FOOTER (AS-IS) ================= */

.footer {
    background: #0F0E0E;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #DCDCDC;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FFB700;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

.dvp {
    color: yellow;
}

a {
    text-decoration: none;
}