/* ---------- ROOT & THEME ---------- */
:root {
  --bg:#BDDDFC;
  --primary:#6A89A7;
  --soft:#BDDDFC;
  --accent:#2b5e92;
  --dark:#384959;
  --muted:#2f70ae;
  --white:#ffffff;
  --container:1200px;
}

/* ---------- RESET & BASE ---------- */
* {
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html {
  scroll-behavior:smooth;
}

body {
  font-family:Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background:linear-gradient(180deg,var(--bg) 0%, rgba(235,243,250,0.6) 100%);
  color:var(--dark);
  line-height:1.5;
}

/* ---------- CONTAINER ---------- */
.container {
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

/* ---------- HEADER ---------- */
.site-header {
  position:sticky;
  top:0;
  z-index:60;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(56,73,89,0.06);
}

.header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

.brand a {
  display:flex;
  align-items:center;
  text-decoration:none;
}

.brand img.logo {
  height:50px;
  width:auto;
  margin-right:10px;
}

.brand-name {
  font-weight:700;
  color:var(--dark);
  letter-spacing:1px;
  font-size:20px;
}

/* Navigation - Instagram style */
.main-nav {
  display:flex;
  align-items:center;
  gap:24px;
}

.main-nav a {
  color:var(--dark);
  text-decoration:none;
  font-weight:500;
  font-size:15px;
  transition:all 0.3s ease;
  padding:8px 0;
  position:relative;
}

.main-nav a:hover {
  color:var(--accent);
}

.main-nav a::after {
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:0;
  height:2px;
  background:var(--accent);
  transition:width 0.3s ease;
}

.main-nav a:hover::after {
  width:100%;
}

/* Contact Us button styling */
.nav-contact {
  background:var(--dark);
  color:white !important;
  padding:8px 18px !important;
  border-radius:20px;
  font-weight:500;
}

.nav-contact:hover {
  background:var(--accent) !important;
  color:white !important;
  transform:translateY(-2px);
}

.nav-contact::after {
  display:none;
}

/* ---------- HERO ---------- */
.hero {
  padding:80px 0 60px;
}

.hero-grid {
  display:grid;
  grid-template-columns:1fr 520px;
  gap:40px;
  align-items:center;
}

.hero-left {
  padding-right:20px;
}

.hero-title {
  font-size:48px;
  line-height:1.06;
  margin-bottom:18px;
}

.hero-title .highlight {
  color:var(--accent);
  padding-left:6px;
}

.hero-desc {
  color:var(--muted);
  max-width:680px;
  margin-bottom:20px;
}

.hero-ctas .btn {
  margin-right:12px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display:inline-block;
  padding:12px 18px;
  border-radius:8px;
  border:0;
  cursor:pointer;
  text-decoration:none;
  transition:all 0.3s;
}

.btn:hover {
  transform:translateY(-2px);
}

.primary { background:var(--dark); color:white; }
.ghost   { background:transparent; border:1px solid rgba(56,73,89,0.08); color:var(--dark); }
.small   { padding:8px 12px; border-radius:6px; }

/* ---------- ARCH IMAGE ---------- */
.arch-wrap {
  display:flex;
  justify-content:center;
  align-items:center;
}

.arch-frame {
  width:420px;
  height:520px;
  border-radius:220px 220px 60px 60px / 260px 260px 30px 30px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.02));
  box-shadow: 0 12px 35px rgba(56,73,89,0.12);
  border:8px solid rgba(255,255,255,0.6);
  position:relative;
}

.arch-frame img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:translateY(0);
  transition:transform 1s ease, opacity 0.8s ease;
  opacity:1;
}

/* ---------- INDICATORS ---------- */
.hero-indicators {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:18px;
}

.ind-left {
  display:flex;
  gap:18px;
}

.ind-num {
  font-weight:600;
  color:var(--dark);
  font-size:14px;
  opacity:0.8;
  cursor:pointer;
}

.ind-num.active {
  color:var(--dark);
  border-bottom:3px solid var(--accent);
  padding-bottom:6px;
}

.ind-bar {
  flex:1;
  margin-left:16px;
  height:3px;
  background:rgba(56,73,89,0.06);
  position:relative;
  border-radius:4px;
}

.ind-bar span {
  position:absolute;
  left:0;
  top:0;
  height:100%;
  width:0;
  background:linear-gradient(90deg,var(--accent),var(--soft));
  border-radius:4px;
  transition:width 450ms linear;
}

/* ---------- SECTIONS ---------- */
.section {
  padding:70px 0;
}

.about p {
  color:var(--muted);
}

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px,1fr));
  gap:18px;
  margin-top:20px;
}

.service-card {
  background:white;
  padding:20px;
  border-radius:10px;
  box-shadow:0 6px 20px rgba(56,73,89,0.06);
  min-height:220px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:center;
  transition:transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform:translateY(-5px);
  box-shadow:0 12px 28px rgba(56,73,89,0.12);
}

.service-card img {
  width:100%;
  height:140px;
  object-fit:cover;
  border-radius:8px;
  margin-bottom:12px;
}

.service-card h3 {
  margin-bottom:8px;
  text-align:center;
}

.service-card p {
  text-align:center;
  color:var(--muted);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px 0;
  scroll-behavior: smooth;
  perspective: 1000px;
}

.testimonial-card {
  flex: 0 0 300px;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  min-height: 180px;
  transform-style: preserve-3d;
  transition: transform 0.5s;
}

.testimonial-card:hover {
  transform: rotateY(15deg) rotateX(5deg) scale(1.05);
}

