/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Container with responsive padding */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* Responsive Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: #4a5568;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 44px;
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #4c68d7 0%, #6b46c1 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 104, 215, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(76, 104, 215, 0.6);
}

.btn-secondary {
  background: transparent;
  color: #4c68d7;
  border-color: #4c68d7;
}

.btn-secondary:hover {
  background: #4c68d7;
  color: white;
  transform: translateY(-2px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  background: linear-gradient(135deg, #4c68d7 0%, #6b46c1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #4c68d7 0%, #6b46c1 100%);
  transition: width 0.3s ease;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #1a1a1a;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 30%, #16213e 70%, #0f3460 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 165, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(34, 139, 34, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(220, 20, 60, 0.06) 0%, transparent 50%);
  animation: gradientShift 12s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.hero-content {
  animation: slideInUp 1s ease-out;
}

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

.hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.4rem);
  color: #b0b0b0;
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.5;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-intro {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6b35, #f7931e, #32cd32, #dc143c);
  background-size: 300% 100%;
  animation: gradientMove 3s ease-in-out infinite;
}

@keyframes gradientMove {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-intro p {
  color: #e0e0e0;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  margin: 0;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-cta .btn {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.hero-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.hero-cta .btn-secondary {
  background: transparent;
  color: #e0e0e0;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInUp 1s ease-out 0.3s both;
  position: relative;
  margin-top: 2rem;
}

.hero-person-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
}

.hero-person-image:hover {
  transform: scale(1.05);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* Floating elements */
.floating-element {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(3) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-element:nth-child(4) {
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.8;
  }
}

/* Section Entry Images */
/* Section Entry Images */
.section-entry-image {
  width: 100%;
  max-width: 1280px;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 15px;
  margin: 0 auto 2rem; /* Center image horizontally and add spacing below */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
}

/* Specific Image Backgrounds */
.about-entry-image {
  background-image: url("ramani.jpg");
}

.services-entry-image {
  background-image: url("two.jpg");
}

.portfolio-entry-image {
  background-image: url("four.jpg");
}

/* Section Styling */
section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 6vw, 4rem);
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #4c68d7 0%, #6b46c1 100%);
  margin: 2rem auto;
  border-radius: 2px;
}

/* About Section */
.about {
  background: #f8fafc;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-bio {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  margin-bottom: 2rem;
  color: #4a5568;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1rem, 4vw, 2rem);
  margin-top: 3rem;
}

.stat {
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: #4c68d7;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #4a5568;
  font-weight: 500;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.5rem, 4vw, 2rem);
}

.service-card {
  background: white;
  padding: clamp(2rem, 5vw, 2.5rem);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-top-color: #4c68d7;
}

