/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: white;
  line-height: 1.6;
}

/* ---------- NAV ---------- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 85px;                /* FIXED HEIGHT */
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
}

nav a {
  text-decoration: none;
  color: #cbd5e1;
  margin-left: 25px;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #38bdf8;
}

/* ---------- HERO ---------- */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8%;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero-content {
  max-width: 650px;
  margin: 80px auto 0 auto;   /* auto left & right centers it */
  text-align: center;         /* centers the text */
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: #94a3b8;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 14px 20px;
  width: fit-content;
  background: #339fce;
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.btn:hover {
  background: white;
}

/* ---------- SECTION ---------- */
.section {
  padding: 100px 8%;
}

.section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 60px;
}

/* ---------- SERVICES ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: #1e293b;
  padding: 40px;
  border-radius: 10px;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  background: #334155;
}

.card h3 {
  margin-bottom: 15px;
}

.card p {
  color: #94a3b8;
}

/* ---------- ABOUT ---------- */
.about {
  background: #111827;
  text-align: center;
}

/* ---------- FOOTER ---------- */
footer {
  background: #0b1220;
  padding: 60px 8%;
  text-align: center;
  color: #64748b;
}

footer strong {
  color: white;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
  }
}

/* ----- LOGO IMAGE ----- */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 100px;   /* Adjust if needed */
  width: auto;
}

/* -------- HERO SLIDER -------- */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slides {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* Dark overlay for readability */
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

/* Hero Text */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #cbd5e1;
}

/* ----- CONTACT PAGE UPGRADE ----- */

.contact-section {
  padding: 120px 8%;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* LEFT SIDE */
.contact-info h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.contact-info p {
  color: #94a3b8;
  margin-bottom: 40px;
  max-width: 400px;
}

.info-item {
  margin-bottom: 25px;
}

.info-item strong {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.info-item span {
  color: #94a3b8;
}

/* RIGHT SIDE */
.contact-form-box {
  background: #1e293b;
  padding: 50px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.input-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  border: 1px solid #334155;
  background: #0f172a;
  color: white;
  font-family: 'Inter', sans-serif;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #38bdf8;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* ABOUT PAGE */

.about-section {
  padding: 100px 8%;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-section.alt {
  background: #0f172a;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-text p {
  color: #94a3b8;
  margin-bottom: 15px;
  line-height: 1.6;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
}

/* VALUES */

.values-section {
  padding: 40px 8% 100px;  /* smaller top padding */
  padding-top: 0;
  text-align: center;
}

.center {
  margin-bottom: 60px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.value-card {
  background: #1e293b;
  padding: 40px;
  border-radius: 12px;
  transition: 0.3s;
}

.value-card:hover {
  transform: translateY(-8px);
}

.value-card h3 {
  margin-bottom: 15px;
}

.value-card p {
  color: #94a3b8;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* LOGO ON RIGHT SIDE */

.about-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-logo img {
  width: 80%;
  max-width: 400px;
  opacity: 0.9;
  transition: 0.3s ease;
}

.about-logo img:hover {
  transform: scale(1.05);
}

/* SERVICES PAGE */

.services-section {
  padding: 100px 8%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  background: #1e293b;
  padding: 40px;
  border-radius: 16px;
  transition: 0.3s ease;
  border: 1px solid rgba(255,255,255,0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: #38bdf8;
}

.service-icon {
  font-size: 28px;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.service-card p {
  color: #94a3b8;
  line-height: 1.6;
}

/* CTA SECTION */

.cta-section {
  padding: 100px 8%;
  display: flex;
  justify-content: center;
}

.cta-box {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  padding: 60px;
  border-radius: 20px;
  text-align: center;
  max-width: 800px;
  border: 1px solid rgba(255,255,255,0.05);
}

.cta-box h2 {
  margin-bottom: 20px;
}

.cta-box p {
  color: #94a3b8;
  margin-bottom: 30px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}