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

/* ================= TOP SOCIAL BAR ================= */

.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);
    transition: 0.3s;
}

.social-links img:hover {
    transform: scale(1.2);
}

/* ================= 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 {
    display: flex;
    gap: 25px;
    align-items: center;
}

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

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

/* ================= PRODUCTS ALIGN FIX ================= */

.dropdown {
    position: relative;
    display: flex;
    align-items: center; /* FIX ALIGNMENT */
    padding-bottom: 10px;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    text-decoration: none;
}

/* ================= MEGA MENU ================= */

.mega-menu {
    position: absolute;
    top: 50px;
    left: 0;
    width: 600px;
    display: flex;
    justify-content: space-between;
    background: white;
    padding: 25px;
    border-radius: 10px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

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

.dropdown:hover .mega-menu,
.mega-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-column {
    display: flex;
    flex-direction: column;
}

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

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

.mega-column a:hover {
    color: #7c3aed;
    transform: translateX(5px);
}

/* ================= 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 {
    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;
}
.hero {
    background: url("hero7.jpg.jpg") center/cover no-repeat !important;
}
