/* ENHANCED SWIFT DESIGNS CSS - COMPLETELY REBUILT FROM SCRATCH */

:root {
  /* Brand Colors */
  --primary-color: #990100;
  --secondary-color: #000999;
  --text-color: #1a1a1a;
  --text-light: #666666;
  --text-muted: #999999;
  --bg-color: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f1f3f4;
  --white: #ffffff;
  --border-color: #e9ecef;
  --success-color: #28a745;
  --error-color: #dc3545;
  --whatsapp-color: #25d366;

  /* Design System */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease;
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --nav-height: 100px;
  --header-height: 70px;

  /* Typography */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-secondary: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Dark Mode Variables */
body.dark-mode {
  --primary-color: #ff3333; /* Brighter red for dark mode */
  --secondary-color: #3333ff; /* Brighter blue for dark mode */
  --text-color: #ffffff;
  --text-light: #e0e0e0; /* Lighter text for better readability */
  --text-muted: #b0b0b0; /* Better muted text color */
  --bg-color: #0f0f0f; /* Darker background */
  --bg-secondary: #1a1a1a; /* Darker secondary background */
  --bg-tertiary: #252525; /* Darker tertiary background */
  --white: #1a1a1a;
  --border-color: #404040; /* Better border visibility */
}

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

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  padding-bottom: var(--nav-height);
  transition: var(--transition);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Enhanced Theme Toggle */
.theme-toggle-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
}

.theme-toggle {
  position: relative;
  width: 60px;
  height: 30px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}

.theme-toggle:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow);
}

.sun-icon,
.moon-icon {
  font-size: 0.8rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.sun-icon {
  color: #fbbf24;
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.moon-icon {
  color: #60a5fa;
  opacity: 0.5;
  transform: scale(0.8) rotate(12deg);
}

body.dark-mode .sun-icon {
  opacity: 0.5;
  transform: scale(0.8) rotate(12deg);
}

body.dark-mode .moon-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode .toggle-slider {
  transform: translateX(30px);
  background: linear-gradient(135deg, #4444ff, #ff4444);
}

/* Header Styles */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

body.dark-mode .header {
  background-color: rgba(18, 18, 18, 0.95);
  border-bottom-color: var(--border-color);
}

.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo a {
  text-decoration: none;
}

.logo h1 {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--secondary-color);
}

/* Welcome Popup Styles */
.welcome-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.welcome-popup-overlay.show {
  display: flex;
}

.welcome-popup {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  max-width: 500px;
  margin: 20px;
  position: relative;
  box-shadow: var(--shadow-xl);
  text-align: center;
  animation: slideInUp 0.5s ease;
}

.welcome-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-close:hover {
  background: var(--bg-secondary);
  color: var(--text-color);
}

.welcome-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.welcome-icon i {
  font-size: 2rem;
  color: white;
}

.welcome-content h2 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-color);
  font-weight: 700;
}

.welcome-content p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: calc(var(--nav-height) + 20px);
  right: 20px;
  z-index: 999;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--whatsapp-color), #128c7e);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 1.8rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
  color: white;
}

/* ENHANCED ANIMATED NAVIGATION MENU */
.animated-menu {
  position: fixed !important;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  /* Ensure it stays visible */
  opacity: 1 !important;
  visibility: visible !important;
}

