:root {
  --black: #0C0C0C;
  --charcoal: #121212;
  --cream: #f5f3ed;
  --warm-cream: #ebe6da;
  --white: #FFFFFF;
  --gray: #CFCFCF;
  --gold-light: #E8AE00;
  --gold-deep: #C79500;
  --font-main: 'Inter', 'Poppins', 'Helvetica Neue', sans-serif;
}

/* BASE */
body {
  font-family: var(--font-main);
  background-color: var(--black);
  color: var(--white);
  margin: 0;
  padding: 40px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAVIGATION */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(12, 12, 12, 0.9);
  backdrop-filter: blur(6px);
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* NAV CONTAINER */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: relative;
}

.nav-logo {
  height: 80px;
  margin-right: 20px;
  flex-shrink: 0;
}

.nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold-light);
}

/* TOGGLE BUTTON */
.nav-toggle {
  display: none;
  position: absolute;
  right: 40px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-toggle:hover {
  color: var(--gold-light);
}

/* --- Optical Nav Centering --- */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 15px 40px;
}

.nav-logo {
  position: absolute;
  left: 40px;
  height: 80px;
}

.nav-menu {
  display: flex;
  justify-content: center;
  flex: 1;
  transform: translateX(-20px);
  
}

.nav-links {
  display: flex;
  gap: 40px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}


/* RESPONSIVE MENU */
@media (max-width: 768px) {
  .nav-container { justify-content: space-between; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12, 12, 12, 0.95);
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-menu.active { display: block; }
  .nav-links { flex-direction: column; gap: 20px; }
  .nav-links a { font-size: 18px; }
}

/* Keep nav toggle aligned for mobile */
@media (max-width: 768px) {
  .nav-container {
    justify-content: space-between;
  }

  .nav-logo {
    position: static;
    height: 60px;
  }
}

/* HERO */
.hero {
  text-align: center;
  background: var(--black);
  padding: 120px 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease-out;
}

.hero.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-logo { height: 200px; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  margin-bottom: 20px;
  transition: background-position 0.6s ease, color 0.3s ease;
}

h1 { font-size: 72px; font-weight: 700; }
h2 { font-size: 48px; font-weight: 600; }
h3 { font-size: 32px; font-weight: 500; }
p { color: var(--gray); font-size: 18px; }

.gold-gradient {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  background-position: left;
}

/* GRADIENT ADAPTATION */
.gold-gradient-light {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  background-position: left;
}

.gold-gradient-deep {
  background: linear-gradient(135deg, #b88500, #7a5c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  background-position: left;
}


.highlighted { background-position: right; }

/* SECTION BASE */
.section {
  padding: 100px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.section {
  transition: background-color 0.6s ease, color 0.6s ease;
}

/* ABOUT SECTION */

#about p {
  color: var(--gray);
  max-width: 800px;
  margin: 20px auto 0;
  line-height: 1.7;
  font-size: 1.1rem;
  text-align: center;
}

#about h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* ABOUT SECTION */
#about {
  background: var(--cream);
  color: var(--black);
  padding: 80px 0;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.about-text {
  text-align: left;
  margin-top: -20px; /* push text upward */
}

.about-text p {
  color: #333;
  line-height: 1.8;
  font-size: 1.1rem;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Responsive stacking */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image img {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  #about {
    padding: 60px 0 80px; 
  }

  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px; 
  }

  .about-image {
    order: -1; 
    margin: 0 auto 10px; 
  }

  #about {
  padding: 40px 0 70px;
}


  .about-image img {
    width: 65%;
    max-width: 260px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  .about-text {
    margin-top: 0;
  }
}



.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SECTION COLORS (ALTERNATING BACKGROUNDS) */
#hero { background: var(--black); color: var(--white); }
#about { background: var(--warm-cream); color: var(--black); }
#services { background: var(--black); color: var(--white); }
#clients { background: var(--warm-cream); color: var(--black); }
#contact { background: var(--warm-cream); color: var(--black); }

/* TEXT COLOR ADJUSTMENTS FOR LIGHT SECTIONS */
#about p,
#clients p,
#contact p {
  color: #333; /* readable dark gray */
}

#about h2,
#clients h2,
#contact h2 {
  color: var(--black);
}


.section:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* BUTTONS */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 18px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-right: 20px;
}

.btn-primary, .btn-secondary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: var(--white);
}

.btn-primary:hover, .btn-secondary:hover {
  background: var(--white);
  color: var(--gold-light);
}

/* Secondary button (About section only) */
#about .btn-secondary {
  display: block;
  margin: 40px auto 0; 
  text-align: center;
  width: fit-content;
}

#about .btn-secondary:hover {
  border: 2px solid var(--gold-deep);
  color: var(--gold-light);
}

.btn-outline {
  border: 2px solid var(--gold-light);
  color: var(--white);
  background: transparent;
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--gold-light);;
}

/* SERVICES */
.services-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: start;
  gap: 60px;
  margin-top: 0px;
}

.services-text {
  text-align: left;
  position: relative;
  padding-left: 25px;
}

.services-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #e8ae00, #b88500);
  border-radius: 2px;
  opacity: 0.8;
}

.services-intro {
  color: var(--gray);
  line-height: 1.7;
  font-size: 1.1rem;
  margin-top: 10px;
}

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

.service-card {
  border: 1px solid rgba(232,174,0,0.2);
  padding: 30px;
  border-radius: 12px;
  background-color: rgba(0,0,0,0.05);
  transition: all 0.4s ease;
}

#services .service-card:hover {
  box-shadow: 0 0 20px rgba(232,174,0,0.25);
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  #services {
    padding: 60px 0 70px; /* reduce top & bottom padding */
  }

  #services h2 {
    margin-top: 0;
  }

  .services-container {
    gap: 40px; /* tighter space between intro text & cards */
  }

  .services-grid {
    gap: 20px; /* slightly smaller space between cards */
  }

  .service-card {
    padding: 24px;
  }
}