.service-icon {
  width: clamp(60px, 15vw, 80px);
  height: clamp(60px, 15vw, 80px);
  background: linear-gradient(135deg, #4c68d7 0%, #6b46c1 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: white;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  padding: 0.5rem 0;
  color: #4a5568;
  position: relative;
  padding-left: 1.5rem;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4c68d7;
  font-weight: bold;
}

/* Experience Section */
.experience {
  background: #f8fafc;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, #4c68d7 0%, #6b46c1 100%);
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
  margin-left: 60px;
}

.timeline-icon {
  width: clamp(60px, 15vw, 80px);
  height: clamp(60px, 15vw, 80px);
  background: linear-gradient(135deg, #4c68d7 0%, #6b46c1 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -90px;
  top: 0;
  z-index: 2;
}

.timeline-icon i {
  color: white;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.timeline-content {
  flex: 1;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 30px;
  left: -15px;
  width: 0;
  height: 0;
  border: 15px solid transparent;
  border-right-color: white;
}

.timeline-content h3 {
  color: #4c68d7;
  margin-bottom: 0.5rem;
}

.timeline-content h4 {
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
}

.timeline-content ul {
  list-style: none;
}

.timeline-content li {
  padding: 0.25rem 0;
  color: #4a5568;
  position: relative;
  padding-left: 1.5rem;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.timeline-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #4c68d7;
  font-weight: bold;
}

.client-logos {
  text-align: center;
  margin-top: 4rem;
}

.client-logos h3 {
  color: #4c68d7;
  margin-bottom: 2rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 2rem;
}

.logo-placeholder {
  padding: clamp(1rem, 3vw, 1.5rem);
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  color: #4a5568;
  transition: transform 0.3s ease;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.logo-placeholder:hover {
  transform: scale(1.05);
}

/* Testimonials Section */
.testimonials {
  background: linear-gradient(135deg, #4c68d7 0%, #6b46c1 100%);
  color: white;
}

.testimonials .section-header h2 {
  color: white;
}

.testimonials .section-divider {
  background: white;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  color: white;
  font-style: italic;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
}

.testimonial-author strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.testimonial-author span {
  opacity: 0.8;
  font-size: clamp(0.85rem, 2vw, 0.9rem);
}

/* Content Services Section */
.content-services {
  background: #f8fafc;
}

.content-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 4vw, 2rem);
}

.content-service-card {
  background: white;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.content-service-card:hover {
  transform: translateY(-5px);
}

.content-service-card .service-icon {
  margin: 0 auto 1.5rem;
}

.content-service-card p {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.5rem, 4vw, 2rem);
}

.portfolio-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.portfolio-header {
  background: linear-gradient(135deg, #4c68d7 0%, #6b46c1 100%);
  color: white;
  padding: clamp(1rem, 3vw, 1.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-header h4 {
  margin: 0;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.portfolio-role {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: clamp(0.8rem, 2vw, 0.85rem);
}

.portfolio-content {
  padding: clamp(1.5rem, 4vw, 2rem);
}

.portfolio-content h4 {
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.portfolio-content p {
  margin-bottom: 0.75rem;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.portfolio-content strong {
  color: #1a1a1a;
}

/* Process Section */
.process {
  background: #f8fafc;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 4vw, 2rem);
}

.process-step {
  background: white;
  padding: clamp(2rem, 5vw, 2.5rem);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.step-number {
  width: clamp(50px, 12vw, 60px);
  height: clamp(50px, 12vw, 60px);
  background: linear-gradient(135deg, #4c68d7 0%, #6b46c1 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.process-step p {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
  color: white;
}

.contact .section-header h2,
.contact .section-header p {
  color: white;
}

.contact .section-divider {
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}

.contact-info h3 {
  color: white;
  margin-bottom: 1rem;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.contact-methods {
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.contact-method i {
  margin-right: 1rem;
  width: 20px;
  flex-shrink: 0;
  font-size: 1.2rem;
}

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

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

.social-links a:hover {
  background: white;
  color: #4c68d7;
  transform: translateY(-3px);
}

.social-links a i {
  font-size: 1.2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-buttons .btn {
  padding: 15px 30px;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
}

.cta-buttons .btn-primary {
  background: white;
  color: #4c68d7;
}

.cta-buttons .btn-primary:hover {
  background: #f0f0f0;
}

.cta-buttons .btn-secondary {
  border-color: white;
  color: white;
}

.cta-buttons .btn i {
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: clamp(2rem, 5vw, 3rem) 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.footer-section a:hover {
  color: #4c68d7;
}

.footer-section .social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 1rem;
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    backdrop-filter: blur(20px);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    order: -1;
    margin-top: 0;
    margin-bottom: 2rem;
  }

  .hero-person-image {
    max-width: 280px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    margin-left: 50px;
  }

  .timeline-icon {
    left: -10px;
    width: 60px;
    height: 60px;
  }

  .timeline-content::before {
    left: -15px;
    top: 20px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-buttons {
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .section-entry-image {
    height: 120px;
  }

  .portfolio-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .services-grid,
  .content-services-grid,
  .portfolio-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* Large screens */
@media screen and (min-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr 400px;
    text-align: left;
    gap: 4rem;
  }

  .hero-content {
    animation: slideInLeft 1s ease-out;
  }

  .hero-visual {
    animation: slideInRight 1s ease-out;
    margin-top: 0;
  }

  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .hero-intro {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-cta {
    justify-content: flex-start;
  }

  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-item {
    margin-left: 0;
  }

  .timeline-item:nth-child(even) {
    flex-direction: row-reverse;
  }

  .timeline-icon {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-content {
    margin: 0 3rem;
  }

  .timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    left: auto;
    border-left-color: white;
    border-right-color: transparent;
  }

  .timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: white;
    border-left-color: transparent;
  }

  .contact-content {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .cta-buttons {
    align-items: flex-start;
  }
}

/* Print styles */
@media print {
  .navbar,
  .floating-element {
    display: none;
  }

  .hero {
    background: white;
    color: black;
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-title,
  .hero-subtitle,
  .hero-intro p {
    color: black;
  }

  .section-entry-image {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .btn {
    border: 1px solid black;
    background: white;
    color: black;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero::before {
    animation: none;
  }

  .floating-element {
    animation: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .btn-primary {
    background: black;
    color: white;
    border: 2px solid white;
  }

  .btn-secondary {
    background: white;
    color: black;
    border: 2px solid black;
  }

  .service-icon,
  .timeline-icon,
  .step-number {
    background: black;
  }
}

/* Focus styles for better accessibility */
.btn:focus,
.nav-menu a:focus,
.hamburger:focus {
  outline: 3px solid #4c68d7;
  outline-offset: 2px;
}

/* Ensure minimum touch target sizes */
.nav-menu a,
.btn,
.hamburger,
.social-links a {
  min-height: 44px;
  min-width: 44px;
}