body.dark-mode .animated-menu {
  background: rgba(18, 18, 18, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Menu Glow Effect */
.menu-glow {
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: radial-gradient(circle at 20% 50%, rgba(153, 1, 0, 0.4) 0%, transparent 30%), /* Increased opacity and reduced spread */
    radial-gradient(circle at 50% 50%, rgba(0, 9, 153, 0.4) 0%, transparent 30%),
    radial-gradient(circle at 80% 50%, rgba(153, 1, 0, 0.4) 0%, transparent 30%);
  border-radius: 32px;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: -1;
}

.animated-menu:hover .menu-glow {
  opacity: 1;
}

body.dark-mode .animated-menu:hover .menu-glow {
  opacity: 0.8;
}

/* Menu Items Container */
.menu-items {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 10;
}

.menu-item {
  position: relative;
  perspective: 600px;
}

.menu-item-container {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}

/* Item Glow Effect */
.item-glow {
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 24px;
  opacity: 0;
  scale: 0.8;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}

/* Individual item glow colors */
.menu-item[data-page="home"] .item-glow {
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.25) 0% /* Increased opacity */,
    rgba(29, 78, 216, 0.1) 50%,
    rgba(29, 78, 216, 0) 100%
  );
}

.menu-item[data-page="portfolio"] .item-glow {
  background: radial-gradient(
    circle,
    rgba(234, 88, 12, 0.25) 0% /* Increased opacity */,
    rgba(194, 65, 12, 0.1) 50%,
    rgba(194, 65, 12, 0) 100%
  );
}

.menu-item[data-page="services"] .item-glow {
  background: radial-gradient(
    circle,
    rgba(22, 163, 74, 0.25) 0% /* Increased opacity */,
    rgba(21, 128, 61, 0.1) 50%,
    rgba(21, 128, 61, 0) 100%
  );
}

.menu-item[data-page="about"] .item-glow {
  background: radial-gradient(
    circle,
    rgba(147, 51, 234, 0.25) 0% /* Increased opacity */,
    rgba(126, 34, 206, 0.1) 50%,
    rgba(126, 34, 206, 0) 100%
  );
}

.menu-item[data-page="contact"] .item-glow {
  background: radial-gradient(
    circle,
    rgba(220, 38, 38, 0.25) 0% /* Increased opacity */,
    rgba(185, 28, 28, 0.1) 50%,
    rgba(185, 28, 28, 0) 100%
  );
}

.menu-item-container:hover .item-glow {
  opacity: 1;
  scale: 2;
}

/* Menu Links */
.menu-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--text-light);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  transform-style: preserve-3d;
  min-width: 80px;
  height: 64px;
  z-index: 10;
}

/* Menu Content (Front and Back) */
.menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.menu-content.front {
  transform: rotateX(0deg);
}

.menu-content.back {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(90deg);
  transform-origin: center bottom;
}

/* 3D Flip Animation */
.menu-item-container:hover .menu-content.front {
  transform: rotateX(-90deg);
  opacity: 0;
}

.menu-item-container:hover .menu-content.back {
  transform: translate(-50%, -50%) rotateX(0deg);
  opacity: 1;
}

/* Icons */
.menu-content i {
  font-size: 1.4rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Labels */
.menu-content span {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Effects */
.menu-item-container:hover .menu-link {
  color: var(--text-color);
  transform: translateY(-2px);
}

/* Icon color changes on hover */
.menu-item[data-page="home"]:hover .menu-content i {
  color: #2563eb; /* Brighter blue */
}

.menu-item[data-page="portfolio"]:hover .menu-content i {
  color: #ea580c; /* Brighter orange */
}

.menu-item[data-page="services"]:hover .menu-content i {
  color: #16a34a; /* Brighter green */
}

.menu-item[data-page="about"]:hover .menu-content i {
  color: #9333ea; /* Brighter purple */
}

.menu-item[data-page="contact"]:hover .menu-content i {
  color: #dc2626; /* Brighter red */
}

/* Active State */
/* Active State - enhanced colors */
.menu-link.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(153, 1, 0, 0.4); /* Enhanced shadow */
}

.menu-link.active .menu-content i {
  color: white;
  transform: scale(1.1);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); /* Add glow to active icon */
}

.menu-link.active .menu-content span {
  color: white;
  opacity: 1;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2); /* Add glow to active text */
}

/* Active item glow */
.menu-link.active + .item-glow {
  opacity: 0.6;
  scale: 1.5;
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 30px;
  right: 30px;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}


