:root {
  --color-bg: #f8fafc;
  --color-text: #1a202c;
  --color-text-secondary: #4b5563;
  --color-card-bg: #fff;
  --color-card-border: rgba(37,99,235,0.08);
  --color-link: #2563eb;
  --color-link-hover: #a855f7;
}

html, body, * { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 { font-weight: 700; color: #18181b; letter-spacing: -0.5px; }
.section { padding: 100px 0; width: 100%; box-sizing: border-box; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-title, .heading-large { text-align: center; font-size: 2.25rem; margin-bottom: 0.75rem; }
.section-subtitle { text-align: center; font-size: 1.25rem; color: #4b5563; margin-bottom: 2.2rem; font-weight: 400; max-width: 800px; margin-top: -0.5rem; margin-left: auto; margin-right: auto; }

/* HERO */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: #fff;
  color: #0366d6;
  padding: 8px 16px;
  z-index: 1000;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  transition: left 0.2s;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  outline: 2px solid #0366d6;
}

.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #581c87 50%, #0f172a 100%);
  overflow: hidden;
}
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  
  opacity: 0.10; z-index: 1; pointer-events: none;
}
.hero-content { position: relative; z-index: 10; max-width: 1200px; margin: auto; padding: 0 1rem; text-align: center; color: #fff; width: 100%; }
.hero-icons-row { display: flex; justify-content: center; margin-bottom: 2rem; gap: 1.5rem; }
.hero-icon-blur { padding: 0.75rem; background: rgba(255,255,255,0.10); border-radius: 9999px; backdrop-filter: blur(4px); display: inline-flex; align-items: center; justify-content: center; }
.hero-icon-blur i { font-size: 2rem; color: #fff; }
.hero-heading {
  font-size: 2.75rem; font-weight: 600;
  background: linear-gradient(to right, #fff, #d1d5db);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; color: transparent; line-height: 1.1;
  margin-bottom: 2rem;
}
@media (max-width: 480px) {
  .hero {
    min-height: 100vh !important; /* keep background full page */
    align-items: flex-start !important; /* move content to top */
  }
  .hero-content {
    padding-top: 25vh !important; /* add space from top */
    padding-bottom: 0 !important;
    margin-top: 0 !important;
  }
}

.hero-subheading { font-size: 1.5rem; color: #d1d5db; margin: 1.5rem auto 2rem; max-width: 800px; font-weight: 400; line-height: 1.15; }
.hero-buttons-row { display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: center; }
@media (min-width: 640px) { .hero-buttons-row { flex-direction: row; gap: 1.2rem; } }
.hero-btn-primary, .hero-btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; padding: 0 1.5rem; border-radius: 0.5rem;
  text-decoration: none; cursor: pointer; height: 48px; min-width: 180px; box-sizing: border-box;
}
.hero-btn-primary { background: #fff; color: #000; border: 1.5px solid transparent; box-shadow: 0 2px 8px rgba(75,0,130,0.08);}
.hero-btn-primary:hover { background: #f3f4f6; }
.hero-btn-outline { border: 1.5px solid #fff; color: #fff; background: transparent; transition: background 0.2s, color 0.2s; }
.hero-btn-outline:hover { background: #fff; color: #000; }
.hero-nav-link {
  position: relative; display: inline-block; color: #fff; text-decoration: none; font-weight: 600; transition: color 0.2s; padding-bottom: 2px;
}
.hero-nav-link::after {
  content: ""; display: block; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: linear-gradient(90deg, #2563eb 60%, #a855f7 100%); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.hero-nav-link:hover, .hero-nav-link:focus { color: #a855f7; }
.hero-nav-link:hover::after, .hero-nav-link:focus::after { transform: scaleX(1); }
@media (max-width: 480px) {
  .hero-btn-primary, .hero-btn-outline {
    font-size: 0.5rem !important;
    min-width: 100px !important;
    padding: 0 1rem !important;
    height: 40px !important;
    display: inline-flex !important;
  }
  .hero-buttons-row {
    flex-direction: row !important;
    gap: 0.7rem !important;
  }
}
@media (max-width: 480px) {
  .break-mobile {
    display: block;
  }
}


/* ABOUT */
.about-image { border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,0.08); overflow: hidden; }
.about-image img { width: 100%; height: 400px; object-fit: cover; transition: transform 0.3s; }
.about-image:hover img { transform: scale(1.05); }
.about-text { font-size: 1.1rem; line-height: 1.6; color: #4b5563; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.service-card {
  background: var(--color-card-bg); padding: 2.5rem; border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); text-align: center; transition: all 0.3s;
  border: 1px solid var(--color-card-border);
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1); border-color: rgba(37, 99, 235, 0.2);}
.service-icon {
  font-size: 2.5rem; color: var(--color-link); margin-bottom: 1.5rem; background: #f1f5f9;
  border-radius: 50%; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem auto;
  box-shadow: 0 2px 8px rgba(37,99,235,0.07);
}
.service-card h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; color: #18181b; }
.service-card p { color: var(--color-text-secondary); line-height: 1.7; }
.services-grid ul { list-style: none; padding-left: 0; margin-top: 1.2em; }
.services-grid ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.45em;
  margin-bottom: 0.15em;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #4b5563;
  font-weight: 400;
}
.services-grid ul li i {
  color: #22c55e;
  min-width: 1.1em;
  font-size: 1em;
  margin-right: 0;
  line-height: 1.2;
  margin-top: 0.15em;
}

/* GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(355px, 1fr)); gap: 2rem; margin-top: 3rem; }
.gallery-item {
  position: relative; overflow: hidden; border-radius: 6px; cursor: pointer; transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08); display: flex; flex-direction: column; align-items: stretch; min-height: 400px;
}
.gallery-item img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.3s; display: block; border-radius: 6px 6px 0 0; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-caption { text-align: center; padding: 1rem 0 0.5rem 0; margin-top: 1rem; }
.gallery-caption h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.3rem; color: #18181b; }
.gallery-caption p { font-size: 1rem; color: #4b5563; }

/* LIGHTBOX */
.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); display: flex; align-items: center; justify-content: center; z-index: 9999; opacity: 0; visibility: hidden; transition: all 0.3s; }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-content { max-width: 90%; max-height: 90%; position: relative; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; }
.lightbox-close { position: absolute; top: -50px; right: 0; background: none; border: none; color: white; font-size: 2rem; cursor: pointer; }
.lightbox-close:hover { color: #a855f7;}

/* CONTACT */
.contact-container { margin-top: -30px; padding: 0 2rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2.5rem; }
.contact-info { text-align: left; max-width: 800px;  }
.contact-info h3.font-bold.mb-6 {font-size: 1.65rem;}
.contact-card { width: 700px; max-width: 100%; background: #fff; border-radius: 0.75rem; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.card-header { padding: 1.2rem 1.2rem 0 1.2rem; }
.card-title { font-size: 1.5rem; font-weight: 700; color: #18181b; }
.card-content { padding: 1.2rem; }

/* CONTACT FORM LAYOUT - Desktop only (laptop and above) */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; width: 100%; margin-bottom: 0; }
.form-row-single { display: grid; grid-template-columns: 1fr; margin-bottom: 0; }
.form-row-message { display: grid; grid-template-columns: 1fr; margin-bottom: 0; }

.input, .textarea {
  width: 100%; padding: 0.75rem; border: 2px solid #e5e7eb; border-radius: 0.5rem; font-size: 1rem; background: #fff; color: #18181b; margin-bottom: 0;
  transition: border-color 0.3s; box-sizing: border-box;
}
.input:focus, .textarea:focus { outline: none; border-color: #0f0f0f; }
.input::placeholder, .textarea::placeholder { color: #b0b0b0; }

.textarea {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  resize: vertical;
  min-height: 120px;
}

.btn {
  background: #18181b; color: #fff; padding: 0.85rem 2rem; border: none; border-radius: 5px; font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: all 0.3s; box-shadow: 0 10px 30px rgba(37,99,235,0.1); width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 0.5rem;
}
.btn:hover { background: #000; transform: translateY(-2px); box-shadow: 0 15px 40px rgba(37,99,235,0.15);}

/* Contact Form Styling */
.contact-card .card-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row > div {
  display: flex;
  flex-direction: column;
}

/* FOOTER */
.footer-brand { flex: 1 1 260px; min-width: 220px; margin-left: -40px; }
@media (max-width: 900px) { .footer-brand { margin-left: 0; } }

@media (max-width: 1024px) {
  .about-content, .services-grid, .gallery-grid, .contact-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .hero-heading { font-size: 2.5rem !important; }
  .hero-subheading { font-size: 1.1rem !important; }
  .hero-btn-primary, .hero-btn-outline { min-width: 140px !important; padding: 0.5rem 1.5rem !important; font-size: 0.9rem !important; }
}
@media (max-width: 768px) {
  .hero-heading { font-size: 2.1rem !important; }
  .hero-subheading { font-size: 1rem !important; }
  .hero-icon-blur i { font-size: 1.2rem !important; }
  .section { padding: 60px 0 !important; }
  .section-inner { padding-left: 1rem !important; padding-right: 1rem !important; }
  .footer-content { padding: 0 1rem !important; }
  .contact-card { width: 100% !important; }
  
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  
  .contact-card .card-content form {
    gap: 0.75rem !important;
  }
}

/* Mobile form layout - Keep single column for mobile */
@media (max-width: 700px) {
  .form-row { grid-template-columns: 1fr !important; }
  .form-row-single { grid-template-columns: 1fr !important; }
  .form-row-message { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 2.4rem !important;
  }
  .hero-heading .break-mobile {
    font-size: 1.3rem !important;
  }
  
  .hero-tagline { font-size: 1.9rem !important; }
  .hero-subheading { font-size: 1.2rem !important; }
  .hero-nav-link { font-size: 1.0rem !important; }
  .hero-btn-primary, .hero-btn-outline { font-size: 1rem !important; }
  .hero-icons-row { gap: 1rem !important; }
  .service-card { padding: 1.5rem !important; }
  .about-image img { height: auto !important; }
}
@media (max-width: 480px) {
  .hero-heading .break-mobile {
    display: block;
    margin-top: 0.5em;
  }
}
.main-section:nth-of-type(odd) { background: #f8fafc; }
.main-section:nth-of-type(even) { background: #fff; }

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
    row-gap: 0 !important;
    padding: 0 1rem !important;
  }
  .footer-brand, nav[aria-label^="Footer"] {
    min-width: unset !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
  .footer-social {
    justify-content: center !important;
    margin-top: 1.5rem !important;
    gap: 1.3rem !important;
  }
  .footer-brand > div,
  .footer-brand > .footer-social,
  nav[aria-label^="Footer"] > div,
  nav[aria-label^="Footer"] > a {
    text-align: center !important;
    margin-left: 0 !important;
  }
  nav[aria-label^="Footer"] > div {
    margin-top: 1.5rem !important;
    margin-bottom: 0.5rem !important;
  }
}

/* --- NAVIGATION: Desktop and Hamburger Mobile Styles --- */

/* Show desktop nav by default, hide mobile nav on desktop */
.desktop-nav { display: block; }
.mobile-nav { display: none; }

/* Hamburger menu/overlay: Only on mobile */
@media (max-width: 768px) {
  .desktop-nav { display: none !important; }
  .mobile-nav { display: block !important; position: absolute; top: 50px; right: 30px; z-index: 40; }

  .mobile-nav-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    z-index: 55;
    position: relative;
  }
  .hamburger {
    position: relative;
    display: block;
    width: 28px;
    height: 3.5px;
    background: #fff;
    border-radius: 2px;
    transition: background 0.3s;
  }
  .hamburger::before,
  .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 28px;
    height: 3.5px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
  }
  .hamburger::before {
    top: -10px;
  }
  .hamburger::after {
    top: 10px;
  }
  .mobile-nav.open .hamburger {
    background: transparent;
  }
  .mobile-nav.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }
  .mobile-nav.open .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
  }

  /* MOBILE NAV MENU WHITE AND NO BULLETS */
  .mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    background: #fff !important;
    list-style: none;
    position: absolute;
    top: 48px;
    right: -12px;
    border-radius: 8px;
    padding: 1.4rem 2.2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    z-index: 45;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .mobile-nav.open .mobile-nav-menu {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .mobile-nav-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mobile-nav-menu li a {
    color: #18181b !important;
    background: none !important;
    font-weight: 600;
    border-radius: 5px;
    padding: 0.6em 1em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    display: block;
  }
  .mobile-nav-menu li a:hover,
  .mobile-nav-menu li a:focus {
    background: #a855f7 !important;
    color: #fff !important;
  }
}

.contact-info p {
  margin-top: 0.6rem;
  margin-bottom: 2rem;
}
@media (max-width: 480px) {
  .contact-info p {
    line-height: 1.2 !important;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .hide-on-mobile {
    display: none !important;
  }
}
@media (max-width: 480px) {
  .contact-info span[style*="font-size:1rem;"]:nth-child(2) {
    display: block;
    margin-top: 0.7rem;
  }
}
@media (max-width: 480px) {
  .contact-detail-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.7rem !important;
    margin-bottom: 0.4rem !important;
  }
  .contact-label {
    margin-top: 0.5rem !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }
  .contact-email,
  .contact-phone {
    margin-top: 0.15rem !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }
  .fa-envelope,
  .fa-phone {
    margin-top: -2px !important;
    vertical-align: middle !important;
  }
}
@media (max-width: 480px) {
  .contact-email {
    margin-top: 0.5rem !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }
}
@media (max-width: 480px) {
  .contact-phone {
    margin-top: 0.1rem !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }
}
@media (max-width: 480px) {
  .contact-info h3.font-bold.mb-6 {
    margin-bottom: 1.1rem !important;
  }
}