/* =====================================================
   DAVASTRUC - Main Stylesheet (Redesigned)
   Primary Palette:
     Navy Blue  #1a237e
     Gold       #c9a227
     Coral      #e8533a
     Teal       #0d7377
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700;800&family=Lato:wght@300;400;700&display=swap');

:root {
  --navy:        #1a237e;
  --navy-dark:   #0d1757;
  --gold:        #c9a227;
  --gold-light:  #e8c84a;
  --coral:       #e8533a;
  --teal:        #0d7377;
  --teal-light:  #14a085;
  --white:       #ffffff;
  --off-white:   #f4f6fb;
  --light-blue:  #e8f4fd;
  --text-dark:   #1a1a2e;
  --text-medium: #555570;
  --font-base:   14px;
  --topbar-height: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', 'Calibri', sans-serif;
  font-size: var(--font-base);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ===================================================
   TOPBAR - White for JPG logo
   =================================================== */

#topbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--topbar-height);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(26,35,126,0.10);
  border-bottom: 3px solid var(--gold);
  transition: box-shadow 0.3s ease;
}

#topbar.scrolled { box-shadow: 0 4px 28px rgba(26,35,126,0.16); }

.logo-container { display: flex; align-items: center; }
.logo-container img { height: 52px; width: auto; object-fit: contain; }

nav { display: flex; align-items: center; gap: 0; }

nav a {
  color: var(--navy);
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  position: relative;
  transition: color 0.3s ease;
  letter-spacing: 1px;
  text-transform: uppercase;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 3px;
  background: var(--gold);
  transition: width 0.3s ease;
}

nav a:hover::after, nav a.active::after { width: 70%; }
nav a:hover, nav a.active { color: var(--gold); }

.topbar-right { display: flex; align-items: center; gap: 15px; }

.hire-btn {
  background: var(--coral);
  color: var(--white);
  border: none;
  padding: 10px 26px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.hire-btn:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232,83,58,0.35);
}

.lang-switcher { display: flex; gap: 5px; }

.lang-btn {
  background: transparent;
  border: 2px solid rgba(26,35,126,0.25);
  color: var(--navy);
  padding: 5px 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 1px;
}

.lang-btn.active, .lang-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span { width: 25px; height: 2px; background: var(--navy); transition: all 0.3s; }

/* ===================================================
   SECTIONS COMMON
   =================================================== */

section { padding: 90px 0; }
.section-title { text-align: center; margin-bottom: 60px; }

.section-title h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 34px;
  color: var(--navy);
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
  letter-spacing: 1px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--coral));
}

.section-title p {
  color: var(--text-medium);
  margin-top: 18px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
  line-height: 1.8;
  font-size: 15px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ===================================================
   HERO - background image 25% opacity, CEO left, text right
   =================================================== */

#home {
  min-height: 100vh;
  padding-top: var(--topbar-height);
  display: flex;
  align-items: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/ceo-photo.jpg');
  background-size: cover;
  background-position: center top;
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}

#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    rgba(13,23,87,0.50) 0%,
    rgba(26,35,126,0.38) 50%,
    rgba(13,115,119,0.28) 100%);
  z-index: 1;
  pointer-events: none;
}

#home::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 460px; height: 460px;
  border: 2px solid rgba(201,162,39,0.18);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 40px;
  position: relative;
  z-index: 2;
}

/* CEO image - LEFT */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  animation: fadeInLeft 1s ease forwards;
  order: 1;
}

.hero-image-wrapper {
  position: relative;
  width: 400px;
  height: 500px;
}

.hero-image-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  position: relative;
  z-index: 2;
  filter: brightness(1.05) contrast(1.03);
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  bottom: -14px; left: -14px;
  right: 14px; top: 14px;
  border: 3px solid var(--gold);
  z-index: 1;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -14px; left: -14px;
  width: 80px; height: 80px;
  background: var(--teal);
  z-index: 0;
}

/* Text - RIGHT */
.hero-text {
  color: var(--white);
  animation: fadeInRight 1s ease forwards;
  order: 2;
}

.hero-text .greeting {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}

.hero-text h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
  color: var(--white);
}

#hero-name {
  color: var(--gold);
  display: inline-block;
  position: relative;
}

#hero-name::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--coral));
}

.hero-text .typed-container {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 28px;
  min-height: 30px;
}

.typed-container .prefix { opacity: 0.8; }

.typed-text {
  color: var(--gold);
  font-weight: 700;
  border-right: 2px solid var(--gold);
  padding-right: 4px;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 100% { border-color: var(--gold); }
  50%       { border-color: transparent; }
}

