/* ===== GLOBAL STYLES ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #0c4466;
  --accent: #ffff00;
  --dark: #000;
  --light: #f9f9f9;
  --text: #ffffff;
  --card-bg: #111;
}

html { scroll-behavior: smooth; }

::selection { background: var(--accent); color: #000; }

body {
  font-family: 'Lexend', 'Open Sans', Arial, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; width: 100%;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  border-bottom: 1px solid rgba(255,255,0,0.15);
}

nav .logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

nav .logo span { color: var(--accent); }

nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
}

nav ul li a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  background: var(--accent);
  color: #000;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  background: none;
  border: none;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(12,68,102,0.55) 0%, transparent 65%);
}

/* animated grid lines */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-content { position: relative; z-index: 1; max-width: 820px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,0,0.08);
  border: 1px solid rgba(255,255,0,0.25);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-badge span { width:7px; height:7px; background:#4ade80; border-radius:50%; display:inline-block; animation: pulse 2s infinite; }

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(1.4); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 span { color: var(--accent); }

.hero h1 .role {
  display: block;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  letter-spacing: 0;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 35px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ===== STATS ROW ===== */
.stats {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 55px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-item {
  text-align: center;
  padding: 10px 35px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child { border-right: none; }

.stat-item .number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-item .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== SECTION STYLES ===== */
section { padding: 80px 20px; }

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

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
}

.section-title h2 span { color: var(--accent); }

.section-title p {
  color: rgba(255,255,255,0.65);
  margin-top: 10px;
  font-size: 1rem;
}

/* ===== SKILLS ===== */
.skills-section { padding: 80px 20px; background: #050505; }

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 50px;
}

.skill-item { margin-bottom: 8px; }

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  font-size: 0.9rem;
  font-weight: 500;
}

.skill-header span:last-child { color: var(--accent); font-weight: 700; }

.skill-bar {
  height: 6px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 10px;
  width: 0;
  transition: width 1.2s ease;
}

/* ===== ABOUT SECTION ===== */
.about { background: #080808; }

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

.about-img {
  position: relative;
}

.about-img::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  z-index: 0;
  opacity: 0.5;
}

.about-img img {
  width: 100%;
  border-radius: 18px;
  position: relative;
  z-index: 1;
  display: block;
}

.about-text h2 { font-size: 2.2rem; margin-bottom: 20px; line-height: 1.2; }
.about-text h2 span { color: var(--accent); }
.about-text p { color: rgba(255,255,255,0.75); margin-bottom: 14px; font-size: 0.96rem; line-height: 1.75; }

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.88rem;
}

.highlight-item i { color: var(--accent); font-size: 1rem; flex-shrink: 0; }

.social-links { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,255,0,0.05);
}

.social-link i { font-size: 1.1rem; }
.social-link.linkedin i { color: #0a66c2; }
.social-link.whatsapp i { color: #25d366; }
.social-link.email i { color: #ea4335; }
.social-link:hover i { color: var(--accent) !important; }

/* ===== CTA STRIP ===== */
.cta-strip {
  background: linear-gradient(90deg, #0c4466 0%, #1a6490 50%, #0c4466 100%);
  padding: 50px 20px;
  text-align: center;
}

.cta-strip h2 { font-size: 1.8rem; margin-bottom: 10px; }
.cta-strip p { color: rgba(255,255,255,0.75); margin-bottom: 25px; }

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 35px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { border-color: rgba(255,255,0,0.2); transform: translateY(-4px); }

.service-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,0,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--accent); }
.service-card p { color: rgba(255,255,255,0.7); font-size: 0.93rem; }

/* ===== PORTFOLIO/PROJECTS ===== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 700;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 25px;
}

.project-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: rgba(255,255,0,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.project-thumb {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: #1a1a2e;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.project-card:hover .project-thumb img { transform: scale(1.05); }

.project-thumb .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .overlay { opacity: 1; }

.overlay a {
  color: #000;
  background: var(--accent);
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 7px;
}

.project-info { padding: 22px; flex: 1; display: flex; flex-direction: column; }

.project-info .tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,0,0.08);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: fit-content;
}

.project-info h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.4; }
.project-info p { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-bottom: 16px; flex: 1; line-height: 1.6; }

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: gap 0.2s;
  margin-top: auto;
}

.project-link:hover { gap: 10px; }

/* ===== PRICING SECTION ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 35px 28px;
  position: relative;
  transition: all 0.3s;
}

.pricing-card.featured {
  border-color: var(--accent);
  background: #0c1a22;
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card:hover { transform: translateY(-5px); }

.pricing-card .plan-name { font-size: 0.85rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.pricing-card .price { font-size: 2.2rem; font-weight: 700; margin-bottom: 5px; }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,0.6); }
.pricing-card .desc { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 25px; }

.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pricing-features li i { color: #4ade80; font-size: 0.85rem; margin-top: 3px; flex-shrink: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: #080808; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 15px; right: 20px;
  font-size: 4rem;
  color: rgba(255,255,0,0.15);
  font-family: Georgia, serif;
  line-height: 1;
}

.stars { color: #fbbf24; margin-bottom: 12px; font-size: 0.9rem; }
.testimonial-card p { color: rgba(255,255,255,0.75); font-size: 0.92rem; margin-bottom: 20px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 42px; height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
}

.reviewer-name { font-weight: 600; font-size: 0.95rem; }
.reviewer-title { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ===== CONTACT SECTION ===== */
.contact { background: #080808; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 { font-size: 1.5rem; margin-bottom: 15px; }
.contact-info p { color: rgba(255,255,255,0.7); margin-bottom: 30px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-item .icon {
  width: 44px; height: 44px;
  background: rgba(255,255,0,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
.contact-item a:hover { color: var(--accent); }

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

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.88rem; color: rgba(255,255,255,0.7); font-weight: 500; }

.form-group input,
.form-group textarea,
.form-group select {
  background: #111;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea { min-height: 130px; }

/* ===== FOOTER ===== */
footer {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 20px;
  text-align: center;
}

footer .footer-inner { max-width: 800px; margin: 0 auto; }
footer .footer-logo { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
footer .footer-logo span { color: var(--accent); }
footer p { color: rgba(255,255,255,0.45); font-size: 0.88rem; margin-top: 6px; }

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 18px 0;
}

footer .footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

footer .footer-links a:hover { color: var(--accent); }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 120px 20px 60px;
  text-align: center;
  background: linear-gradient(180deg, #0c4466 0%, #000 100%);
}

.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.page-hero h1 span { color: var(--accent); }
.page-hero p { color: rgba(255,255,255,0.7); margin-top: 12px; font-size: 1rem; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(0,0,0,0.97); padding: 20px; gap: 5px; border-top: 1px solid rgba(255,255,255,0.06); }
  nav ul.open { display: flex; }
  .hamburger { display: block; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-highlights { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .stats { gap: 0; }
  .stat-item { padding: 10px 20px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .stat-item:last-child { border-bottom: none; }
  nav { padding: 0 20px; }
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: rgba(255,255,0,0.25);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  gap: 12px;
}

.faq-q i {
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-q i {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  line-height: 1.7;
  padding: 0 20px;
  transition: max-height 0.35s ease, padding 0.3s;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 20px 18px;
}
