* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== BODY ===== */
body {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 90px;

    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;
}

/* ===== 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 {
    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%;
}

.top-actions{
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

/* Modern Back Button */
.back{
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;

    color: #fff;
    text-decoration: none;

    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    border-radius: 12px;

    box-shadow: 0 8px 20px rgba(56,189,248,0.3);

    transition: all 0.3s ease;
}

.back::before{
    content: "←";
    transition: transform 0.3s ease;
}

.back:hover{
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(56,189,248,0.4);
}

.back:hover::before{
    transform: translateX(-4px);
}
/* ===== GLOBAL SECTIONS ===== */
section {
    padding: 20px 0;
    text-align: center;
}

/* ===== HERO ===== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px 20px;
}

.hero h1 {
    max-width: 800px;
    margin:0 auto;
    margin-bottom:15px;
    line-height:1.2;
}

.hero p {
    max-width: 750px;
    color: #d1d5db;
}

/* ===== SERVICES GRID (IMPORTANT FIX) ===== */
.services-grid {
    max-width: 1000px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;

   
}

/* .service-box {
    display: flex;
    align-items: stretch;
    gap: 0;
    text-decoration: none;
    color: white;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: 0.3s ease;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
} */
.service-box {
    display: flex;
    align-items: stretch;
    gap: 20px;
    text-decoration: none;
    color: white;

    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: 0.3s ease;

    padding: 0; /* important fix */
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* .service-box img {
    width: 320px;
    height: 100%;
    object-fit: cover;
    display: block;
} */
.service-box img {
    width: 320px;
    height: auto;
    align-self: stretch;
    object-fit: cover;
    display: block;
}

/* .service-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
} */

.service-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.service-content h3 {
    margin-bottom: 10px;
    color: white
}

.service-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: white
}

.service-content li {
    color: white
}

.service-content ul {
    padding-left: 20px;
}

/* .service-box:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
    transition: 0.3s ease;
} */

.service-box:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .service-box {
        flex-direction: column;
    }

    .service-box img {
        width: 100%;
        height: 220px;
    }

    .service-content {
        width: 100%;
    }
}




/* ===== FOOTER ===== */
footer {
    background: linear-gradient(
        135deg,
        #0f172a,
        #1e293b
    );
    margin-top: 60px;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-content h3,
.footer-content h4 {
    margin-bottom: 15px;
}

.footer-content p,
.footer-content a {
    color: #cbd5e1;
}

.footer-content a {
    display: block;
    position: relative;
    text-decoration: none;
    margin-bottom: 8px;
    transition: 0.3s;
}

.footer-content a:hover {
    color: #00d4ff;
}

.footer-content a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #38bdf8;
    transition: width 0.3s ease;
}

.contact-con h4,
.contact-con p {
    text-align: left;
}

.phone {
    display: block;
    color: white;
}

.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) {
    .navbar {
        padding: 12px 20px;
    }

    .services-grid {
        padding: 30px 15px;
    }
}