/* 
 * YR Digital Agency - Main Stylesheet
 * Hybrid Tech Light-Dark Theme with Futuristic Elements
 */

/* CSS Variables for Theme Colors */
:root {
  /* Primary Colors */
  --primary: #2596be;
  --primary-soft: #44b2b0;
  --accent-neon: #70f0ff;
  
  /* Text Colors */
  --text-main: #f5f7ff;
  --text-muted: #a4b0d0;
  
  /* Background Colors */
  --bg-gradient-start: #10152b;
  --bg-gradient-end: #050811;
  --card-bg: rgba(10, 18, 35, 0.95);
  
  /* Border Colors */
  --border-color: rgba(148, 163, 184, 0.35);
  
  /* Shadows */
  --shadow-base: 0 20px 40px rgba(0, 0, 0, 0.55);
  --shadow-neon: 0 12px 30px rgba(37, 150, 190, 0.7);
  --shadow-3d: 0 24px 40px rgba(15, 23, 42, 0.9);
  
  /* Typography */
  --font-primary: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  --font-size-title: clamp(2rem, 5vw, 2.875rem);
  --font-size-subtitle: 1.5rem;
  --font-size-heading: 1.25rem;
  --font-size-text: 1rem;
  --font-size-meta: 0.875rem;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') no-repeat center center fixed;
  background-size: cover;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--font-size-title);
}

h2 {
  font-size: var(--font-size-subtitle);
  text-transform: uppercase;
  letter-spacing: 1px;
}

h3 {
  font-size: var(--font-size-heading);
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-neon);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: var(--font-size-meta);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  min-width: 140px;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-soft));
  color: white;
  box-shadow: var(--shadow-neon);
  border: none;
  position: relative;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-soft), var(--primary));
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.btn-primary:hover {
  background: transparent;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 150, 190, 0.9);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(90deg, var(--primary), var(--accent-neon), var(--primary-soft));
  z-index: -1;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::after {
  opacity: 1;
  animation: shine 1.5s ease infinite;
}

.btn-secondary {
  background: transparent;
  color: var(--accent-neon);
  border: 2px solid var(--accent-neon);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent-neon));
  z-index: -1;
  transition: transform 0.3s ease;
  transform: translateX(-100%);
}

.btn-secondary:hover {
  background: rgba(112, 240, 255, 0.1);
  transform: translateY(-3px);
  color: white;
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(37, 150, 190, 0.5);
  animation: pulse 2s infinite;
}

.btn-secondary:hover::before {
  transform: translateX(0);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-neon);
  color: var(--accent-neon);
}

.btn-small {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  min-width: auto;
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(10, 18, 35, 0.75);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(19, 16, 44, 0.3);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 58px;
  width: auto;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav ul li {
  margin-left: 2.5rem;
}

.main-nav ul li a {
  color: var(--text-main);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--accent-neon);
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-neon);
  transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
  background: transparent;
  border: none;
}

/* Page Banner */
.page-banner {
  padding: 8rem 0 4rem;
  text-align: center;
  margin-top: 70px;
}

.page-banner h1 {
  margin-bottom: 1rem;
}

