/* ================= BODY ==================== */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.3;
  color: #d1d5db;
  background: #0b1220;
  padding-top: 80px;
}  

/*  margin: 0;
  font-family: Arial, sans-serif;
  background: #0b1220;
  color: #e5e7eb;
  font-size: 16px;
  padding-top: 80px;*/


/* Headings */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: 0.2px;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 18px;
}


/* ALL PARAGRAPHS */
p {
  font-size: 15px;
  line-height: 1.3;
}


/* ================= INTRO ================= */
#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0b1220;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 2.5s ease forwards;
  animation-delay: 1.8s;
}

#intro img {
  width: 500px;
  animation: logoAnim 2s ease forwards;
}

@keyframes logoAnim {
  0% { opacity: 0; transform: scale(0.7); }
  40% { opacity: 1; transform: scale(1.2); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: scale(0.8); }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* ================= HEADER ================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    font-size: 20px;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #1f2937;
    z-index: 1000;
    box-sizing: border-box;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 44px;
}

.logo span {
  font-size: 20px;
  font-weight: bold;
  color: #2dd4bf;
}

/* ================= NAV ================= */

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;    /* prevents overflow */
}

nav a {
  margin-left: 20px;
  color: #cbd5f5;
  text-decoration: none;
  font-weight: 500;
  font-size: 20px;
  transition: 0.2s ease;
}

nav a:hover {
  color: #2dd4bf;
}

/* ACTIVE LINK */
nav a.active {
  color: #2dd4bf;
  font-weight: 600;
  border-bottom: 2px solid #2dd4bf;
  padding-bottom: 4px;
}

@media (max-width: 768px) {
  nav {
    font-size: 16px;
  }

  nav a {
    margin-left: 12px;
  }
}


/* DROPDOWN */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #111827;
  min-width: 220px;
  border: 1px solid #1f2937;
  border-radius: 6px;
  z-index: 10;
}

.dropdown-content a {
  display: block;
  font-size: 14px;
  padding: 10px 14px;
  color: #e5e7eb;
}

.dropdown-content a:hover {
  background: #1f2937;
  color: #2dd4bf;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ================= HERO ================= */

.hero { 
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* IMAGE */
.hero-bg {
 
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;

  opacity: 0;
  transition: opacity 1.2s ease-in-out;

  filter: contrast(130%) grayscale(100%);
}


.bg1 { z-index: 1; }
.bg2 { z-index: 1; opacity: 0; }


/* GRID */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 212, 191, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 2;
}


/* DARK OVERLAY */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.65);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;

  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 8px;

}

.hero h2 {
	
  font-size: 40px;
  line-height: 1.2;
  max-width: 800px;
  margin: auto;

  /* max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #e2e8f0;*/
}

.hero p {
  font-size: 15px;
  color: #e2e8f0;
  max-width: 700px;
  margin: auto;
}

/* ================= SECTIONS ================= */

.section {
  padding: 80px 40px;
  border-top: 1px solid #1f2937;
  max-width: 1100px;
  margin: auto;
  text-align: justify;
}

/* unified section text */
.section p {
  color: #9ca3af;
  font-size: 16px;
  line-height: 1.6;
}
 
.section h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.section h3 {
  font-size: 20px;
}

/* DARK SECTION */
.section.dark {
  background: #0b1220;
}

/* SLIGHTLY LIGHTER */
.section.light {
  background: #111827;
}

/* SERVICES GRID */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .services {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

/* CLICKABLE CARD WRAPPER */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* CARDS */
.card {
  background: #141e2e;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #1f2937;

  min-height: 100px;   /* control size */
  max-height: 150px;   /* prevents too tall cards */

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  height: 100%;
  transition: all 0.25s ease;
  cursor: pointer;
}

.card p {
  flex-grow: 1;
  font-size: 15px;
  line-height: 1.5;

}

.card h3 {
  color: #2dd4bf;
  margin-bottom: 8px;
  font-size: 20px;
}

/* HOVER */
.card-link:hover .card {
  border-color: #2dd4bf;
  transform: translateY(-5px) scale(1.02);
}

/* ================= SERVICE PAGE ================= */
.service-item {
  margin-top: 50px;
  scroll-margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #1f2937;
}

.service-item h3 {
  color: #2dd4bf;
  margin-bottom: 10px;
}

.service-item p {
  max-width: 1100px;
  color: #9ca3af;
  line-height: 1.6;
}

.service-figure {
  margin: 30px 0;
  text-align: left;
}

.service-figure img {
  width: 100%;
  max-width: 1100px;
  border-radius: 8px;
  border: 1px solid #1f2937;
}

/* optional caption style */
.service-figure p {
  margin-top: 10px;
  font-size: 14px;
  color: #6b7280;
}


/* ================= CLIENTS ======================= */
.clients-list {
  list-style: disc;
  padding-left: 20px;
  text-align: left;
  margin-top: 30px;
  padding: 0;
}

.clients-list li {
  margin: 12px 0;
  font-weight: 500;
  letter-spacing: 0.3px;
 }
 
 /* ================ CONTACT INFO ================= */
.contact-info {
  max-width: 1100px;
  color:#9ca3af;
  margin: 12px 0;
  text-align: left;
}

.contact-info p {
  margin: 20px 0;
}

.contact-info a {
  color: #2dd4bf;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}
``

/* ================= CONTACT FORM ================= */
form {
  max-width: 600px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #1f2937;
  border-radius: 6px;
  background: #0b1220;
  color: #e5e7eb;
}

button {
  padding: 12px;
  border: none;
  background: #2dd4bf;
  color: #022c22;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background: #14b8a6;
}

/* ================= CTA BUTTON ================= */
.cta-button {
  display: inline-block;
  margin: 10px;
  padding: 12px 24px;
  background: #2dd4bf;
  color: #022c22;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
}

.cta-button:hover {
  background: #14b8a6;
}

/* ================= CENTERED TEXT ================= */
.section.center h2,
.section.center > p {
  text-align: center;
}

.section.center form {
  text-align: left;
}

.section.center p {
  margin-left: auto;
  margin-right: auto;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  font-size: 12px;
  padding: 20px;
  color: #6b7280;
}

/* ================= THANK YOU ================= */
.thank-you {
  text-align: center;
  max-width: 700px;
}

.thank-you p {
  margin-bottom: 20px;
  line-height: 1.6;
}

/* =========== TITLE WITH IMAGES ===================== */
.title-with-image {
	display: flex;
	align-items: center;
	gap: 12px; /* controls space between image and title */
}

.title-with-image img {
  width: 40px;
  height: 40px;
  opacity: 0.9;
}

/* =========== ABOUT PROFILE LAYOUT ===============    */
.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
}

/* PHOTO */
.about-photo img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #1f2937;
}

/* TEXT */
.about-text h2 {
  margin-bottom: 10px;
}

.subtitle {
  color: #9ca3af;
  margin-bottom: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo {
    max-width: 200px;
    margin: auto;
  }
}


.about-links a {
  color: #2dd4bf;
  font-weight: 500;
  text-decoration: none;
}

.about-links a:hover {
  text-decoration: underline;
}



