/* =====================================================
   KANALIZACIJA KODERMAN - Main Stylesheet
   Drain & Sewer Unclogging Services - Slovenia
   ===================================================== */

/* CSS Variables */
:root {
  /* Primary Colors - Based on logo */
  --primary-dark: #1a2b4a;
  --primary-blue: #2b5797;
  --primary-light: #4a90d9;
  
  /* Accent Colors */
  --accent-orange: #e85a24;
  --accent-orange-hover: #ff6b35;
  --accent-coral: #ff7a52;
  
  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-gray: #e9ecef;
  --medium-gray: #6c757d;
  --dark-gray: #343a40;
  --black: #0d1117;
  
  /* Water-inspired accents */
  --water-light: #e3f2fd;
  --water-medium: #90caf9;
  
  /* Typography */
  --font-primary: 'Outfit', sans-serif;
  --font-display: 'Bebas Neue', sans-serif;
  
  /* Spacing */
  --section-padding: 6rem;
  --container-max: 1200px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --shadow-accent: 0 4px 20px rgba(232, 90, 36, 0.3);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  color: var(--dark-gray);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
}

h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  font-size: 1.1rem;
  color: var(--medium-gray);
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-medium);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-coral));
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(232, 90, 36, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary-dark);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-medium);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--primary-dark);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary-blue);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--dark-gray);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: var(--transition-medium);
}

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

.nav-links a.active {
  color: var(--accent-orange);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--accent-orange);
  font-size: 1.1rem;
}

.nav-phone svg {
  width: 20px;
  height: 20px;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--water-light) 50%, var(--off-white) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(232, 90, 36, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 6rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232, 90, 36, 0.1);
  color: var(--accent-orange);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 18px;
  height: 18px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 span {
  display: block;
  background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  font-weight: 500;
  font-size: 0.95rem;
}

.hero-feature svg {
  width: 20px;
  height: 20px;
  color: var(--accent-orange);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43, 87, 151, 0.2) 0%, transparent 50%);
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-floating-card.card-1 {
  top: 10%;
  right: -20px;
  animation: float 6s ease-in-out infinite;
}

.hero-floating-card.card-2 {
  bottom: 15%;
  left: -30px;
  animation: float 6s ease-in-out infinite 1s;
}

.floating-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-coral));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.floating-text strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.floating-text span {
  color: var(--medium-gray);
  font-size: 0.9rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-subtitle {
  display: inline-block;
  color: #c44b1a;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

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

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

.service-card {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: var(--transition-medium);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-coral));
  transform: scaleX(0);
  transition: var(--transition-medium);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--water-light), var(--water-medium));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary-blue);
}

.service-card h3 {
  margin-bottom: 1rem;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.service-card p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-orange);
  font-weight: 600;
}

.service-link svg {
  width: 18px;
  height: 18px;
  transition: var(--transition-fast);
}

.service-link:hover svg {
  transform: translateX(5px);
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 5px solid var(--white);
}

.about-image-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content > p {
  margin-bottom: 2rem;
}

.about-features {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.about-feature {
  display: flex;
  gap: 1rem;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-coral));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.about-feature-text h3 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.about-feature-text p {
  font-size: 0.95rem;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta .container {
  position: relative;
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
}

.cta-phone svg {
  width: 32px;
  height: 32px;
  animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
  0%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(-10deg); }
  20%, 40% { transform: rotate(10deg); }
  50% { transform: rotate(0); }
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
  padding: var(--section-padding) 0;
  background: var(--white);
}

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

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info > p {
  margin-bottom: 2rem;
}

.contact-methods {
  display: grid;
  gap: 1.5rem;
}

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

.contact-method-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-method-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.contact-method-text h4 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-method-text p,
.contact-method-text a {
  color: var(--medium-gray);
}

.contact-method-text a:hover {
  color: var(--accent-orange);
}

.contact-form-wrapper {
  background: var(--off-white);
  padding: 3rem;
  border-radius: 20px;
}

.contact-form-wrapper h3 {
  margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
  margin-bottom: 2rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

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

.form-group label {
  font-weight: 600;
  color: var(--dark-gray);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 1rem 1.25rem;
  border: 2px solid var(--light-gray);
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition-fast);
  background: var(--white);
}

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

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

.contact-form .btn {
  width: 100%;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer .logo-text,
.footer-brand .logo-text {
  color: #ffffff;
}

.footer .logo-text span,
.footer-brand .logo-text span {
  color: #90caf9;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.footer-links h3,
.footer-contact h3 {
  color: var(--white);
  font-family: var(--font-primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links ul {
  display: grid;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

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

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

.footer-contact a {
  color: var(--accent-orange);
  font-weight: 600;
}

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

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

/* =====================================================
   PAGE SPECIFIC STYLES
   ===================================================== */

/* Page Header */
.page-header {
  padding: 10rem 0 4rem;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--water-light) 100%);
  text-align: center;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--medium-gray);
}

.breadcrumbs a:hover {
  color: var(--accent-orange);
}

.breadcrumbs span {
  color: var(--primary-dark);
}

/* Services Page */
.services-detailed {
  padding: var(--section-padding) 0;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.service-detail-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-detail-content > p {
  margin-bottom: 1.5rem;
}

.service-detail-list {
  margin-bottom: 2rem;
}

.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--dark-gray);
}

.service-detail-list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent-orange);
  margin-top: 0.2rem;
}

/* About Page */
.about-full {
  padding: var(--section-padding) 0;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.about-story-content h2 {
  margin-bottom: 1.5rem;
}

.about-story-content p {
  margin-bottom: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--off-white);
  border-radius: 20px;
  transition: var(--transition-medium);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 36px;
  height: 36px;
  color: var(--white);
}

.value-card h3 {
  font-family: var(--font-primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Contact Page */
.contact-full {
  padding: var(--section-padding) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-cards {
  display: grid;
  gap: 1.5rem;
}

.contact-card {
  background: var(--off-white);
  padding: 2rem;
  border-radius: 20px;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition-medium);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-coral));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.contact-card h3 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 1rem;
}

.contact-card a {
  color: var(--accent-orange);
  font-weight: 600;
  font-size: 1.25rem;
}

.contact-card a:hover {
  color: var(--accent-coral);
}

/* =====================================================
   RESPONSIVE STYLES
   ===================================================== */
@media (max-width: 992px) {
  .hero .container,
  .about .container,
  .contact .container,
  .service-detail,
  .about-story,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    height: 400px;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav.active .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
  }

  .hero-image-wrapper {
    border-radius: 20px;
  }

  .hero-floating-card {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-image-accent {
    display: none;
  }

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

  .footer-brand .logo {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-features {
    flex-direction: column;
  }

  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }
}

