/* ===========================
   Global Styles
=========================== */
html {
    scroll-behavior: smooth;
}
body {
    background-color: #111111;
    color: white;
    font-family: "Inter", sans-serif;
    margin: 0;
}

.logo h1,
.hero h2,
.services h2,
.service-card h3 {
    font-family: "Orbitron", sans-serif;
}

/* ===========================
   Header
=========================== */

header {
    background: rgba(32,32,32,.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 20px 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    transition: color 0.3s;

    position: relative;
}

nav a:hover {
    color: #4DA3FF;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #4DA3FF;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* ===========================
   Hero Section
=========================== */

.hero {
    min-height: 65vh;

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

    text-align: center;
    padding: 0 20px;
    background:
    radial-gradient(circle at center, rgba(0,120,212,.12), transparent 55%);
}

.hero h2 {
    font-size: 3rem;
    margin: 10px 0;
}

.hero p {
    max-width: 700px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.hero button {
    background-color: #0078D4;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,120,212,.25);
}

.hero button:hover {
    background-color: #005fa3;
    transform: translateY(-3px) scale(1.03);
}

/* ===========================
   Services
=========================== */

.services {
    padding: 80px 50px;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background-color: #1e1e1e;
    border: 1px solid #2f2f2f;
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #4DA3FF;
    box-shadow: 0 15px 35px rgba(77, 163, 255, 0.25);
}

.service-card h3 {
    color: #4DA3FF;
    margin-bottom: 15px;
}

.service-card p {
    line-height: 1.6;
    color: #d0d0d0;
}

/* ===========================
   Footer
=========================== */

footer {
    padding: 40px;
    text-align: center;
    color: #888888;
}
.logo h1 {
    margin: 0;
    letter-spacing: 2px;
}
/* ===========================
   Portfolio
=========================== */

.portfolio {
    padding: 80px 50px;
    text-align: center;
}

.portfolio h2 {
    font-family: "Orbitron", sans-serif;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    background: #1e1e1e;
    border: 1px solid #2f2f2f;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #4DA3FF;
    box-shadow: 0 15px 35px rgba(77, 163, 255, 0.25);
}

.project-card h3 {
    font-family: "Orbitron", sans-serif;
    color: #4DA3FF;
}

.project-card p {
    color: #d0d0d0;
    line-height: 1.6;
}
/* ===========================
   About
=========================== */

.about {
    padding: 100px 50px;
    text-align: center;
}

.about h2 {
    font-family: "Orbitron", sans-serif;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #d0d0d0;
    margin-bottom: 25px;
}
/* ===========================
   Why Choose Us
=========================== */

.why-us {
    padding: 100px 50px;
    text-align: center;
}

.why-us h2 {
    font-family: "Orbitron", sans-serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.why-card {
    background: #1e1e1e;
    border: 1px solid #2f2f2f;
    border-radius: 12px;
    padding: 35px;
    transition: all .3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: #4DA3FF;
}

.why-card h3 {
    font-family: "Orbitron", sans-serif;
    color: #4DA3FF;
}

.why-card p {
    line-height: 1.7;
    color: #d0d0d0;
}
.contact {
  padding: 100px 50px;
  text-align: center;
}

.contact h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 25px;
}

.contact p {
  color: #d0d0d0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-info {
  margin: 30px 0;
}

.contact-button {
  display: inline-block;
  background-color: #0078d4;
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-button:hover {
  background-color: #005fa3;
  transform: translateY(-3px) scale(1.03);
}
/* ===========================
   Footer
=========================== */

footer {
    background-color: #1a1a1a;
    border-top: 1px solid #2f2f2f;
    padding: 35px 30px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h3 {
    font-family: "Orbitron", sans-serif;
    font-size: 2rem;
    margin-bottom: 12px;
}

.footer-content p {
    color: #bdbdbd;
    margin: 10px 0;
    line-height: 1.6;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: color .3s;
}

.footer-links a:hover {
    color: #4DA3FF;
}

.copyright {
    color: #777;
    font-size: 0.9rem;
    margin-top: 20px;
}
.contact-info p {
    font-size: 1.2rem;
    margin: 18px 0;
}

.divider {
    color: #4DA3FF;
    margin: 0 18px;
}
/* ===========================
   Mobile Responsive
=========================== */

@media (max-width: 900px) {

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav a {
        margin-left: 0;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .service-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {  
    header {
        flex-direction: column;
        gap: 20px;
    }
    .hero {
        min-height: 70vh;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p,
    .contact p {
        font-size: 1rem;
    }

    .service-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .services,
    .portfolio,
    .about,
    .why-us,
    .contact {
        padding: 70px 25px;
    }

    .logo h1 {
        font-size: 1.6rem;
        text-align: center;
    }

    .contact-info p {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .divider {
        display: none;
    }
}
.services,
.portfolio,
.about,
.why-us,
.contact,
.hero {
    max-width: 1400px;
    margin: auto;
}

/* ===========================
   Scroll Reveal + Active Nav
=========================== */

.js .reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

nav a.active {
    color: #4DA3FF;
}

nav a.active::after {
    width: 100%;
}
