/* RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  }

/* NAVBAR */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 8%;
background: #0f172a;
color: white;
position: sticky;
top: 0;
z-index: 1000;
}

.logo {
font-weight: bold;
font-size: 20px;
}

/* NAV LINKS */
.nav-links {
display: flex;
gap: 25px;
align-items: center;
}

.nav-links a {
color: white;
text-decoration: none;
transition: 0.3s;
}

.nav-links a:hover {
color: #7c3aed;
}

/* DROPDOWN */
.dropdown {
position: relative;
padding-bottom: 10px;
}

/* 🔥 FULL WIDTH MEGA MENU */
.mega-menu {
position: absolute;
top: 60px;

left: 50%;
transform: translateX(-50%) translateY(10px);

width: 80vw;
max-width: 900px;

display: flex;
justify-content: space-between;

background: white;
padding: 30px;
border-radius: 12px;

box-shadow: 0 20px 40px rgba(0,0,0,0.2);

opacity: 0;
visibility: hidden;

transition: all 0.3s ease;
z-index: 999;
}

/* SHOW DROPDOWN */
.dropdown:hover .mega-menu,
.mega-menu:hover {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
}

/* COLUMNS */
.mega-column {
display: flex;
flex-direction: column;
gap: 10px;
flex: 1;
}

/* HEADINGS */
.mega-column h4 {
margin-bottom: 10px;
color: #2563eb;
}

/* LINKS */
.mega-column a {
color: #0f172a;
text-decoration: none;
margin: 5px 0;
transition: 0.2s;
}

/* LINK HOVER */
.mega-column a:hover {
color: #7c3aed;
transform: translateX(6px);
}

/* HERO */
.hero {
height: 75vh;
background: linear-gradient(135deg, #2563eb, #7c3aed);
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: white;
position: relative;
overflow: hidden;
}

.hero-slide {
position: absolute;
opacity: 0;
transition: 0.8s;
width: 100%;
}

.hero-slide.active {
opacity: 1;
}

.hero h1 {
font-size: 38px;
margin-bottom: 15px;
}

.hero p {
margin-bottom: 20px;
opacity: 0.9;
}

/* BUTTON */
.btn {
display: inline-block;
padding: 12px 28px;
background: linear-gradient(135deg, #2563eb, #7c3aed);
color: white;
text-decoration: none;
border-radius: 8px;
font-weight: bold;
transition: 0.3s;
}

.btn:hover {
transform: scale(1.05);
box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* DOTS */
.dots {
position: absolute;
bottom: 20px;
}

.dots span {
display: inline-block;
width: 10px;
height: 10px;
background: white;
margin: 5px;
border-radius: 50%;
cursor: pointer;
opacity: 0.5;
}

.dots .active-dot {
opacity: 1;
}

/* SECTIONS */
.section {
padding: 60px 10%;
text-align: center;
}

.section h2 {
margin-bottom: 40px;
}

/* GRID */
.grid {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
}

/* CARDS */
.card {
background: #f1f5f9;
padding: 25px;
border-radius: 12px;
width: 280px;
transition: 0.3s;
}

.card h3 {
color: #0f172a;
margin-bottom: 10px;
}

.card p {
color: #475569;
}

/* CARD HOVER */
.card:hover {
background: linear-gradient(135deg, #2563eb, #7c3aed);
transform: translateY(-8px);
}

.card:hover h3,
.card:hover p {
color: white;
}

/* WHY SECTION */
.why {
background: linear-gradient(135deg, #0f172a, #1e3a8a);
color: white;
padding: 70px 10%;
text-align: center;
}

.why h2 {
margin-bottom: 40px;
}

.why .card {
background: rgba(255,255,255,0.1);
backdrop-filter: blur(10px);
}

.why .card h3,
.why .card p {
color: white;
}

/* CTA */
.cta {
padding: 60px 10%;
text-align: center;
}

.cta p {
margin-top: 10px;
}

/* FOOTER */
footer {
background: #0f172a;
color: white;
text-align: center;
padding: 15px;
}
/* TOP BAR CLEAN FIX */
.top-bar {
    background: #1e3a8a;
    height: 35px;
    display: flex;
    align-items: center;
}

.top-content {
    width: 100%;
    padding: 0 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* push icons right */
.spacer {
    flex: 1;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: 0.2s;
}

.social-links img:hover {
    opacity: 1;
    transform: scale(1.1);
}
.nav-links {
    display: flex;
    gap: 25px;
    align-items: center; /* THIS IS KEY */
}

.dropdown {
    position: relative;
    display: flex;
    align-items: center; /* THIS FIXES PRODUCTS */
    height: 100%;
}
.nav-links a {
    display: flex;
    align-items: center;
}