.hero-text p.bio-short {
  color: rgba(255,255,255,0.78);
  line-height: 1.85;
  margin-bottom: 38px;
  max-width: 480px;
  font-size: 15px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 38px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px; font-weight: 800;
  border: none; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: all 0.3s ease;
  letter-spacing: 1.5px; text-transform: uppercase;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(201,162,39,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 13px 35px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px; font-weight: 800;
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: all 0.3s ease;
  letter-spacing: 1.5px; text-transform: uppercase;
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-3px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 45px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.stat-item { text-align: left; }

.stat-number {
  font-family: 'Raleway', sans-serif;
  font-size: 32px; font-weight: 800;
  color: var(--gold); display: block;
}

.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* ===================================================
   PORTFOLIO
   =================================================== */

#portfolio { background: var(--off-white); padding: 90px 0; }

.portfolio-bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.portfolio-image-col { display: flex; justify-content: flex-start; order: 1; }
.portfolio-content { order: 2; }

.portfolio-content h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 26px; color: var(--navy); font-weight: 800;
  margin-bottom: 22px;
  position: relative;
  padding-left: 18px;
}

.portfolio-content h3::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  height: 70%; width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--coral));
}

.portfolio-content p { color: var(--text-medium); line-height: 1.85; margin-bottom: 16px; font-size: 14px; }

.portfolio-content .skills-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.skill-tag {
  background: var(--navy);
  color: var(--white);
  padding: 6px 16px;
  font-size: 11px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.3s;
}

.skill-tag:nth-child(2) { background: var(--teal); }
.skill-tag:nth-child(3) { background: var(--coral); }
.skill-tag:nth-child(4) { background: var(--navy-dark); }
.skill-tag:nth-child(5) { background: var(--teal-light); }

.ceo-card { position: relative; width: 360px; }

.ceo-photo {
  width: 100%; height: 440px;
  object-fit: cover; object-position: top;
  display: block; position: relative; z-index: 2;
}

.ceo-card::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px; right: 12px; bottom: 12px;
  border: 3px solid var(--gold);
  z-index: 1;
}

.ceo-card::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 70px; height: 70px;
  background: var(--teal);
  z-index: 0;
}

.ceo-label {
  background: var(--navy);
  color: var(--white);
  padding: 16px 22px;
  text-align: center;
  position: relative; z-index: 2;
}

.ceo-label .name { font-family: 'Raleway', sans-serif; font-size: 16px; font-weight: 800; color: var(--gold); }
.ceo-label .role { font-size: 11px; color: rgba(255,255,255,0.65); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; }

.portfolio-works { max-width: 1200px; margin: 70px auto 0; padding: 0 40px; }

.portfolio-works h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 22px; color: var(--navy); font-weight: 800;
  margin-bottom: 32px; text-align: center;
}

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.work-item {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 3px solid transparent;
}

.work-item:hover { transform: translateY(-6px); box-shadow: 0 12px 38px rgba(0,0,0,0.13); border-bottom-color: var(--gold); }

.work-image {
  height: 210px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}

.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.work-item:hover .work-image img { transform: scale(1.05); }

.work-placeholder { color: rgba(255,255,255,0.45); text-align: center; }
.work-placeholder svg { width: 50px; height: 50px; fill: var(--gold); opacity: 0.5; margin-bottom: 10px; }
.work-placeholder p { font-size: 12px; color: rgba(255,255,255,0.45); }

