*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green:        #27ae60;
  --green-light:  #2ecc71;
  --green-dark:   #1e8449;
  --navy:         #0b2c5f;
  --dark:         #0d1117;
  --dark-2:       #161b22;
  --text:         #333333;
  --text-muted:   #555555;
  --bg:           #f4f7fb;
  --white:        #ffffff;
  --border:       rgba(255, 255, 255, 0.18);
  --shadow-sm:    0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-md:    0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-lg:    0 24px 60px rgba(0, 0, 0, 0.18);
  --radius:       16px;
  --radius-sm:    8px;
  --ease:         0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.menu-open { overflow: hidden; }

#app { flex: 1; }

img    { max-width: 100%; height: auto; display: block; }
a      { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul  {
    list-style: none;
    padding-left: 0;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--dark);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6%;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.second-logo { opacity: 0.88; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #d0d8e4;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
  display: inline-block;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(39, 174, 96, 0.18);
}

.nav-link.active { color: var(--green-light); }

.dropdown { position: relative; }

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #d0d8e4;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
}

.dropdown-toggle:hover { color: var(--white); background: rgba(39, 174, 96, 0.18); }

.chevron {
  font-size: 10px;
  display: inline-block;
  transition: transform var(--ease);
}

.dropdown-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--dark-2);
  min-width: 220px;
  border-radius: var(--radius-sm);
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 10;
}

.dropdown-content.open {
  display: block;
  animation: dropDown 0.2s ease;
}

@keyframes dropDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: #c8d0dc;
  border-radius: 6px;
  transition: background var(--ease), color var(--ease);
}

.dropdown-item:hover,
.dropdown-item.active {
  background: rgba(39, 174, 96, 0.2);
  color: var(--green-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 5px;
  border-radius: 6px;
  transition: background var(--ease);
  flex-shrink: 0;
}

.hamburger:hover { background: rgba(255, 255, 255, 0.1); }

.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 850;
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#mobile-menu.open { opacity: 1; pointer-events: all; }

.mob-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--white);
  font-size: 24px;
  padding: 8px;
  border-radius: 50%;
  transition: background var(--ease);
}

.mob-close:hover { background: rgba(255, 255, 255, 0.1); }

.mob-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 320px;
  padding: 0 24px;
}

.mob-link {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #d0d8e4;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  text-align: center;
  width: 100%;
  display: block;
  transition: background var(--ease), color var(--ease);
}

.mob-link:hover,
.mob-link.active {
  background: rgba(39, 174, 96, 0.2);
  color: var(--green-light);
}

.hero { position: relative; background: var(--dark); }

.hero-inner {
  position: relative;
  height: clamp(260px, 45vw, 480px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}

.hero-slide.active { opacity: 1; z-index: 2; }

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  z-index: 3;
  width: 90%;
  max-width: 700px;
  opacity: 0;
}

.hero-slide.active .slide-content {
  opacity: 1;
  animation: textUp 1s ease forwards;
}

.slide-content h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 4.5vw, 46px);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.slide-content p {
  font-size: clamp(14px, 2vw, 20px);
  opacity: 0.9;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

@keyframes textUp {
  from { opacity: 0; transform: translate(-50%, -44%); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s, width 0.3s, border-radius 0.3s;
  padding: 0;
}

.hero-dot.active {
  background: var(--green-light);
  width: 24px;
  border-radius: 4px;
}

.services-section {
  padding: clamp(50px, 8vw, 100px) 6%;
  background: var(--bg);
  text-align: center;
}

.section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 3.5vw, 32px);
  color: var(--navy);
  margin-bottom: clamp(30px, 5vw, 55px);
  font-weight: 700;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(20px, 3vw, 36px);
  max-width: 1300px;
  margin: 0 auto;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-image {
  overflow: hidden;
  height: 140px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease);
}

.service-card:hover .service-image img { transform: scale(1.06); }

