/*
    STYLES.CSS
    Author: Awwwards-Level Redesign
    Version: 1.0
*/

/* 1. GLOBAL STYLES & VARIABLES
-------------------------------------------------- */
:root {
  --primary-color: #4a90e2;
  --secondary-color: #7b68ee;
  --dark-bg: #0d0f18;
  --dark-bg-secondary: #121522;
  --card-bg: #1a1d2e;
  --border-color: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #a9b2d8;
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Rajdhani", sans-serif;
  --header-height: 80px;
  --border-radius: 12px;
  --transition-speed: 0.4s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-secondary);
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary);
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
}

.section-subtitle {
  display: block;
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 48px;
  margin-bottom: 20px;
}

.section-description {
  max-width: 600px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.highlight-gradient {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* 2. PRELOADER
-------------------------------------------------- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  text-align: center;
}

.loader-logo img {
  width: 80px;
  filter: brightness(0) invert(1);
  animation: pulse 1.5s infinite ease-in-out;
}

.loader-bar {
  width: 120px;
  height: 4px;
  background-color: var(--border-color);
  margin-top: 20px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;

}

.loader-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  animation: loading-bar 2s infinite linear;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes loading-bar {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}

/* 3. HEADER & NAVIGATION
-------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition:
    background-color var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
  padding: 15px 0;
}

.header.scrolled {
  background-color: rgba(13, 15, 24, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  filter: brightness(0) invert(1);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  color: var(--text-secondary);
  font-family: var(--font-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 10px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 10px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity var(--transition-speed) ease,
    transform var(--transition-speed) ease;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 5px 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: var(--text-secondary);
  border-radius: 8px;
  transition:
    background-color var(--transition-speed) ease,
    color var(--transition-speed) ease;
}

.dropdown-menu li a:hover {
  background-color: var(--primary-color);
  color: var(--text-primary);
}

/* 4. BUTTONS & UTILITIES
-------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--font-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  z-index: 1;
}

.btn span {
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--text-primary);
}

.btn-primary:hover {
  box-shadow: 0 0 20px var(--primary-color);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-primary);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 18px;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-speed) ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 5. ANIMATIONS & SCROLL EFFECTS
-------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

.animate-on-scroll[data-animation="fade-up"] {
  transform: translateY(50px);
}
.animate-on-scroll[data-animation="fade-down"] {
  transform: translateY(-50px);
}
.animate-on-scroll[data-animation="fade-left"] {
  transform: translateX(50px);
}
.animate-on-scroll[data-animation="fade-right"] {
  transform: translateX(-50px);
}
.animate-on-scroll[data-animation="zoom-in"] {
  transform: scale(0.9);
}

/* 6. HERO SECTION
-------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 100px);
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-color);
  top: 10%;
  left: 10%;
  animation: move-shape 20s infinite alternate;
}
.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary-color);
  bottom: 15%;
  right: 15%;
  animation: move-shape 25s infinite alternate-reverse;
}
.shape-3 {
  width: 200px;
  height: 200px;
  background: #ff5733;
  top: 20%;
  right: 30%;
  animation: move-shape 15s infinite alternate;
}

@keyframes move-shape {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(100px, 50px) scale(1.2);
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-subtitle {
  display: block;
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 64px;
  margin-bottom: 30px;
}

.hero-description {
  font-size: 18px;
  max-width: 550px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.three-d-object {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--card-bg), var(--dark-bg));
  border-radius: 50%;
  position: relative;
  border: 1px solid var(--border-color);
  animation: rotate-3d 30s infinite linear;
  transform-style: preserve-3d;
}

.three-d-object::before,
.three-d-object::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  transform: translate(-50%, -50%) rotateX(70deg);
}

.three-d-object::after {
  width: 60%;
  height: 60%;
  border-color: var(--secondary-color);
  animation: rotate-3d 15s infinite reverse linear;
}

@keyframes rotate-3d {
  0% {
    transform: rotateY(0deg) rotateX(10deg);
  }
  100% {
    transform: rotateY(360deg) rotateX(10deg);
  }
}

/* 7. ABOUT SECTION
-------------------------------------------------- */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-img-main {
  border-radius: var(--border-radius);
  width: 100%;
}

.about-experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: var(--card-bg);
  border: 5px solid var(--dark-bg);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.badge-number {
  font-size: 40px;
  font-family: var(--font-secondary);
  color: var(--primary-color);
  display: block;
  line-height: 1;
}

.badge-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.about-content .section-title {
  font-size: 42px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 30px 0;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-features i {
  color: var(--primary-color);
}

/* 8. SERVICES SECTION
-------------------------------------------------- */
.services-section {
  background-color: var(--dark-bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
  text-align: center;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
  transform-style: preserve-3d;
}

.service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card-inner {
  transform: translateZ(20px);
}

.service-icon {
  font-size: 40px;
  margin-bottom: 20px;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--text-primary);
  display: inline-block;
}

.service-title {
  font-size: 24px;
  margin-bottom: 15px;
}

.service-description {
  margin-bottom: 25px;
  min-height: 80px;
}

.service-link {
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--primary-color);
}

.service-link i {
  margin-left: 5px;
  transition: transform var(--transition-speed) ease;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* 9. STATS SECTION
-------------------------------------------------- */
.stats-section {
  background-color: var(--dark-bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  padding: 60px;
  background: var(--dark-bg-secondary);
  border-radius: var(--border-radius);
}

.stat-item {
  padding: 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background-color: var(--border-color);
}

.stat-number {
  font-size: 56px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
}

.stat-label {
  font-family: var(--font-secondary);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* 10. TESTIMONIALS SECTION
-------------------------------------------------- */
.testimonials-section {
  background-color: var(--dark-bg-secondary);
}

.testimonial-slider-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.testimonial-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

.testimonial-slide.active {
  opacity: 1;
}

.testimonial-content p {
  font-size: 20px;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-size: 18px;
  margin-bottom: 0;
}

.author-title {
  font-size: 14px;
  color: var(--text-secondary);
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 110%;
  left: -5%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.slider-btn:hover {
  background: var(--primary-color);
}

/* 11. INDUSTRIES SECTION
-------------------------------------------------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
}

.industry-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: all var(--transition-speed) ease;
}

.industry-item:hover {
  transform: translateY(-10px);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.industry-item:hover .industry-icon,
.industry-item:hover .industry-name {
  color: var(--text-primary);
}

.industry-icon {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 15px;
  transition: color var(--transition-speed) ease;
}

.industry-name {
  font-size: 18px;
  transition: color var(--transition-speed) ease;
}

/* 12. CTA SECTION
-------------------------------------------------- */
.cta-section {
  padding: 0;
}
.cta-wrapper {
  background:
    linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(123, 104, 238, 0.1)),
    url("placeholder.jpg") no-repeat center center;
  background-size: cover;
  padding: 80px 40px;
  border-radius: 20px;
  text-align: center;
}

.cta-title {
  font-size: 40px;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* 13. FAQ SECTION
-------------------------------------------------- */
.faq-section {
  background-color: var(--dark-bg-secondary);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 25px 0;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 20px;
  font-family: var(--font-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  transition: transform var(--transition-speed) ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.faq-answer p {
  padding-bottom: 25px;
}

/* 14. FOOTER
-------------------------------------------------- */
.footer {
  background-color: var(--dark-bg-secondary);
  padding-top: 80px;
  border-top: 1px solid var(--border-color);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 25px;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-about p {
  margin-bottom: 25px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-secondary);
}

.footer-socials a:hover {
  background-color: var(--primary-color);
  color: var(--text-primary);
  border-color: var(--primary-color);
}

.footer-links ul li {
  margin-bottom: 15px;
}

.footer-contact ul li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.footer-contact ul li i {
  margin-top: 5px;
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  text-align: center;
}

/* 15. CONTACT & LEGAL PAGES
-------------------------------------------------- */
.page-header {
  padding-top: 150px;
  padding-bottom: 80px;
  text-align: center;
  background: var(--dark-bg-secondary);
}

.page-header h1 {
  font-size: 56px;
  margin-bottom: 15px;
}

.breadcrumbs span {
  color: var(--text-primary);
}

.main-content {
  padding: 100px 0;
}

/* Contact Page */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.contact-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--text-primary);
  border-radius: 50%;
  font-size: 24px;
}

.contact-details h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.contact-form-container {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.form-title {
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px 20px;
  background-color: var(--dark-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
}

.form-group i {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(50%);
  color: var(--text-secondary);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
}

.btn-full {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* Success Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.popup.show {
  opacity: 1;
  visibility: visible;
}
.popup-content {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: all 0.3s ease;
}
.popup.show .popup-content {
  transform: scale(1);
}
.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}
.popup-icon {
  font-size: 50px;
  color: #28a745;
  margin-bottom: 20px;
}

/* Legal Pages */
.legal-content h2 {
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.legal-content p {
  margin-bottom: 20px;
}

/* 16. RESPONSIVE DESIGN
-------------------------------------------------- */
@media (max-width: 1024px) {
  .section-title {
    font-size: 38px;
  }
  .hero-title {
    font-size: 52px;
  }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    order: 2;
  }
  .hero-image-container {
    order: 1;
    margin-bottom: 40px;
  }
  .hero-description {
    margin: 0 auto 40px;
  }
  .hero-actions {
    justify-content: center;
  }
  .about-wrapper {
    grid-template-columns: 1fr;
  }
  .about-image {
    max-width: 400px;
    margin: 0 auto 60px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  .section {
    padding: 80px 0;
  }
  .section-title {
    font-size: 32px;
  }
  .hero-title {
    font-size: 40px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--dark-bg-secondary);
    padding: 100px 30px;
    transition: right 0.5s ease;
    z-index: 998;
  }
  .nav.active {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .nav-link {
    font-size: 18px;
  }
  .dropdown .dropdown-menu {
    position: static;
    background: transparent;
    border: none;
    padding: 10px 0 0 20px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: unset;
  }
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  .header-actions .btn {
    display: none;
  }

  /* Hamburger Menu */
  .menu-toggle {
    display: block;
    z-index: 999;
    cursor: pointer;
    background: none;
    border: none;
  }
  .hamburger {
    width: 30px;
    height: 3px;
    background-color: var(--text-primary);
    position: relative;
    transition: background-color 0.3s ease;
  }
  .hamburger::before,
  .hamburger::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    transition: transform 0.3s ease;
  }
  .hamburger::before {
    top: -8px;
  }
  .hamburger::after {
    bottom: -8px;
  }

  .nav.active ~ .header-actions .hamburger {
    background-color: transparent;
  }
  .nav.active ~ .header-actions .hamburger::before {
    transform: translateY(8px) rotate(45deg);
  }
  .nav.active ~ .header-actions .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
  }

  .stats-grid {
    grid-template-columns: 1fr;
    padding: 40px;
  }
  .stat-item::after {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .form-row {
    flex-direction: column;
  }
}
