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

:root {
  user-select: none;
  --primary: #714329;
  --primary-dark: #714329;
  --primary-light: #8b5a3c;
  --accent: #fef1e8;
  --text-dark: #2c2c2c;
  --text-light: #ffffff;
  --bg-light: #faf8f5;
  --bg-gradient: linear-gradient(135deg, #714329 0%, #8b5a3c 100%);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background: #fff;
}

/* Header Styles */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.25rem 0.25rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

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

/* Active link styling (highlight current section) */
.nav-links a.active-link {
  color: var(--primary);
  font-weight: 700;
}

.nav-links a.active-link::after {
  width: 100%;
  height: 3px;
}

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

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

/* Hero Section - image + overlay (improved) */
.hero {
  margin-top: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: var(--text-light);
  background-image: linear-gradient(
      135deg,
      rgba(107, 68, 35, 0.75) 0%,
      rgba(139, 90, 60, 0.6) 100%
    ),
    url("https://images.unsplash.com/photo-1526378722946-1c5f42f6d9b1?auto=format&fit=crop&w=1700&q=60");
  background-size: cover;
  background-position: center;
}

/* decorative circle retained */
.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  top: -250px;
  right: -250px;
}

/* hero layout container: text left, image right on wide screens */
.hero-inner {
  z-index: 1;
  padding: 2rem;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.95);
  animation: fadeInUp 1s ease 0.2s backwards;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: white;
  color: var(--primary);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.4s backwards;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-subtle {
  margin-left: 1rem;
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero image card on right */
.hero-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(0, 0, 0, 0.06)
  );
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media .overlay-card {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  font-size: 0.95rem;
}

/* Section Styles */
section {
  padding: 5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* About Section (reworked to look like IT firm) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 2.5rem;
  align-items: center;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.about-left .lead {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.8;
}

.about-benefits {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.benefit {
  background: white;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  box-shadow: 0 8px 30px rgba(107, 68, 35, 0.06);
  min-width: 220px;
}

.benefit i {
  font-size: 1.4rem;
  color: var(--primary);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--bg-light);
}

.benefit div {
  font-size: 0.95rem;
  color: #333;
  font-weight: 600;
}

.about-stats {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.stat {
  background: var(--bg-light);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  text-align: center;
  min-width: 120px;
}

.stat h3 {
  color: var(--primary);
  font-size: 1.25rem;
}

.stat p {
  color: #666;
  font-size: 0.9rem;
}

.about-right {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(107, 68, 35, 0.18);
  min-height: 360px;
  position: relative;
}

.about-right img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  filter: brightness(0.8);
}

.about-overlay {
  position: absolute;
  left: 18px;
  top: 18px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
}

/* Services Section */
.services {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(107, 68, 35, 0.2);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  color: var(--primary);
  font-size: 1.6rem;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 0.2rem;
  font-size: 1.15rem;
}

.service-card p {
  color: #555;
  font-size: 0.98rem;
  line-height: 1.5;
  margin-top: auto;
}

/* Our Process */
#process {
  background-color: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.quote-icon {
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--bg-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.author-info h4 {
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.author-info p {
  color: #666;
  font-size: 0.9rem;
}

/* Contact Section */

#contact {
  background: var(--bg-light);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item a {
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: #fff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--primary);
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  padding: 1rem 2rem;
  background: var(--bg-gradient);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(107, 68, 35, 0.3);
}

.error {
  color: #d32f2f;
  font-size: 0.9rem;
  display: none;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 3rem 5%;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-inner,
  .about-grid {
    grid-template-columns: 1fr 380px;
  }
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .about-right {
    order: -1;
  }

  .hero h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    flex-direction: column;
    background: white;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-inner {
    gap: 1rem;
  }

  .hero-media {
    min-height: 220px;
  }

  .hero-media .overlay-card {
    left: 12px;
    bottom: 12px;
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }

  .benefit {
    min-width: calc(50% - 8px);
    padding: 0.7rem;
  }
}
