body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #0f172a;
    color: white;
}
/* NAVBAR FIX */
/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 50px;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
}

/* LOGO CONTAINER 
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;  /* slightly more spacing
}
 */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* LOGO IMAGE */
.logo-img {
    width: 55px;   /* increase size */
    height: 55px;
    object-fit: contain;

    transition: transform 0.3s ease;
}
/* LOGO TEXT */
.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* HOVER EFFECT */
.logo-container:hover .logo-img {
    transform: rotate(10deg) scale(1.1);
}

.logo-container:hover .logo-text {
    color: #818cf8;
    transform: translateX(5px);
}

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

.nav-links a {
    text-decoration: none;
    color: #e2e8f0;
    position: relative;
    transition: 0.3s;
}

/* underline animation */
.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: #38bdf8;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #38bdf8;
}
/* HERO */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding-top: 100px;  /* increased for fixed navbar */
}

/* NEW (important for alignment) */
.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 50px;
    color: #38bdf8;
}

.hero h2 {
    margin-top: 10px;
    font-size: 28px;
}
/* typing animation */
.typing {
    font-size: 36px;              /* bigger & attractive */
    font-weight: 700;
    letter-spacing: 2px;

    display: inline-block;        /* IMPORTANT */
    overflow: hidden;
    white-space: nowrap;

    border-right: 3px solid #0b0908d1;

    /* gradient text */
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* animation */
    animation: typing 3s steps(25) forwards, blink 0.7s infinite;
}
@keyframes typing {
    from { width: 0 }
    to { width: 100%; }   /* ✅ FULL TEXT ALWAYS VISIBLE */
}
@keyframes blink {
    50% { border-color: transparent; }
}
.typing {
    opacity: 0;
    animation: typing 3s steps(25) forwards,
               blink 0.7s infinite,
               fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}
.typing {
    text-shadow: 0 0 15px rgba(56, 20, 198, 0.8);
}
/* BUTTONS */ 
/* BUTTON STYLING */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.primary {
    background: linear-gradient(45deg, #38bdf8, #6366f1);
    color: white;
}

.secondary {
    background: transparent;
    border: 2px solid #38bdf8;
    color: #38bdf8;
}

/* HOVER EFFECT */
.btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #38bdf8;
}

/* RIPPLE EFFECT */
.btn::after {
    content: "";
    position: absolute;
    width: 300%;
    height: 300%;
    background: rgba(255,255,255,0.2);
    top: 100%;
    left: -100%;
    transition: 0.5s;
    transform: rotate(45deg);
}

.btn:hover::after {
    top: -50%;
    left: -50%;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
}

/* MODAL CONTENT */
.modal-content {
    background: #0f172a;
    margin: 8% auto;
    padding: 30px;
    border-radius: 20px;
    width: 350px;
    text-align: center;
    animation: popUp 0.5s ease;
}

/* FORM */
.modal-content input,
.modal-content select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 10px;
    border: none;
}

/* CLOSE BUTTON */
.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

/* SUCCESS POPUP */
.success-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #22c55e, #4ade80);
    color: white;
    padding: 15px 25px;
    border-radius: 15px;
    display: none;
    animation: slideIn 0.5s ease;
}

/* ANIMATIONS */
@keyframes popUp {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/* CAPTION */
.caption {
    text-align: center;
    margin: 40px 0;
}

/* MENU */
.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 20px;
}

/* BOX */
.box {
    width: 230px;
    height: 220px;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    background: #1e293b;
    transition: 0.3s;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* hover animation */
.box:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
}

/* ICON */
.box i {
    font-size: 35px;
    margin-bottom: 10px;
    color: #38bdf8;
}

/* TEXT */
.box p {
    font-size: 13px;
    color: #94a3b8;
}
/* FOOTER BASE */
.footer {
    background: linear-gradient(135deg, #020617, #0f172a);
    padding: 50px 30px;
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

/* subtle glow background */
.footer::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(56, 189, 248, 0.15);
    filter: blur(120px);
    top: -50px;
    left: -50px;
}

/* TOP SECTION */
.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

/* LOGO SECTION */
.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 55px;
    transition: transform 0.4s ease;
}

.footer-left:hover .footer-logo {
    transform: rotate(10deg) scale(1.1);
}

.footer-left h3 {
    margin: 0;
    font-size: 20px;
    color: #38bdf8;
}

.footer-left p {
    font-size: 12px;
    opacity: 0.7;
}

/* SOCIAL ICONS */
.footer-social a {
    margin: 0 12px;
    font-size: 22px;
    color: #38bdf8;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-social a:hover {
    color: #818cf8;
    transform: translateY(-5px) scale(1.2);
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

/* INFO */
.footer-info p {
    margin: 4px 0;
    font-size: 14px;
    color: #94a3b8;
}

/* BUTTON */
.footer-btn {
    text-align: center;
    margin: 30px 0;
}

.footer-btn button {
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    color: #020617;

    transition: all 0.3s ease;
}

/* button hover glow */
.footer-btn button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

/* BOTTOM */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1e293b;
    padding-top: 15px;
    margin-top: 20px;
}

/* SCROLL TO TOP */
.scroll-top {
    cursor: pointer;
    color: #38bdf8;
    position: relative;
    transition: 0.3s;
}

/* underline animation */
.scroll-top::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -3px;
    background: #38bdf8;
    transition: 0.3s;
}

.scroll-top:hover::after {
    width: 100%;
}

.scroll-top:hover {
    color: #818cf8;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}
.footer {
    opacity: 0;
    transform: translateY(40px);
    animation: footerFade 1s ease forwards;
}

@keyframes footerFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.footer-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Button Style */
.mail-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #007BFF, #00C6FF);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Icon size */
.mail-btn i {
    font-size: 16px;
}

/* Hover */
.mail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 198, 255, 0.4);
}

/* Click */
.mail-btn:active {
    transform: scale(0.95);
}
