@import url('https://fonts.googleapis.com/css2?family=Playfair:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&display=swap');
body {
    font-family: 'Playfair', sans-serif;
    scroll-behavior: smooth;
    text-align: justify;
    font-size: 20px;
}

/* ================= NAVBAR ================= */

.custom-navbar{
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(12px);
    padding: 15px 0;

    /* ✅ FIX: proper stacking */
    position: sticky;
    top: 0;
    z-index: 99999;

    transition: 0.4s ease;
}

/* ================= LOGO ================= */

.logo-img{
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    transition: 0.4s ease;
}

.logo-img:hover{
    transform: rotate(8deg) scale(1.08);
    border-color: #ffc107;
}

/* ================= BRAND ================= */

.brand-text{
    font-size: 25px;
    font-weight: 600;
    color: white;
    letter-spacing: 1px;
    font-family: 'Cinzel Decorative', serif;
}

/* ================= NAV LINKS ================= */

.navbar-nav .nav-link{
    color: white !important;
    font-size: 19px;
    font-weight: 600;
    padding: 10px 14px !important;
    position: relative;
    transition: 0.3s ease;
}

/* Hover */
.navbar-nav .nav-link:hover{
    color: #ffc107 !important;
}

/* ================= UNDERLINE ================= */

.navbar-nav .nav-link::before{
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #ffc107;
    transform: translateX(-50%);
    transition: 0.4s ease;

    /* ✅ IMPORTANT FIX */
    pointer-events: none;
    z-index: -1;
}

.navbar-nav .nav-link:hover::before{
    width: 80%;
}

/* Active page */
.navbar-nav .nav-link.active-page{
    color: #ffc107 !important;
}

.navbar-nav .nav-link.active-page::before{
    width: 80%;
}

/* ================= DROPDOWN ================= */

.navbar .dropdown-toggle::after{
    display: none !important;
}

.service-dropdown{
    min-width: 300px;
    border-radius: 18px;
    padding: 12px;
    background: white;

    /* ✅ FIX: dropdown always above everything */
    position: absolute;
    z-index: 999999;

    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade{
    from{
        opacity: 0;
        transform: translateY(12px);
    }
    to{
        opacity: 1;
        transform: translateY(0px);
    }
}

.dropdown-item{
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s ease;
}

.dropdown-item:hover{
    background: #ffc107;
    color: black;
    transform: translateX(6px);
}

/* ================= Z-INDEX FIX (MAIN FIX) ================= */

.navbar{
    position: relative;
    z-index: 99999;
}

.navbar-nav{
    position: relative;
    z-index: 10;
}

.dropdown-toggle{
    position: relative;
    z-index: 5;
}

/* ================= HERO FIX (IMPORTANT) ================= */

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;

    /* ✅ THIS FIXES YOUR HOMEPAGE ISSUE */
    position: relative;
    z-index: 1;
}

/* ================= MOBILE NAVBAR ================= */

@media(max-width:991px){

    .navbar-collapse{
        background: rgba(0,0,0,0.97);
        padding: 20px;
        border-radius: 18px;
        margin-top: 15px;
    }

    .navbar-nav .nav-link{
        padding: 14px 10px !important;
    }

    .service-dropdown{
        background: #111;
        border-radius: 14px;
        margin-top: 10px;
    }

    .dropdown-item{
        color: white;
    }

    .dropdown-item:hover{
        color: black;
    }
}

.card-title{
    font-size: 25px;
    font-weight: bold;
}
.team-section{
    background: #0f0f0f;
    color: #ffffff;
    font-family: 'Playfair', sans-serif;
    scroll-behavior: smooth;
    text-align: justify;
    font-size: 20px;
}

/* Small Heading */
.small-heading{
    color: #6e6d6a;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
}

/* Founder Card */
.founder-card{
    background: linear-gradient(145deg,#171717,#0c0c0c);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.08);

    /* EFFECTS */
    transition: 0.4s ease;
    overflow: hidden;
    position: relative;
}

.founder-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(255,193,7,0.15);
    border-color: rgba(255,193,7,0.2);
}

/* Founder Image */
.founder-img{
    border-radius: 25px;
    width: 100%;
    max-width: 400px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);

    /* EFFECT */
    transition: 0.5s ease;
}

.founder-img:hover{
       transform: scale(1.08);
      border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.1);
}

/* Founder Name */
.founder-name{
    font-size: 3rem;
    font-weight: 700;
    margin-top: 10px;
    color: #ffffff;
}

/* Founder Role */
.founder-role{
    color: #6e6d6a;
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Founder Text */
.founder-text{
    color: rgba(255,255,255,0.75);
    line-height: 34px;
    margin-bottom: 18px;
    font-size: 17px;
    text-align: justify;
}

/* Team Title */
.team-title{
    font-size: 2.8rem;
    font-weight: 700;
    margin-top: 10px;
    color: #000000;
}

/* Team Cards */
.team-card{
    background: linear-gradient(145deg,#171717,#101010);
    padding: 35px 25px;
    border-radius: 22px;
    transition: 0.4s ease;
    border: 1px solid rgba(255,255,255,0.08);
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* HOVER EFFECT */
.team-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(255,193,7,0.15);
    border-color: rgba(255,193,7,0.2);
}

/* Team Images */
.team-img{
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.1);

    /* EFFECT */
    transition: 0.5s ease;
}

/* Zoom Image on Hover */
.team-card:hover .team-img{
    transform: scale(1.08);
    border-color: #6e6d6a;
}

/* CEO Image Adjustment */
.team-card img[src="images/ceo.jpg"]{
    object-fit: cover;
    object-position: center top;
    transform: scale(1.05);
}

/* Team Name */
.team-name{
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

/* Team Role */
.team-role{
    color: rgba(255,255,255,0.65);
    margin-bottom: 0;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

/* Role Hover */
.team-card:hover .team-role{
    color: #6e6d6a;
}

/* Responsive */
@media(max-width:768px){

    .founder-card{
        padding: 30px;
        text-align: center;
    }

    .founder-name{
        font-size: 2.2rem;
    }

    .team-title{
        font-size: 2rem;
    }

    .founder-text{
        text-align: justify;
        line-height: 30px;
    }

}

/* ================= WHATSAPP ================= */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    z-index: 100;
    line-height: 60px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.whatsapp-float:hover {
    color: white;
    transform: scale(1.1);
}

/* ================= FOOTER ================= */

.custom-footer{
    background: linear-gradient(135deg, #111111, #1c1c1c);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-logo{
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Cinzel Decorative', serif;
}

.footer-text{
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: auto;
    line-height: 1.8;
    font-size: 22px;
    
    
}

.footer-contact p{
    margin-bottom: 10px;
    font-size: 20px;
    color: rgba(255,255,255,0.85);
}

.footer-contact i{
    margin-right: 10px;
    color: #ffffff;
}

.social-icons{
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 20px;
}

.social-icons a{
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    transition: 0.4s ease;
    background: rgba(255,255,255,0.05);
}

.social-icons a:hover{
    background: #ffffff;
    color: #111111;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.2);
}

.footer-bottom{
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}
footer {
    margin-top: 50px;
}