.work-info { padding: 22px; }
.work-info h4 { font-family: 'Raleway', sans-serif; font-size: 15px; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
.work-info p { font-size: 13px; color: var(--text-medium); }
.work-tag { display: inline-block; background: var(--gold); color: var(--navy); font-size: 10px; padding: 3px 10px; font-family: 'Raleway', sans-serif; font-weight: 800; margin-top: 10px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ===================================================
   BLOG
   =================================================== */

#blog { background: var(--white); padding: 90px 0; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.blog-card { border: 1px solid #e2e8f0; overflow: hidden; transition: all 0.3s ease; background: var(--white); }
.blog-card:hover { border-color: var(--coral); box-shadow: 0 10px 34px rgba(0,0,0,0.09); transform: translateY(-5px); }

.blog-image { height: 190px; background: linear-gradient(135deg, var(--navy), var(--teal)); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; }

.blog-category { position: absolute; top: 14px; left: 14px; background: var(--coral); color: var(--white); font-size: 10px; padding: 4px 12px; font-family: 'Raleway', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }

.blog-content { padding: 26px; }
.blog-date { font-size: 11px; color: var(--teal); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
.blog-content h3 { font-family: 'Raleway', sans-serif; font-size: 16px; color: var(--navy); font-weight: 700; margin-bottom: 12px; line-height: 1.45; }
.blog-content p { color: var(--text-medium); font-size: 13px; line-height: 1.75; margin-bottom: 16px; }

.read-more { color: var(--coral); text-decoration: none; font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; border-bottom: 2px solid var(--coral); padding-bottom: 2px; transition: color 0.3s; }
.read-more:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* ===================================================
   SERVICES
   =================================================== */

#services { background: var(--navy); padding: 90px 0; position: relative; overflow: hidden; }

#services::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 100%;
  background: rgba(13,115,119,0.12);
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}

#services .section-title h2 { color: var(--white); }
#services .section-title p  { color: rgba(255,255,255,0.65); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39,0.25);
  padding: 42px 30px; text-align: center;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: rgba(255,255,255,0.08); border-color: var(--gold); transform: translateY(-6px); }

.service-card:nth-child(3n+2) { border-color: rgba(13,115,119,0.4); }
.service-card:nth-child(3n+2)::before { background: linear-gradient(90deg, var(--teal), var(--teal-light)); }
.service-card:nth-child(3n+2) .service-icon { border-color: var(--teal); background: rgba(13,115,119,0.15); }
.service-card:nth-child(3n+2) .service-icon svg { fill: var(--teal-light); }
.service-card:nth-child(3n+2) .price { color: var(--teal-light); }
.service-card:nth-child(3n+3) { border-color: rgba(232,83,58,0.30); }
.service-card:nth-child(3n+3)::before { background: linear-gradient(90deg, var(--coral), var(--gold)); }
.service-card:nth-child(3n+3) .service-icon { border-color: var(--coral); background: rgba(232,83,58,0.12); }
.service-card:nth-child(3n+3) .service-icon svg { fill: var(--coral); }
.service-card:nth-child(3n+3) .price { color: var(--coral); }

.service-icon { width: 72px; height: 72px; background: rgba(201,162,39,0.12); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; transition: transform 0.3s; }
.service-card:hover .service-icon { transform: scale(1.08) rotate(3deg); }
.service-icon svg { width: 32px; height: 32px; fill: var(--gold); }
.service-icon img { width: 40px; height: 40px; object-fit: contain; }

.service-card h3 { font-family: 'Raleway', sans-serif; font-size: 17px; color: var(--white); font-weight: 700; margin-bottom: 14px; }
.service-card p { color: rgba(255,255,255,0.58); line-height: 1.75; font-size: 13px; }
.service-card .price { display: inline-block; margin-top: 22px; color: var(--gold); font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 15px; border: none; border-top: 1px solid rgba(201,162,39,0.25); padding-top: 16px; width: 100%; letter-spacing: 0.5px; background: none; cursor: pointer; text-align: left; transition: color 0.3s, letter-spacing 0.3s; }
.service-card .price:hover { letter-spacing: 1.5px; }

/* ===================================================
   CONTACT
   =================================================== */

#contact { background: var(--light-blue); padding: 90px 0; }

.contact-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.contact-info h3 { font-family: 'Raleway', sans-serif; font-size: 22px; color: var(--navy); font-weight: 800; margin-bottom: 18px; }
.contact-info > p { color: var(--text-medium); line-height: 1.85; margin-bottom: 30px; }

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

.contact-icon { width: 48px; height: 48px; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.3s; }
.contact-item:hover .contact-icon { background: var(--teal); }
.contact-icon svg { width: 20px; height: 20px; fill: var(--gold); }

.contact-item-text a, .contact-item-text span { color: var(--text-dark); text-decoration: none; font-size: var(--font-base); display: block; transition: color 0.3s; }
.contact-item-text a:hover { color: var(--navy); }
.contact-item-text .label { font-size: 10px; color: var(--teal); text-transform: uppercase; letter-spacing: 1.5px; font-family: 'Raleway', sans-serif; font-weight: 700; margin-bottom: 4px; }

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

.social-btn { display: flex; align-items: center; gap: 8px; padding: 10px 18px; text-decoration: none; font-family: 'Raleway', sans-serif; font-size: 12px; font-weight: 700; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px; }
.social-btn.whatsapp  { background: #25d366; color: var(--white); }
.social-btn.facebook  { background: #1877f2; color: var(--white); }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: var(--white); }
.social-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.20); opacity: 0.9; }
.social-btn svg { width: 18px; height: 18px; fill: var(--white); }

.contact-form { background: var(--white); padding: 42px; box-shadow: 0 8px 36px rgba(26,35,126,0.09); border-top: 4px solid var(--gold); }
.contact-form h3 { font-family: 'Raleway', sans-serif; font-size: 20px; color: var(--navy); font-weight: 800; margin-bottom: 26px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 11px; font-family: 'Raleway', sans-serif; color: var(--navy); font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }

.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 2px solid #d8e4f0; font-family: 'Lato', sans-serif; font-size: var(--font-base); color: var(--text-dark); background: var(--white); transition: border-color 0.3s ease; outline: none; appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { height: 130px; resize: vertical; }

.form-submit { width: 100%; background: var(--navy); color: var(--white); border: none; padding: 16px; font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 2.5px; cursor: pointer; transition: all 0.3s ease; }
.form-submit:hover { background: var(--coral); color: var(--white); }

.form-message { margin-top: 15px; padding: 12px 15px; font-size: 13px; display: none; }
.form-message.success { background: #e8f5e9; color: #2e7d32; border-left: 3px solid #4caf50; display: block; }
.form-message.error   { background: #ffebee; color: #c62828; border-left: 3px solid #f44336; display: block; }

/* ===================================================
   FOOTER - White for JPG logo
   =================================================== */

footer { background: var(--white); color: var(--text-dark); padding: 55px 0 25px; border-top: 3px solid var(--gold); }

.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }

.footer-brand img { height: 50px; margin-bottom: 20px; }
.footer-brand p { color: var(--text-medium); line-height: 1.75; font-size: 13px; max-width: 280px; }

.footer-col h4 { color: var(--navy); font-family: 'Raleway', sans-serif; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-medium); text-decoration: none; font-size: 13px; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--coral); }