/* Main Content */
.main-content {
  min-height: calc(100vh - var(--header-height) - var(--nav-height));
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h2 {
  font-family: var(--font-secondary);
  font-size: 3.5rem;
  margin-bottom: 24px;
  font-weight: 800;
  animation: fadeInUp 1s ease;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: white; /* Fix: Ensure hero title is white */
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.95;
  animation: fadeInUp 1s ease 0.2s both;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  animation: fadeInUp 1s ease 0.4s both;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0.6;
}

.page-header h1 {
  font-family: var(--font-secondary);
  font-size: 3rem;
  margin-bottom: 16px;
  font-weight: 800;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

/* Enhanced Daily Inspiration Section */
.daily-inspiration {
  padding: 100px 20px;
  background-color: var(--bg-secondary);
}

.daily-inspiration h2 {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  margin-bottom: 60px;
  color: var(--text-color);
  font-weight: 700;
  position: relative;
}

.daily-inspiration h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.daily-post-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.daily-post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.post-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}


.post-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.post-content {
  padding: 40px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.post-day {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
}

.post-category {
  background: var(--bg-secondary);
  color: var(--text-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.post-content h3 {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--text-color);
  font-weight: 700;
}

.post-content p {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.7;
  font-size: 1.1rem;
}

.post-actions {
  display: flex;
  gap: 16px;
}

.post-btn {
  background: none;
  border: 2px solid var(--border-color);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
}

.post-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.post-btn.liked {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Enhanced Button Styles */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: 2px solid transparent;
  margin: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  font-family: var(--font-primary);
}

.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, var(--primary-color), #660000);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #660000, var(--primary-color));
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background: linear-gradient(135deg, var(--primary-color), #660000);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

@keyframes pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.fas.fa-heart.animate-pop {
  animation: pop 0.3s ease;
}

/* Services Preview */
.services-preview {
  padding: 100px 20px;
  background-color: var(--white);
}

.services-preview h2 {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  margin-bottom: 60px;
  color: var(--text-color);
  position: relative;
  font-weight: 700;
}

.services-preview h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.service-card {
  background-color: var(--white);
  padding: 50px 35px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

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

.service-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.02);
}

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

.service-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  position: relative;
}

.service-icon i {
  font-size: 2.2rem;
  color: white;
}

.service-card h3 {
  font-family: var(--font-secondary);
  font-size: 1.6rem;
  margin-bottom: 18px;
  color: var(--text-color);
  font-weight: 600;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.7;
  font-size: 1rem;
}

.service-features {
  list-style: none;
  margin-bottom: 25px;
  text-align: left;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.service-features i {
  color: var(--success-color);
  font-size: 0.8rem;
}

.service-price {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 25px;
}

.service-price span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.service-link,
.service-btn {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 2px solid var(--primary-color);
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-family: var(--font-primary);
}

.service-link:hover,
.service-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.service-link i {
  transition: var(--transition);
}

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

/* Portfolio Preview */
.portfolio-preview {
  padding: 100px 20px;
  background-color: var(--bg-secondary);
}

.portfolio-preview h2 {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  margin-bottom: 60px;
  color: var(--text-color);
  position: relative;
  font-weight: 700;
}

.portfolio-preview h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(153, 1, 0, 0.95), rgba(0, 9, 153, 0.95));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  opacity: 0;
  transition: var(--transition);
  text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3,
.portfolio-info h3 {
  color: white;
  font-family: var(--font-secondary);
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.portfolio-overlay p,
.portfolio-info p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  font-size: 1rem;
  line-height: 1.6;
}

.portfolio-link,
.portfolio-btn {
  background-color: white;
  color: var(--primary-color);
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.portfolio-link:hover,
.portfolio-btn:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
}

.portfolio-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 500;
}

.section-footer {
  text-align: center;
  margin-top: 50px;
}

/* Portfolio Filter */
.portfolio-filter {
  padding: 50px 20px 0;
  background-color: var(--bg-secondary);
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: 2px solid var(--border-color);
  color: var(--text-light);
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  font-family: var(--font-primary);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(153, 1, 0, 0.1);
}

.portfolio-section {
  padding: 50px 20px 100px;
  background-color: var(--bg-secondary);
}

/* ===== Modal Base ===== */
.modal {
  display: none; /* Keep hidden until manually triggered */
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

/* Only show modal when .active is added */
.modal.active {
  display: flex;
}

/* ===== Modal Content Box ===== */
.modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
  box-sizing: border-box;
}

/* ===== Close Button (❌) ===== */
.close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #990100;
  cursor: pointer;
  z-index: 10000;
}
.close-modal:hover {
  transform: scale(1.2);
}