.service-content {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-content h3 {
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  color: var(--green);
  font-weight: 600;
}

.service-content p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact {
  background: var(--navy);
  padding: clamp(50px, 8vw, 80px) 6%;
}

.contact-inner {
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  color: var(--white);
  animation: cReveal 0.9s ease forwards;
  opacity: 0;
}

.contact-inner h2 {
  font-family: 'Sora', sans-serif;
  text-align: center;
  margin-bottom: 24px;
  font-size: clamp(20px, 3vw, 26px);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0;
  font-size: 15px;
}

.icon {
  font-size: 20px;
  min-width: 26px;
  line-height: 1.5;
}

.social-row {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border);
  font-size: 17px;
  color: var(--white);
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@keyframes cReveal {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.inner-page {
  padding: clamp(40px, 6vw, 90px) 6%;
  background: #f8fafc;
}

.about-container {
  display: grid;
  grid-template-columns: 65% 1fr;
  gap: clamp(30px, 4vw, 55px);
  align-items: start;
  background: var(--white);
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-width: 1100px;
  margin: 0 auto;
  transition: transform var(--ease), box-shadow var(--ease);
}

.about-container:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.about-text h3 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--green-dark);
  margin: 22px 0 12px;
  font-weight: 600;
}

.about-text h3:first-child {
  margin-top: 0;
  color: var(--green-dark);
  font-size: clamp(20px, 3vw, 28px);
}

.about-text p {
  font-size: clamp(14px, 1.6vw, 16px);
  color: #3a4252;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-text .intro-text {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--green);
  font-weight: 500;
}

.about-text .closing-text {
  font-weight: 500;
  color: var(--green-dark);
}

.feature-list {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
}

.feature-list li{
    padding: 8px 8px;
    border-left: none;
    margin-bottom: 10px;
    background: none;
}

.feature-list li:hover { background: transparent; }

.about-image {
  position: sticky;
  top: 100px;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

#site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.footer-inner {
  padding: 20px 6%;
  font-size: 14px;
}

#dev-panel {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  background: rgba(13, 17, 23, 0.96);
  border: 1px solid var(--green);
  border-radius: 12px;
  padding: 20px 24px;
  color: var(--white);
  font-family: 'DM Sans', monospace;
  font-size: 13px;
  min-width: 240px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#dev-panel.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

#dev-panel .dp-title {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

#dev-panel .dp-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.75);
}

#dev-panel .dp-row span:first-child {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#dev-panel .dp-row span:last-child {
  color: var(--green-light);
  font-weight: 500;
}

#dev-panel .dp-hint {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

@media (max-width: 900px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .about-container { grid-template-columns: 1fr; }
  .about-image { position: static; max-width: 380px; margin: 0 auto; width: 100%; }
}

@media (max-width: 600px) {
  .header-inner      { padding: 12px 5%; }
  .logo-img          { height: 32px; }
  .hero-inner        { height: clamp(200px, 55vw, 320px); }
  .services-section  { padding: 40px 5%; }
  .services-grid     { grid-template-columns: 1fr; gap: 16px; }
  .contact           { padding: 40px 5%; }
  .contact-inner     { padding: 24px 18px; }
  .inner-page        { padding: 30px 5%; }
  .about-container   { padding: 22px 16px; gap: 20px; }
  #dev-panel         { bottom: 16px; right: 16px; min-width: 200px; }
}

@media (min-width: 1400px) {
  .header-inner     { padding: 16px 8%; }
  .services-section { padding: 110px 8%; }
  .contact          { padding: 90px 8%; }
  .inner-page       { padding: 100px 8%; }
}

#dev-panel .dp-gate,
#dev-panel .dp-key-input {
  margin-top: 12px;
  width: 100%;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: var(--white);
  font-size: 12px;
  outline: none;
  transition: border 0.2s;
}

#dev-panel .dp-gate:focus,
#dev-panel .dp-key-input:focus {
  border-color: var(--green);
}

#dev-panel .dp-override {
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

#dev-panel .dp-apply {
  margin-top: 8px;
  width: 100%;
  padding: 8px;
  background: rgba(39, 174, 96, 0.15);
  border: 1px solid rgba(39, 174, 96, 0.35);
  border-radius: 6px;
  color: var(--green-light);
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

#dev-panel .dp-apply:hover {
  background: rgba(39, 174, 96, 0.3);
}