.footer-bottom { border-top: 1px solid #e2e8f0; margin-top: 44px; padding-top: 20px; text-align: center; color: var(--text-medium); font-size: 12px; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 40px; padding-right: 40px; }
.footer-bottom span { color: var(--gold); font-weight: 700; }

/* ===================================================
   ANIMATIONS
   =================================================== */

@keyframes fadeInLeft  { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px);  } to { opacity: 1; transform: translateX(0); } }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===================================================
   RESPONSIVE
   =================================================== */

@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-image { order: 1; justify-content: center; }
  .hero-text  { order: 2; }
  .hero-image-wrapper { width: 300px; height: 360px; }
  .hero-buttons { justify-content: center; }
  .stat-item { text-align: center; }
  .portfolio-bio { grid-template-columns: 1fr; gap: 40px; }
  .portfolio-image-col { justify-content: center; order: 1; }
  .portfolio-content { order: 2; }
  .contact-inner { grid-template-columns: 1fr; }
  .services-grid, .blog-grid, .works-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  #topbar { padding: 0 20px; }
  nav { display: none; position: fixed; top: var(--topbar-height); left: 0; width: 100%; background: var(--white); border-top: 1px solid #e2e8f0; flex-direction: column; padding: 20px; gap: 5px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  nav.open { display: flex; }
  nav a { padding: 12px 20px; width: 100%; border-bottom: 1px solid #f0f0f0; }
  .menu-toggle { display: flex; }
  .services-grid, .blog-grid, .works-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .container { padding: 0 20px; }
  .hero-text h1 { font-size: 32px; }
  .social-links { flex-wrap: wrap; }
  .contact-form { padding: 24px; }
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Footer 4-column layout + contact list */
.footer-inner {
  grid-template-columns: 2fr 1fr 1fr 1.4fr !important;
}

.footer-contact-list { list-style: none; }

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-list li svg {
  width: 16px; height: 16px;
  fill: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-list li a {
  color: var(--text-medium);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
  word-break: break-all;
}

.footer-contact-list li a:hover { color: var(--coral); }

@media (max-width: 992px) {
  .footer-inner { grid-template-columns: 1fr 1fr !important; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr !important; }
}

/* ================================================
   SERVICE DETAILS MODAL
   ================================================ */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-modal.open {
  visibility: visible;
  opacity: 1;
}

.service-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 30, 0.75);
  backdrop-filter: blur(4px);
}

.service-modal-content {
  position: relative;
  background: var(--navy);
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: 10px;
  max-width: 480px;
  width: 90%;
  padding: 40px 32px;
  text-align: center;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.service-modal.open .service-modal-content {
  transform: translateY(0) scale(1);
}

.service-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s;
}

.service-modal-close:hover { color: var(--gold); }

.service-modal-icon {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: rgba(201,162,39,0.12);
}

.service-modal-icon svg { width: 28px; height: 28px; fill: var(--gold); }

.service-modal-content h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 14px;
}

.service-modal-content p {
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 26px;
}

.service-modal-choose {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
}

@media (max-width: 600px) {
  .service-modal-content { padding: 32px 22px; }
}
