html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #ffffff;
    color: #0A1F44;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 8%;
    background: #0A1F44;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #1E90FF;
}

.login-btn {
    background: #1E90FF;
    padding: 8px 15px;
    border-radius: 20px;
}

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* Create sliding background using pseudo-element */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: slideBg 18s infinite;
    z-index: -2;
}

/* Dark overlay */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(1, 10, 89, 0.578);
    z-index: -1;
}

@keyframes slideBg {
    0% { background-image: url('../images/logo.jpg'); }
    33% { background-image: url('../images/1.png'); }
    66% { background-image: url('../images/3.png'); }
    100% { background-image: url('../images/2.png'); }
}

.btn {
    background: #1E90FF;
    padding: 12px 25px;
    color: white;
    border-radius: 30px;
    margin-top: 20px;
    text-decoration: none;
}

.packages-preview {
    padding: 80px 8%;
    text-align: center;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.card {
    background: #f4f7fc;
    padding: 30px;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.install {
    margin-top: 20px;
    font-weight: bold;
}

footer {
    background: #0A1F44;
    color: white;
    text-align: center;
    padding: 20px;
}

@media(max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
}

.logo img {
    height: 70px;      
    width: auto;       
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo img {
        height: 35px;
    }
}

.logo img {
    filter: brightness(1.1);
}

/* ================= NAVBAR ================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    backdrop-filter: blur(12px);
    background: rgba(10, 31, 68, 0.85);
}

/* Animated Glow Logo */
.logo img {
    height: 50px;
    width: auto;
    transition: 0.4s ease;
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 5px #1E90FF);
    }
    to {
        filter: drop-shadow(0 0 20px #1E90FF);
    }
}

/* Hover Animation */
.logo img:hover {
    transform: scale(1.1) rotate(2deg);
}

/* Nav Links */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #1E90FF;
}

/* Login Button */
.login-btn {
    background: #1E90FF;
    padding: 8px 15px;
    border-radius: 20px;
}

/* ================= HERO CAROUSEL ================= */

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    overflow: hidden;
    animation: slideBg 20s infinite;
    background-size: cover;
    background-position: center;
}

@keyframes slideBg {
    0% { background-image: url('../images/logo.jpg'); }
    33% { background-image: url('../images/1.png'); }
    66% { background-image: url('../images/3.png'); }
    100% { background-image: url('../images/2.png'); }
}

.hero-overlay {
    background: rgba(0,0,0,0.6);
    padding: 40px;
    border-radius: 10px;
}

.btn {
    background: #1E90FF;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    display: inline-block;
    margin-top: 20px;
    transition: 0.3s;
}

.btn:hover {
    background: white;
    color: #0A1F44;
}

/* ================= HAMBURGER ================= */

.hamburger {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* ================= MOBILE ================= */

@media(max-width: 768px) {

    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: #0A1F44;
        width: 220px;
        padding: 20px;
        transition: 0.4s;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }
}
footer {
    background: #0A1F44;
    color: white;
    text-align: center;
    padding: 30px;
}

.socials {
    margin-bottom: 15px;
}

.socials a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    transition: 0.3s;
}

.socials a:hover {
    color: #1E90FF;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    font-size: 28px;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.speed-check {
    padding: 80px 8%;
    text-align: center;
    background: #f4f7fc;
}

.speed-check h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

footer {
    background: #0A1F44;
    padding: 30px;
    text-align: center;
    color: white;
}

.social-icons {
    margin-bottom: 15px;
}

.social-icons a {
    color: white;
    font-size: 22px;
    margin: 0 12px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #1E90FF;
    transform: translateY(-5px);
}

/* SERVICES HERO */
.services-hero {
    padding: 100px 8%;
    text-align: center;
    background: linear-gradient(to right, #0A1F44, #1E90FF);
    color: white;
}

.services-hero h1 {
    font-size: 2.8rem;
}

/* SERVICES GRID */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 80px 8%;
    background: #f4f7fc;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.4s;
    cursor: pointer;
}

.service-card i {
    font-size: 40px;
    color: #1E90FF;
    margin-bottom: 20px;
}

.service-card:hover {
    transform: translateY(-12px);
    background: #0A1F44;
    color: white;
}

.service-card:hover i {
    color: white;
}

/* PACKAGES */
.packages-section {
    padding: 80px 8%;
    text-align: center;
}

.package-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.package-card {
    background: #f4f7fc;
    padding: 40px;
    width: 280px;
    border-radius: 15px;
    transition: 0.4s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.package-card:hover {
    transform: scale(1.05);
}

.package-card h3 {
    font-size: 1.5rem;
}

.package-card p {
    font-size: 1.3rem;
    margin: 15px 0;
}

.package-card span {
    display: block;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: gray;
}

.popular {
    background: #1E90FF;
    color: white;
}

.popular span {
    color: white;
}

.popular .btn {
    background: white;
    color: #0A1F44;
}

/* TEAM HERO */
.team-hero {
    padding: 100px 8%;
    text-align: center;
    background: linear-gradient(to right, #0A1F44, #1E90FF);
    color: white;
}

/* TEAM GRID */
.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 80px 8%;
    background: #f4f7fc;
}

.team-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: 0.4s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.team-img {
    overflow: hidden;
    border-radius: 15px;
}

.team-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.4s;
}

/* Hover effect */
.team-card:hover {
    transform: translateY(-12px);
}

.team-card:hover img {
    transform: scale(1.1);
}

.team-card h3 {
    margin-top: 15px;
}

.team-card span {
    color: #1E90FF;
    font-weight: 600;
}

.team-card p {
    margin-top: 10px;
    font-size: 0.9rem;
}

/* BIG BANNER */
.team-banner {
    height: 60vh;
    background: url('../images/team.jpg') center/cover no-repeat;
    position: relative;
    transition: 0.5s;
}

.team-banner:hover {
    transform: scale(1.03);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,31,68,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

#modeToggle {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.dark-mode {
    background: #121212;
    color: white;
}

.dark-mode .team-card {
    background: #1e1e1e;
}

.dark-mode .services-container,
.dark-mode .testimonials {
    background: #181818;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 60px 8%;
    background: #0A1F44;
    color: white;
    text-align: center;
    flex-wrap: wrap;
}

.stat h2 {
    font-size: 2.5rem;
    color: #1E90FF;
}

/* CONTACT HERO */
.contact-hero {
    padding: 100px 8%;
    text-align: center;
    background: linear-gradient(to right, #0A1F44, #1E90FF);
    color: white;
}

/* CONTACT INFO */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 8%;
    flex-wrap: wrap;
    background: #f4f7fc;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    width: 250px;
    transition: 0.4s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.info-card i {
    font-size: 35px;
    color: #1E90FF;
    margin-bottom: 15px;
}

.info-card:hover {
    transform: translateY(-10px);
}

/* FORMS */
.contact-form-section {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 80px 8%;
    flex-wrap: wrap;
}

.form-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    width: 400px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.form-container h2 {
    margin-bottom: 20px;
}

.form-container input,
.form-container select,
.form-container textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.form-container input:focus,
.form-container textarea:focus,
.form-container select:focus {
    border-color: #1E90FF;
    outline: none;
}

.form-container button {
    width: 100%;
    padding: 12px;
    background: #1E90FF;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.form-container button:hover {
    background: #0A1F44;
}

/* MAP */
.map-section {
    margin-top: 50px;
}

/* VIDEO TESTIMONIAL */

.video-testimonial{
max-width:700px;
margin:30px auto 40px auto;
}

.video-testimonial video{
width:100%;
border-radius:15px;
box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

.whatsapp-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #25D366;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}