/* CLIENTS SECTION */
#clients {
  background: var(--warm-cream);
  color: var(--black);
  padding: 50px 0 60px; 
}

.clients-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr; /* desktop: logos left, text right */
  align-items: center;
  gap: 80px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 2x2 logo grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  justify-items: center;
  align-items: center;
}

.client-card {
  background-color: rgba(255,255,255,0.5);
  border-radius: 12px;
  padding: 25px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 300px;
  min-height: 120px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
}

/* ✨ Gold hover effect */
.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(232,174,0,0.35);
  border-color: rgba(232,174,0,0.5);
}

.client-card img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: brightness(0.95);
  transition: filter 0.3s ease;
}

.client-card:hover img {
  filter: brightness(1.05);
}

/* Text block styling */
.clients-text {
  text-align: right;
  position: relative;
  padding-right: 25px;
}

.clients-text::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #e8ae00, #b88500);
  border-radius: 2px;
  opacity: 0.8;
}

.clients-text h2 {
  margin-bottom: 20px;
  font-size: 2.5rem;
  color: #7a5c00;
}

.clients-text p {
  color: #333;
  line-height: 1.7;
  font-size: 1.1rem;
}

@media (min-width: 1600px) {
  #clients {
    padding: 120px 0; 
  }

  .clients-container {
    gap: 100px;
    padding: 0 8vw; 
  }

  .clients-text {
    max-width: 600px; 
  }

  .client-card {
    max-width: 340px; 
    min-height: 130px;
  }
}
/* Tablet & mobile responsiveness */
@media (max-width: 992px) {
  .clients-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  /* Move text ABOVE logos */
  .clients-text {
    order: -1;
    text-align: center;
    padding-right: 0;
    max-width: 600px;
    margin: 0 auto 20px;
  }

  .clients-text::after {
    display: none;
  }

  .clients-text h2 {
    font-size: 2rem;
    margin-bottom: 16px;
  }

  .clients-text p {
    font-size: 1rem;
  }

  /* 🎠 Scrollable carousel on mobile */
  .clients-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 20px 10px;
    justify-content: flex-start;
  }

  .clients-grid::-webkit-scrollbar {
    height: 6px;
  }

  .clients-grid::-webkit-scrollbar-thumb {
    background: rgba(232,174,0,0.6);
    border-radius: 10px;
  }

  .client-card {
    flex: 0 0 75%; /* takes ~3/4 of screen width per logo card */
    scroll-snap-align: center;
    max-width: 280px;
    min-height: 120px;
    margin: 0 auto;
  }

  .client-card img {
    max-height: 65px;
  }
}

@media (max-width: 600px) {
  .client-card {
    flex: 0 0 85%;
    max-width: 240px;
  }

  .clients-text h2 {
    font-size: 1.8rem;
  }

  .clients-text p {
    font-size: 0.95rem;
  }
  .clients-grid {
  scroll-behavior: smooth;
    }   
}
/* 🖥️ Large screens (wide desktop monitors) */
@media (min-width: 1400px) {
  .clients-container {
    display: flex;
    flex-direction: column; /* stack text above grid */
    align-items: center;
    text-align: center;
    gap: 60px;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0px 6vw;
  }

  /* Move the heading & text to top center */
  .clients-text {
    order: -1;
    text-align: center;
    max-width: 900px;
    padding: 0;
  }

  .clients-text::after {
    display: none; /* remove the vertical line */
  }

  /* Turn logos into a single 4-column row */
  .clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    justify-items: center;
    align-items: center;
    width: 100%;
    max-width: 1600px;
  }

  .client-card {
    max-width: 260px;
    min-height: 120px;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  }

  .client-card img {
    max-height: 70px;
  }
}

/* FOOTER */
footer {
  background: var(--black);
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

footer.visible {
  opacity: 1;
  transform: translateY(0);
}

footer p {
  font-size: 14px;
  color: var(--gray);
}

footer {
  background: var(--black);
  color: var(--gray);
  padding: 60px 20px 40px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 150px;
  margin-bottom: 10px;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

.footer-logo:hover {
  filter: brightness(1.05);
}

footer p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.footer-socials a {
  color: var(--gold-light);
  font-size: 22px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(232,174,0,0.6);
  transform: translateY(-3px);
}

/* Tooltip styling for LinkedIn link */
.linkedin-link {
  position: relative;
  display: inline-block;
}

.linkedin-link .tooltip {
  visibility: hidden;
  opacity: 0;
  background: rgba(0, 0, 0, 0.85);
  color: var(--white);
  text-align: center;
  border-radius: 6px;
  padding: 6px 10px;
  position: absolute;
  bottom: 130%; /* positions tooltip above icon */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  z-index: 10;
}

/* Arrow under tooltip */
.linkedin-link .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
}

/* Hover reveal */
.linkedin-link:hover .tooltip {
  visibility: visible;
  opacity: 1;
  bottom: 150%;
}


/* RESPONSIVE */
@media (max-width: 1024px) {
  body { padding: 20px; }
  h1 { font-size: 56px; }
  h2 { font-size: 40px; }
  h3 { font-size: 28px; }
}

@media (max-width: 992px) {
  .services-container { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-text { text-align: center; padding-left: 0; }
  .services-text::before { display: none; }
}

@media (max-width: 768px) {
  .hero { padding: 80px 15px; }
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }
  p { font-size: 16px; }
  .btn { display: block; margin: 10px auto; width: 80%; }
}

@media (max-width: 480px) {
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
  p { font-size: 15px; }
  .section { padding: 60px 0; }
}