.page-banner p {
  font-size: var(--font-size-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 0;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 18, 35, 0);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  padding: 0 1rem;
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 1s ease-out both;
  opacity: 0;
  border-radius: 10px;
  padding: 2rem;
  backdrop-filter: blur(2px);
  background: rgba(10, 18, 35, 0.2);
  box-shadow: 0 0 30px rgba(37, 150, 190, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.hero-title {
  font-size: var(--font-size-title);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(112, 240, 255, 0.5);
  line-height: 1.2;
  width: 100%;
  text-align: center;
  background: linear-gradient(90deg, var(--primary), var(--accent-neon), var(--primary-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  position: relative;
  animation: fadeInUp 1s ease-out 0.2s both;
  opacity: 0;
}

.hero-subtitle {
  font-size: var(--font-size-text);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  width: 100%;
  text-align: center;
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(112, 240, 255, 0.3);
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 0.4s both;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 2rem;
  animation: fadeInUp 1s ease-out 0.6s both;
  opacity: 0;
}

.hero-buttons .btn {
  margin: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  animation: fadeInUp 1s ease-out 0.8s both;
  opacity: 0;
}

/* Parallax Orb */
.parallax-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  filter: blur(40px);
  opacity: 0.3;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: float 15s infinite ease-in-out;
}

@keyframes float {
  0%, 100% {
    transform: translate(-50%, -50%) translate(0, 0);
  }
  25% {
    transform: translate(-50%, -50%) translate(20px, -20px);
  }
  50% {
    transform: translate(-50%, -50%) translate(0, 20px);
  }
  75% {
    transform: translate(-50%, -50%) translate(-20px, -20px);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(112, 240, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(112, 240, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(112, 240, 255, 0);
  }
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-neon);
  margin: 0.5rem auto;
  border-radius: 3px;
}

/* Tilt Card */
.tilt-card {
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-base);
  transform-style: preserve-3d;
  transform: perspective(1000px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tilt-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  box-shadow: var(--shadow-neon);
}

/* Services */
.services-preview,
.services-page {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-icon {
  font-size: 3rem;
  color: var(--accent-neon);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  flex: 1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--accent-neon);
  font-weight: 600;
  margin-top: 1rem;
  text-decoration: none;
}

.read-more i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(3px);
}

/* Portfolio */
.portfolio-preview,
.portfolio-grid-section {
  padding: 5rem 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-image {
  overflow: hidden;
  flex-shrink: 0;
}

.portfolio-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .portfolio-images {
    grid-template-columns: 1fr;
  }
}

.portfolio-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-filter {
  padding: 3rem 0 1rem;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-btn {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 0.625rem 1.25rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* Blog */
.blog-preview,
.blog-listing {
  padding: 5rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-image {
  overflow: hidden;
  flex-shrink: 0;
}

.blog-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-excerpt {
  flex: 1;
}

.blog-meta {
  display: flex;
  gap: 1.25rem;
  margin: 1rem 0;
  font-size: var(--font-size-meta);
  color: var(--text-muted);
}

.blog-meta i {
  margin-right: 0.5rem;
}

/* About */
.about-summary {
  padding: 5rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-3d);
  height: auto;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.testimonial-card {
  border-radius: 10px;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid var(--border-color);
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author h4 {
  margin-bottom: 0.25rem;
}

/* Contact CTA */
.contact-cta {
  padding: 5rem 0;
  text-align: center;
}

.contact-cta h2 {
  margin-bottom: 1rem;
}

.contact-cta p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

/* Contact Page */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card,
.contact-form-card {
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.contact-details {
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--accent-neon);
  margin-right: 1rem;
  min-width: 30px;
  padding-top: 0.25rem;
}

.social-links-large {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links-large a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-links-large a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-main);
  font-family: var(--font-primary);
  transition: border-color 0.3s ease;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-neon);
  box-shadow: 0 0 0 3px rgba(112, 240, 255, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.alert {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.alert.success {
  background: rgba(40, 167, 69, 0.2);
  border: 1px solid rgba(40, 167, 69, 0.5);
  color: #28a745;
}

.alert.error {
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.5);
  color: #dc3545;
}

/* Map */
.map-section {
  padding: 3rem 0 5rem;
}

.map-container {
  height: 400px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  text-align: center;
  color: var(--text-muted);
}

/* Footer */
.main-footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 56px;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-col h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: var(--accent-neon);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-info li i {
  margin-right: 1rem;
  color: var(--accent-neon);
  min-width: 20px;
  padding-top: 0.25rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: var(--font-size-meta);
}

/* Team Section */
.team-section {
  padding: 5rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-card {
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--border-color);
}

.team-image {
  height: 250px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--accent-neon);
  margin-bottom: 1rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  transition: all 0.3s ease;
}

.team-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Values Section */
.values-section {
  padding: 5rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-neon);
}

.value-icon {
  font-size: 3rem;
  color: var(--accent-neon);
  margin-bottom: 1.5rem;
}

.value-card h3 {
  margin-bottom: 1rem;
}

.value-card p {
  flex: 1;
}

/* About Content Section */
.about-content-section {
  padding: 5rem 0;
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text h3 {
  margin: 1.5rem 0 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--accent-neon);
  margin-bottom: 0.5rem;
}

/* Text Alignment */
.text-center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    padding: 0 1.25rem;
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
}

@media (max-width: 992px) {
  .container {
    padding: 0 1.25rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .about-content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .main-nav ul li {
    margin-left: 1.5rem;
  }
  
  .hero-buttons {
    gap: 1rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 18, 35, 0.95);
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
  }
  
  .main-nav ul li {
    margin: 0.75rem 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero-content {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .filter-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .filter-btn {
    width: 100%;
    max-width: 250px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .contact-cta h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .hero {
    padding-top: 0;
  }
  
  .page-banner {
    padding: 6rem 0 3rem;
  }
  
  .services-grid,
  .portfolio-grid,
  .blog-grid,
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    padding: 1rem;
    margin: 0 0.5rem;
  }
  
  .hero-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    min-width: 120px;
  }
  
  .btn-primary,
  .btn-secondary,
  .btn-outline {
    padding: 0.75rem 1.25rem;
  }
  
  .service-card,
  .portfolio-content,
  .blog-content,
  .value-card {
    padding: 1.5rem;
  }
  
  .main-header {
    padding: 0.75rem 0;
  }
  
  .logo img {
    height: 45px;
  }
  
  .footer-grid {
    gap: 1.5rem;
  }
  
  .contact-info-card,
  .contact-form-card {
    padding: 1.5rem;
  }
  
  .map-container {
    height: 300px;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0 0.5rem;
  }
  
  .hero-content {
    padding: 0.5rem;
    margin: 0 0.25rem;
  }
  
  .hero-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }
  
  .btn {
    min-width: 100px;
  }
}