* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --primary-dark: #003d99;
    --secondary-color: #00a8ff;
    --accent-color: #00d4ff;
    --dark-bg: #0a1428;
    --darker-bg: #050a15;
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
    --border-color: rgba(0, 168, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 20, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.logo-img {
    width: 250px;
    height: 150px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

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

.nav-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.nav-phone {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}
.nav-phone:hover {
  text-decoration: underline;
}

.phone-icon {
    font-size: 1.1rem;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--secondary-color);
  background: rgba(0, 179, 179, 0.15); /* subtle teal tint */
  border: 1px solid rgba(0, 179, 179, 0.25);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.social-icon:hover {
  background: var(--secondary-color);
  color: #0a1428; /* matches your dark nav background tone */
  transform: translateY(-2px);
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 20, 40, 0.7) 0%, rgba(0, 102, 204, 0.3) 50%, rgba(0, 168, 255, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00a8ff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 168, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-primary {
    margin-top: 6px;
    border-radius: 10px;
    padding: 12px 16px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: rgba(0, 168, 255, 0.1);
    transform: translateY(-3px);
}

.btn-tertiary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-tertiary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
}

.btn-services {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    border: none;
    margin-top: 2rem;
}

.btn-services:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
}

/* About Section */
.about {
  padding: 90px 0;
  background: #ffffff;
}

.about-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-header h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #00b3b3;
  margin: 0 0 10px;
}

.about-header h2 span {
  color: #00a8ff; /* teal accent to match your logo */
}

.about-header p {
  color: #5c6b7a;
  font-size: 1.05rem;
  margin: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 55px;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  display: block;
}

.about-content h3 {
  font-size: 1.5rem;
  color: #00b3b3;
  margin: 0 0 10px;
}

.about-content p {
  color: #4f5f6f;
  line-height: 1.7;
  margin: 0 0 22px;
}

/* Values grid (2x2) */
.about-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin-top: 10px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #00a8ff;
}

.value-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 179, 179, 0.12);
  color: #00b3b3;
  flex: 0 0 auto;
}

/* Responsive */
@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, rgba(0, 102, 204, 0.05) 0%, var(--dark-bg) 100%);
    position: relative;
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(0, 168, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    background: rgba(0, 168, 255, 0.1);
    border-color: var(--secondary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.2);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.services-footer {
    text-align: center;
    margin-top: 3rem;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, rgba(0, 102, 204, 0.05) 0%, var(--dark-bg) 100%);
}

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

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #00a8ff;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
}

.about-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* ===== CASE STUDIES SECTION ===== */
.case-studies {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(0, 102, 204, 0.05) 100%);
}

.case-studies-header {
    text-align: center;
    margin-bottom: 3rem;
}

.case-studies-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.case-studies-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.case-study-card {
    background: rgba(0, 168, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.case-study-card:hover {
    background: rgba(0, 168, 255, 0.1);
    border-color: var(--secondary-color);
    transform: translateY(-10px);
}

.case-study-image {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.case-study-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.case-study-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, rgba(0, 102, 204, 0.05) 0%, var(--dark-bg) 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.contact-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 35px rgba(0,0,0,.25);
    border: 1px solid rgba(0,0,0,.06);
}

.form-card h3 {
    margin: 0 0 18px 0;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0b2b57;
}

.form-popup{
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #0b2b57;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  border: 1px solid rgba(0,0,0,.08);
  display: none;
  z-index: 1000;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.info-item h4 {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--text-muted);
}

.contact-form {
    display: grid;
    flex-direction: column;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(0, 168, 255, 0.05);
    border: 1px solid #e6eaf0;
    border-radius: 10px;
    padding: 14px 14px;
    color: #1b2b3a;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(0, 168, 255, 0.1);
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.2);
}


/* ===== FOOTER ===== */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
    border-color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== BACK TO TOP BUTTON ===== */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: #00b3b3; /* teal accent */
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  z-index: 999;
  transition: transform .25s ease, opacity .25s ease;
}

#backToTop:hover {
  transform: translateY(-3px);
}

/* Show button */
#backToTop.show {
  display: flex;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-header h2,
    .contact-header h2,
    .case-studies-header h2,
    .about-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-logo {
        font-size: 0.9rem;
    }

    .logo-img {
        width: 30px;
        height: 30px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .services,
    .about,
    .case-studies,
    .contact {
        padding: 3rem 1rem;
    }
}