/* ===== Modal Content Elements ===== */
#modalTitle {
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: bold;
  color: #000;
}

#modalDescription {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

#modalImage {
  width: 100%;
  margin-top: 20px;
  border-radius: 10px;
  object-fit: cover;
  display: none; /* Start hidden until image is loaded */
}

/* ===== Animation ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Mobile View (No scroll inside box) ===== */
@media (max-width: 600px) {
  .modal-content {
    max-height: none;
    overflow-y: visible;
    height: auto;
    margin: 20px 0;
  }

  .modal {
    align-items: flex-start;
    padding-top: 30px;
  }
}



/* Services Section */
.services-section {
  padding: 100px 20px;
  background-color: var(--white);
}

/* Process Section */
.process-section {
  padding: 100px 20px;
  background-color: var(--bg-secondary);
}

.process-section h2 {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  margin-bottom: 60px;
  color: var(--text-color);
  position: relative;
  font-weight: 700;
}

.process-section h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.step-content h4 {
  font-family: var(--font-secondary);
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-color);
  font-weight: 600;
}

.step-content p {
  color: var(--text-light);
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 100px 20px;
  background-color: var(--white);
}

.faq-section h2 {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  margin-bottom: 60px;
  color: var(--text-color);
  position: relative;
  font-weight: 700;
}

.faq-section h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-tertiary);
}

.faq-question h4 {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  color: var(--text-color);
  font-weight: 600;
  margin: 0;
}

.faq-question i {
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--white);
}

.faq-item.active .faq-answer {
  padding: 25px;
  max-height: 200px;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Testimonials */
.testimonials {
  padding: 100px 20px;
  background-color: var(--white);
}

.testimonials h2 {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  margin-bottom: 60px;
  color: var(--text-color);
  position: relative;
  font-weight: 700;
}

.testimonials h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-slide {
  animation: fadeIn 0.5s ease;
}

.testimonial-content {
  background: var(--bg-secondary);
  padding: 50px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 4rem;
  color: var(--primary-color);
  font-family: serif;
  opacity: 0.3;
}

.testimonial-text p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: 400;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonial-author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  box-shadow: var(--shadow);
}

.author-info h4 {
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 5px;
  font-weight: 600;
}

.author-info p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transform: scale(1.2);
}

.dot:hover {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

/* About Page Specific Styles */
.about-story {
  padding: 100px 20px;
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.about-image:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.about-image:hover .image-overlay {
  opacity: 1;
}

.about-image {
  text-align: center;
}

.watch-story-btn {
  margin-top: 10px;
  margin-bottom: 30px; /* <-- Add space below the button */
}

.watch-story-btn a {
  display: inline-block;
  font-size: 1rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-primary);
}

.watch-story-btn a i {
  margin-right: 6px;
  font-size: 1.2rem;
}

.about-text h2 {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--text-color);
  font-weight: 700;
  position: relative;
}

