/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and Video Background */
body {
  background-color: black;
  color: white;
  font-family: Inter, system-ui, Segoe UI, Arial, sans-serif;
  line-height: 1.6;
}
body .main-container video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

/* Hero Navigation */
.hero .nav {
  display: flex;
  justify-content: center;
  text-align: center;
  color: #f1c40f;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
}
.hero .nav span {
  color: #3498db;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: bold;
  color: #f1c40f;
}
.logo i {
  font-size: 32px;
  color: #3498db;
}

/* Section One */
.section-one {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px 20px;
  text-align: center;
}
.section-one h3 {
  font-size: clamp(28px, 5vw, 52px);
}
.section-one h3 span {
  color: #3498db;
}
.section-one .complement {
  margin-top: -10px;
  font-size: clamp(14px, 2vw, 18px);
  text-align: center;
}

/* Section Two */
.section-two h3 {
  display: flex;
  justify-content: center;
  font-size: clamp(26px, 4vw, 40px);
  text-align: center;
  padding: 20px;
}

/* About Section */
:root {
  --bg: #0b0f14;
  --card: #0f1721;
  --bar: #0c1320;
  --text: #eaf1ff;
  --muted: #a7b1c2;
  --accent: #4f8cff;
  --ring: rgba(79,140,255,0.35);
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.about-wrapper {
  padding: clamp(16px, 4vw, 48px);
  display: grid;
  place-items: center;
}
.window {
  width: min(900px, 100%);
  background: linear-gradient(180deg, var(--card), #0b141f 60%);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bar);
}
.win-dots {
  display: flex;
  gap: 8px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }
.win-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}
.window-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #122030;
  border: 1px solid rgba(255,255,255,0.08);
}
h2 { margin: 0; font-size: clamp(20px, 3vw, 24px); }
.subtitle { color: var(--muted); font-size: 14px; }
.about-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
}

/* Mini Grid */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 20px;
}
.mini-window {
  background: #0f1721;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.mini-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #0c1320;
  font-size: 13px;
  color: #a7b1c2;
}
.mini-content {
  padding: 14px;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mini-content a {
  color: #dbe6ff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mini-content a:hover { color: #4f8cff; }
.mini-content p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Portrait Center */
.portrait-center {
  display: flex;
  justify-content: center;
}
.portrait-img img {
  max-width: 220px;
  width: 100%;
  border-radius: 12px;
  border: 2px solid #4f8cff;
}

/* Button */
#btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}
#btn button {
  height: 40px;
  width: 140px;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  border-radius: 8px;
  cursor: pointer;
}

/* Projects */
.third-section {
  padding: 40px 20px;
  text-align: center;
}
.projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.project-card img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.project-card img:hover {
  transform: scale(1.05);
}

/* Testimonials */
.testimonials {
  padding: 60px 20px;
  text-align: center;
}
.testimonials h3 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 30px;
  color: #f1c40f;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
  text-align: center;
}
.testimonial-card:hover { transform: translateY(-8px); }
.testimonial-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid #4f8cff;
  margin-bottom: 12px;
  object-fit: cover;
}
.testimonial-card h4 {
  margin: 8px 0 2px;
  font-size: 20px;
}
.testimonial-card .role {
  font-size: 14px;
  color: #a7b1c2;
  margin-bottom: 10px;
}
.testimonial-card .quote {
  font-size: 15px;
  line-height: 1.6;
  color: #dbe6ff;
}

/* Work Together */
.work-together {
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.work-together h3 {
  font-size: clamp(24px, 3.5vw, 34px);
  color: #f1c40f;
}
.work-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #4f8cff;
}
.work-btn {
  margin-top: 10px;
  padding: 12px 28px;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.work-btn:hover {
  background: #4f8cff;
  border-color: #4f8cff;
}
.work-together a {
  text-decoration: none;
  background-color: transparent;
}

/* Footer */
.footer {
  background: #0d0d0d;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  margin-top: 50px;
  border-top: 2px solid #1a1a1a;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-logo {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  color: #f1c40f;
}
.footer-logo i {
  margin-right: 8px;
  color: #00d8ff;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.footer-nav a:hover { color: #00d8ff; }
.footer-copy {
  margin: 10px 0;
  font-size: 14px;
  color: #aaa;
}
.footer-location {
  font-size: 14px;
  color: #bbb;
}
.footer-location span {
  font-weight: bold;
  color: #00ff99;
}

/* Clock */
#clock {
  color: #00d8ff;
  font-weight: bold;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hamburger Menu */
.menu-btn {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.menu-btn.open { transform: rotate(90deg); }
.nav {
  transform: translateX(100%);
  transition: transform 0.4s ease-in-out;
}
.nav.active { transform: translateX(0); }

/* Button Ripple */
button {
  position: relative;
  overflow: hidden;
}
button::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: scale(0);
  width: 100px;
  height: 100px;
  pointer-events: none;
  animation: none;
}
button:active::after { animation: ripple 0.6s linear; }
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 16px;
  border: none;
  background: gold;
  color: black;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  font-size: 20px;
}
.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* Container */
.big-container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

/* Responsive Typography */
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.25rem, 4vw, 2rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.75rem); }

/* 📱 Responsive Breakpoints */
@media (max-width: 992px) {
  .hero .nav { flex-direction: column; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .projects { flex-direction: column; align-items: center; }
  .about-head { flex-direction: column; text-align: center; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-nav { justify-content: center; }
}

@media (max-width: 576px) {
  .logo { font-size: 22px; }
  .logo i { font-size: 26px; }
  .work-img { width: 90px; height: 90px; }
  .footer-logo { font-size: 18px; }
}
