/* ============ Variables & Reset ============ */
:root {
  --clr-dark: #0f172a;
  --clr-light: #ffffff;
  --clr-accent: #36d1dc;
  --clr-grey: #64748b;
  --radius: 6px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', sans-serif;
  color: var(--clr-dark);
  line-height: 1.6;
  scroll-behavior: smooth;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.section { padding: 4rem 0; }
.section-title { font-size: 2rem; margin-bottom: 2rem; text-align:center; }

/* ============ Layout Helpers ============ */
.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

/* ============ Header ============ */
.site-header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.9); box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.logo a { font-weight: 700; font-size: 1.5rem; color: var(--clr-accent); }
.nav-list { list-style: none; display: flex; gap: 1.5rem; }
.nav-list a { font-weight: 600; padding: .75rem; transition: color .2s; }
.nav-list a:hover { color: var(--clr-accent); }

/* ============ Hero ============ */
.hero {
  padding: 9rem 0 6rem; /* taller due to fixed header */
  background: linear-gradient(135deg, #182848 0%, #36d1dc 100%);
  color: var(--clr-light);
  text-align: center;
}
.hero h2 { font-size: 2.7rem; margin-bottom: 1rem; }
.hero p { font-size: 1.125rem; margin-bottom: 2rem; }

/* ============ Buttons ============ */
/* Existing base + accent button remain unchanged */
.btn {
  display: inline-block;
  padding: .9rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background .25s;
  color: #0f172a;          /* default text colour */
}

.btn-primary {
  background: var(--clr-accent);
  color: var(--clr-light);
}
.btn-primary:hover { background: #1fa0a8; }

/* ---------- NEW: black-on-white variant ---------- */
.btn-dark {
  background: #000;
  color: #fff !important;
}
.btn-dark:hover {
  background: #222;        /* subtle hover effect */
}

/* ============ About ============ */
.about-img {
  width: 400px;
  height: 400px;
  object-fit: cover;        /* crops gracefully */
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
}

/* On screens narrower than 450 px, make the image fluid */
@media (max-width: 450px) {
  .about-img {
    width: 100%;
    height: auto;
  }
}
.about-img { border-radius: var(--radius); box-shadow: 0 6px 18px rgba(0,0,0,.1); }
/* 1. Give the entire text column some padding */
.about .about-text {
  padding-left: 1.5rem;      /* change to taste */
  padding-right: 1rem;
}

/* 2. Fine-tune vertical rhythm inside that column */
.about .about-text h3   { margin-bottom: 1rem; } /* headline gap   */
.about .about-text p    { margin-bottom: 1.5rem; } /* para gap      */
.about .about-text .btn { margin-top: 0.25rem; }   /* button offset */

/* ============ Services ============ */
.services {                       /* <─ NEW */
  background: #f8fafc;            /* off-white / light grey */
}

.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-card {
  background: var(--clr-light);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
  transition: transform .25s;
}
.service-card:hover       { transform: translateY(-6px); }
.service-card h4          { margin-bottom: .5rem; }

/* =====================================================
   Portfolio — Logo Carousel
   ===================================================== */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* arrow buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  cursor: pointer;
  opacity: .8;
  transition: opacity .25s;
}
.carousel-btn:hover{opacity:1}
.carousel-btn.prev{left:-20px}
.carousel-btn.next{right:-20px}

/* scroll container */
.portfolio-carousel{
  display:flex;
  flex-wrap:nowrap;            /* stay on one row            */
  gap:2rem;                    /* 32 px – keep in sync w/ JS */
  overflow-x:auto;             /* enable horizontal scroll   */
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  padding:1rem 0
}
.portfolio-carousel::-webkit-scrollbar{display:none}

/* each logo card */
.logo-slide,
.slide{                         /* both class names work      */
  flex:0 0 auto;               /* fixed width, no grow/shrink*/
  width:160px;
  height:160px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f1f5f9;
  border-radius:var(--radius);
  transition:transform .25s,box-shadow .25s
}
.logo-slide:hover,
.slide:hover{
  transform:translateY(-4px);
  box-shadow:0 4px 12px rgba(0,0,0,.08)
}

.portfolio-logo{
  width:120px;
  height:120px;
  object-fit:contain
}
/* ============ Contact ============ */
.contact-info { list-style:none; margin:1.5rem 0; line-height:1.8; }
.contact-form { background:#f8fafc; padding:2rem; border-radius:var(--radius); }
.form-row { display:flex; flex-direction:column; margin-bottom:1rem; }
.form-row label { margin-bottom:.3rem; font-weight:600; }
.form-row input {
  padding:.75rem 1rem; border:1px solid #cbd5e1; border-radius:var(--radius);
}
.form-row input:focus { outline:none; border-color: var(--clr-accent); }
.form-msg { margin-top:1rem; font-weight:600; }
.contact .btn { width: 100%; }

/* ============ Footer ============ */
.site-footer { background:#0f172a; color:#cbd5e1; padding:1.5rem 0; }
.back-to-top:hover { color: var(--clr-accent); }

/* ============ Responsive ============ */
@media (max-width: 640px) {
  .hero h2 { font-size: 2rem; }
  .nav-list { display:none; } /* Add hamburger later if needed */
}
/* Hide honeypot from users and screen-readers */
.honeypot {
  position: absolute;   /* remove from normal flow            */
  left: -9999px;        /* send it far off-screen             */
  visibility: hidden;   /* make sure it’s invisible           */
  height: 0;
  width: 0;
  overflow: hidden;
}