.about-text h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.about-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.stats-row {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Mission & Vision */
.mission-vision {
  padding: 100px 20px;
  background-color: var(--bg-secondary);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.mv-card {
  background: var(--white);
  padding: 50px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

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

.mv-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.mv-icon i {
  font-size: 2rem;
  color: white;
}

.mv-card h3 {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-color);
  font-weight: 600;
}

.mv-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.1rem;
}

/* Values */
.values {
  padding: 100px 20px;
  background-color: var(--white);
}

.values h2 {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  margin-bottom: 60px;
  color: var(--text-color);
  position: relative;
  font-weight: 700;
}

.values h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.value-item {
  text-align: center;
  padding: 30px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.value-item:hover {
  background: var(--bg-secondary);
  transform: translateY(-5px);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon i {
  font-size: 1.8rem;
  color: white;
}

.value-item h4 {
  font-family: var(--font-secondary);
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-color);
  font-weight: 600;
}

.value-item p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: 100px 20px;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: var(--text-color);
  font-weight: 700;
}

.contact-info > p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-methods {
  margin-bottom: 40px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.contact-method:hover {
  background: var(--bg-secondary);
  transform: translateX(5px);
}

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

.method-icon i {
  font-size: 1.5rem;
  color: white;
}

.method-info h4 {
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--text-color);
  font-weight: 600;
}

.method-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.social-connect h4 {
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-color);
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(153, 1, 0, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.1rem;
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: white;
}

/* Contact Form */ 
.contact-form-container { 
  background: var(--bg-secondary); 
  padding: 40px; 
  border-radius: var(--border-radius-lg); 
  box-shadow: var(--shadow-lg); 
} 

.form-header { 
  text-align: center; 
  margin-bottom: 40px; 
} 

.form-header h3 { 
  font-family: var(--font-secondary); 
  font-size: 2rem; 
  margin-bottom: 10px; 
  color: var(--text-color); 
  font-weight: 700; 
} 

.form-header p { 
  color: var(--text-light); 
  font-size: 1rem; 
} 

.contact-form { 
  display: flex; 
  flex-direction: column; 
  gap: 25px; 
} 

.form-row { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 20px; 
} 

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

.form-group label { 
  font-weight: 600; 
  margin-bottom: 8px; 
  color: var(--text-color); 
  font-size: 0.9rem; 
} 

.form-group input, 
.form-group select, 
.form-group textarea { 
  padding: 15px; 
  border: 2px solid var(--border-color); 
  border-radius: var(--border-radius); 
  font-size: 1rem; 
  transition: var(--transition); 
  background: var(--white); 
  color: var(--text-color); 
  font-family: var(--font-primary); 
} 

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus { 
  outline: none; 
  border-color: var(--primary-color); 
  box-shadow: 0 0 0 3px rgba(153, 1, 0, 0.1); 
} 

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

.checkbox-group { 
  flex-direction: row; 
  align-items: center; 
  gap: 12px; 
} 

.checkbox-label { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  cursor: pointer; 
  font-size: 0.9rem; 
  color: var(--text-light); 
} 

.checkbox-label input[type="checkbox"] { 
  width: 18px; 
  height: 18px; 
  margin: 0; 
} 

.submit-btn { 
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); 
  color: white; 
  border: none; 
  padding: 18px 40px; 
  border-radius: 50px; 
  font-size: 1rem; 
  font-weight: 600; 
  cursor: pointer; 
  transition: var(--transition); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 10px; 
  text-transform: uppercase; 
  letter-spacing: 0.5px; 
  font-family: var(--font-primary); 
} 

.submit-btn:hover { 
  transform: translateY(-3px); 
  box-shadow: var(--shadow-lg); 
} 

.submit-btn:disabled { 
  opacity: 0.7; 
  cursor: not-allowed; 
  transform: none; 
}

/* Enhanced Phone Input Styles */
.phone-input-wrapper {
    display: flex;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--white);
    transition: var(--transition);
}

.phone-input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(153, 1, 0, 0.1);
}

.country-selector {
    position: relative;
    flex-shrink: 0;
}