.testimonials-wrapper::-webkit-scrollbar {
  display: none;
}
.testimonials-wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ---------- STATS ---------- */
.stats-grid {
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: #6A0DAD;
}

.stat-item p {
  font-size: 1rem;
  color: #333;
}

/* ---------- CAREERS ---------- */
.careers-grid {
  display:flex;
  gap:16px;
  margin-top:14px;
  flex-wrap:wrap;
}

.job-card {
  background:white;
  padding:16px;
  border-radius:8px;
  box-shadow:0 6px 20px rgba(56,73,89,0.06);
  flex:1;
  min-width:180px;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display:grid;
  grid-template-columns:1fr 420px;
  gap:26px;
}

.contact-form label {
  display:block;
  margin-bottom:12px;
}

.contact-form input,
.contact-form textarea {
  width:100%;
  padding:10px;
  border-radius:6px;
  border:1px solid rgba(56,73,89,0.08);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background:linear-gradient(180deg, rgba(56,73,89,0.03), rgba(56,73,89,0.02));
  padding:30px 0;
  margin-top:30px;
  border-top:1px solid rgba(56,73,89,0.04);
}

.footer-grid {
  display:flex;
  gap:40px;
  justify-content:space-between;
  align-items:flex-start;
  flex-wrap:wrap;
}

.footer-nav a {
  display:block;
  color:var(--muted);
  text-decoration:none;
  margin-bottom:6px;
}

.copyright {
  display:block;
  margin-top:18px;
  color:var(--muted);
  font-size:13px;
  text-align:center;
}

/* ---------- MODAL ---------- */
.modal {
  display:none;
  position:fixed;
  inset:0;
  z-index:120;
  align-items:center;
  justify-content:center;
}

.modal[aria-hidden="false"] {
  display:flex;
}

.modal-backdrop {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(8,20,30,0.55), rgba(8,20,30,0.6));
}

.modal-panel {
  position:relative;
  background:white;
  max-width:820px;
  width:94%;
  padding:28px;
  border-radius:12px;
  box-shadow:0 20px 60px rgba(8,20,30,0.55);
  z-index:2;
}

.modal-close {
  position:absolute;
  right:14px;
  top:12px;
  border:0;
  background:transparent;
  font-size:20px;
  cursor:pointer;
}

.modal-actions {
  margin-top:18px;
  display:flex;
  gap:12px;
}

.modal-panel ul {
  margin-top:12px;
  list-style:disc;
  padding-left:20px;
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity:0;
  transform:translateY(30px);
  transition:all 0.7s ease-out;
}

.fade-up.show {
  opacity:1;
  transform:translateY(0);
}

/* ---------- HOVER EFFECTS ---------- */

/* Buttons */
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
  background-color: var(--accent);
  color: var(--white);
}

/* Cards / Service Cards */
.service-card:hover, .job-card:hover, .portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(56,73,89,0.15);
}

/* Images */
.arch-frame img:hover, .service-card img:hover {
  transform: scale(1.05);
  filter: brightness(1.05);
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Links */
a:hover, .footer-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  transition: all 0.3s ease;
}

/* Stats numbers hover */
.stat-item h3:hover {
  color: var(--accent);
  transform: scale(1.1);
  transition: all 0.3s ease;
}

/* Testimonials 3D hover */
.testimonial-card:hover {
  transform: rotateY(15deg) rotateX(5deg) scale(1.06);
  box-shadow: 0 14px 28px rgba(0,0,0,0.15);
}

/* Modal buttons hover */
.modal-actions .btn:hover {
  background-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ---------- RESPONSIVE ---------- */

/* Responsive for small screens - Brand */
@media (max-width:480px) {
  .brand img.logo { height:32px; }
  .brand-name { font-size:16px; }
}

/* 1024px */
@media (max-width:1024px) {
  .hero-grid { 
    grid-template-columns:1fr 420px; 
    gap:18px; 
  }
  .hero-title { font-size:40px; }
  .arch-frame { width:360px; height:420px; }
}

/* 820px TABLET */
@media (max-width:820px) {

  /* Navigation stacks vertically on tablet */
  .main-nav {
    gap:16px;
  }

  .main-nav a {
    font-size:14px;
  }

  /* HERO */
  .hero-grid { 
    grid-template-columns:1fr; 
    gap:28px; 
    padding-bottom:10px; 
    text-align:center;
  }

  .arch-frame { 
    width:320px; 
    height:380px; 
    margin:0 auto; 
  }

  /* CONTACT */
  .contact-grid { grid-template-columns:1fr; }

  /* FOOTER */
  .footer-grid { 
    flex-direction:column; 
    gap:18px; 
    text-align:center;
  }

}

/* 600px - Mobile Navigation becomes vertical */
@media (max-width:600px) {
  
  .header-inner {
    flex-direction:column;
    gap:12px;
    padding:12px 0;
  }

  .main-nav {
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
  }

  .main-nav a {
    font-size:13px;
    padding:6px 0;
  }

  .nav-contact {
    padding:6px 14px !important;
    font-size:13px;
  }

  .brand-name {
    font-size:18px;
  }

}

/* 480px PHONES */
@media (max-width:480px) {
  .hero-title { font-size:28px; }
  .arch-frame { width:260px; height:320px; }

  .main-nav {
    gap:8px;
  }

  .main-nav a {
    font-size:12px;
  }

  .nav-contact {
    padding:5px 12px !important;
    font-size:12px;
  }

}

