/* ===== RESET ===== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ===== BODY ===== */
body{
    font-family:'Poppins',sans-serif;
    background:
        linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.7)),
        url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=80");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    color:#fff;
    line-height:1.6;
    overflow-x:hidden;
    padding-top:100px;
}

/* ===== HEADER ===== */
header{
    position:fixed;
    top:0;
    width:100%;
    z-index:1000;
    background:rgba(15,23,42,0.95);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(255,255,255,0.1);
}

/* ===== NAVBAR ===== */
.navbar {
    overflow: visible;
    display: flex;
    justify-content: space-between;
    align-items: center;

    /* Layout */
    padding: 16px 40px;
    border-radius: 14px;
    margin: 15px auto;

    /* Professional Gradient */
    background: linear-gradient(
        135deg,
        #0f172a,
        #1e293b
    );

    /* Glass Effect */
    backdrop-filter: blur(10px);

    /* Premium Shadow */
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.08);

    /* Typography */
    font-family: 'Poppins', sans-serif;

    /* Smooth Animation */
    transition: all 0.3s ease;
    width:95%;
    max-width:1280px;
    position: relative;
    
}

.logo h1 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    font-family:'Poppins', sans-serif;
    letter-spacing: 1px;
    margin-left: -30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;    
}

.nav-links li {
    position: relative;
  }

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

/* .nav-links a:hover {
    color: #000;
} */

/* Top menu items */
.nav-links > li > a {
    display: block;
    /* padding: 15px 20px; */
    color: white;
    text-decoration: none;
  }

  .dropdown {
    position: relative;
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    background: #1e293b;
    min-width: 200px;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    z-index: 10001;
}

.sub-dropdown {
    position: relative;
}
.sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #1e293b;
    min-width: 160px;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    z-index: 10001;
    right: auto;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    text-align: left;
  }
  
  .dropdown-menu li a:hover {
    background: rgba(15, 23, 42, 0.95);
  }
  
  .sub-menu.show {
    display: block;
  }

.show {
    display: block;
  }

.navbar ul li a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.navbar ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #38bdf8;
    transition: width 0.3s ease;
}

.navbar ul li a:hover {
    color: #38bdf8;
}

.navbar ul li a:hover::after {
    width: 100%;
}

/* ===== PAGE CONTENT ===== */
.page-content{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    padding:40px 20px;
}

/* ===== FORM CONTAINER ===== */
.right-form{
    width:100%;
    display:flex;
    justify-content:center;
}

/* ===== CONTACT FORM ===== */
#contactForm{
    width:100%;
    max-width:500px;

    padding:30px;

    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(12px);

    border-radius:16px;

    border:1px solid rgba(255,255,255,0.2);

    box-shadow:0 10px 35px rgba(0,0,0,0.25);
}

#contactForm h2{
    text-align:center;
    margin-bottom:25px;

    font-size:2rem;
    font-weight:700;

    background:linear-gradient(
        135deg,
        #00d4ff,
        #6a5cff
    );
    background-clip: text;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

#contactForm h2::after{
    content:"";
    display:block;

    width:70px;
    height:4px;

    margin:12px auto 0;

    border-radius:10px;

    background:linear-gradient(
        135deg,
        #00d4ff,
        #6a5cff
    );
}

/* ===== INPUTS ===== */
#contactForm input,
#contactForm textarea{
    width:100%;

    padding:12px 14px;
    margin-bottom:15px;

    border:none;
    outline:none;

    border-radius:10px;

    font-size:15px;
}

#contactForm textarea{
    resize:none;
}

/* ===== BUTTON ===== */
#contactForm button{
    width:100%;

    padding:12px;

    border:none;
    border-radius:10px;

    cursor:pointer;

    color:white;
    font-size:16px;
    font-weight:600;

    background:linear-gradient(
        135deg,
        #00d4ff,
        #6a5cff
    );

    transition:.3s;
}

#contactForm button:hover{
    transform:translateY(-2px);
    opacity:.9;
}

/* ===== FOOTER ===== */
footer{
    margin-top:60px;
    padding:50px 20px 20px;

    background:linear-gradient(
        135deg,
        #0f172a,
        #1e293b
    );
}

.footer-content{
    max-width:1200px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.footer-content h3,
.footer-content h4{
    margin-bottom:15px;
}

.footer-content p,
.footer-content a{
    color:#cbd5e1;
}

.footer-content a{
    text-decoration:none;
    display:block;
    margin-bottom:8px;
}

.footer-content a:hover{
    color:#00d4ff;
}

.contact-con h4,
.contact-con p{
    text-align:left;
}

.copyright{
    text-align:center;
    margin-top:30px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,0.1);
    color:#94a3b8;
}

/* ===== MOBILE ===== */
@media(max-width:768px){

    body{
        padding-top:160px;
    }

    .navbar{
        flex-direction:column;
        gap:15px;
        padding:20px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
        gap:12px;
    }

    .logo h1{
        text-align:center;
        font-size:1.3rem;
    }

    .footer-content{
        text-align:center;
    }

    .contact-con h4,
    .contact-con p{
        text-align:center;
    }
}