.country-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 16px;
    background: #f8f9fa;
    border: none;
    border-right: 2px solid var(--border-color);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    min-width: 120px;
    justify-content: space-between;
    font-family: var(--font-primary);
}

.country-btn:hover {
    background: #e9ecef;
}

.flag-emoji {
    font-size: 18px;
    line-height: 1;
}

.country-btn .fas {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.country-btn.active .fas {
    transform: rotate(180deg);
}

.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
    max-height: 300px;
    overflow: hidden;
}

.country-dropdown.show {
    display: block;
}

.country-search-box {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.country-search-box input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    outline: none;
    font-family: var(--font-primary);
}

.country-search-box input:focus {
    border-color: var(--primary-color);
}

.country-options {
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

.country-options::-webkit-scrollbar {
    width: 6px;
}

.country-options::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.country-options::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.country-options::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.country-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid #f8f9fa;
}

.country-item:hover {
    background: #f8f9fa;
}

.country-item:last-child {
    border-bottom: none;
}

.country-item .country-name {
    flex: 1;
    font-size: 14px;
    font-family: var(--font-primary);
}

.country-item .country-code-text {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    font-family: var(--font-primary);
}

.phone-input-wrapper input[type="tel"] {
    flex: 1;
    padding: 15px 16px;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
    font-family: var(--font-primary);
}

.phone-example {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #666;
    font-style: italic;
    font-family: var(--font-primary);
}

.phone-example span {
    font-weight: 600;
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .country-btn {
        min-width: 100px;
        padding: 12px 14px;
    }
    
    .country-dropdown {
        max-height: 250px;
    }
    
    .country-options {
        max-height: 150px;
    }
}



/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%); /* Fix: Remove extra "255, 255, 255," */
  opacity: 0.6;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  font-family: var(--font-secondary);
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  color: #f5f5f5;
  padding: 80px 20px 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo h3 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 800;
}

.footer-logo span {
  color: var(--secondary-color);
}

.footer-logo p {
  color: #ccc;
  line-height: 1.7;
  font-size: 1rem;
}

.dashboard-btn {
  display: inline-block;
  background-color: #990100;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.dashboard-btn:hover {
  background-color: #660000;
}


.footer-section h4 {
  font-family: var(--font-secondary);
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  font-weight: 600;
  color: white;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

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

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.contact-info p {
  color: #ccc;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.contact-info i {
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #444;
  color: #999;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2.5rem;
  }

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

  .page-header h1 {
    font-size: 2.5rem;
  }

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

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

  .animated-menu {
    bottom: 15px;
    padding: 6px;
  }

  .menu-items {
    gap: 4px;
  }

  .menu-link {
    padding: 12px 16px;
    min-width: 70px;
    height: 58px;
  }

  .menu-content i {
    font-size: 1.2rem;
  }

  .menu-content span {
    font-size: 0.65rem;
  }

  .whatsapp-float {
    bottom: calc(var(--nav-height) + 15px);
    right: 15px;
  }

  .whatsapp-btn {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-row {
    justify-content: center;
    gap: 20px;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }
}

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

  .hero {
    padding: 80px 15px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .page-header {
    padding: 80px 15px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .animated-menu {
    bottom: 10px;
    padding: 4px;
  }

  .menu-link {
    padding: 10px 14px;
    min-width: 65px;
    height: 54px;
  }

  .menu-content i {
    font-size: 1.1rem;
  }

  .menu-content span {
    font-size: 0.6rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .whatsapp-float {
    bottom: calc(var(--nav-height) + 10px);
    right: 10px;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

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

  .contact-form-container {
    padding: 25px;
  }

  .form-header h3 {
    font-size: 1.6rem;
  }
}

/* Smooth theme transitions */
.animated-menu,
.menu-link,
.menu-content {
  transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-color
    0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ripple Effect Styles */
.menu-link {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
