/* ================================
   EEVU Software Services - Modern Responsive Styles
   ================================ */

/* ====== CSS Variables ====== */
:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #f093fb;
  --dark-bg: #0f0f23;
  --light-bg: #ffffff;
  --text-primary: #1a1a2e;
  --text-secondary: #6b7280;
  --text-light: #ffffff;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-vattam: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

/* ====== Global Styles ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

/* ====== Navigation ====== */
#mainNav {
  padding: 1rem 0;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  z-index: 1000;
}

#mainNav.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
  background: rgba(15, 15, 35, 0.98);
}

.navbar-brand {
  padding: 0;
}

.logo-img {
  height: 57px;
  width: auto;
  transition: var(--transition);
  background: #fff;
  padding: 5px;
  border: 10px 0 aliceblue;
  border-radius: 10px;
  backdrop-filter: blur(30px);
}

#mainNav.scrolled .logo-img {
  height: 35px;
}

.navbar-nav {
  align-items: center;
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-color) !important;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.btn-cta {
  background: var(--gradient-primary);
  color: white !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 25px;
  margin-left: 1rem;
}

.nav-link.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* ====== Hero Section ====== */
.hero-section {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  transform: translateY(-2px);
}

.hero-stats {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img.floating {
  animation: float 6s ease-in-out infinite;
}

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

/* ====== Vattam.ai Section ====== */
.vattam-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8eeff 100%);
  position: relative;
  overflow: hidden;
}

.vattam-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-color);
}

.vattam-brand {
  background: var(--gradient-vattam);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.vattam-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.vattam-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.vattam-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.vattam-feature-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 12px;
}

.feature-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

.btn-vattam {
  background: var(--gradient-vattam);
  border: none;
  color: white;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-vattam:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
  color: white;
}

.btn-outline-vattam {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-outline-vattam:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.vattam-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.vattam-card {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.vattam-card-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ai-brain svg {
  width: 100%;
  height: 100%;
}

.pulse-ring {
  animation: pulse 2s ease-out infinite;
  opacity: 0.6;
}

@keyframes pulse {
  0% {
    stroke-opacity: 1;
    r: 20;
  }
  100% {
    stroke-opacity: 0;
    r: 80;
  }
}

/* ====== Services Section ====== */
.services-section {
  padding: 100px 0;
  background: white;
}

.service-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e5e7eb;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

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

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

.service-card.featured {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

.service-card.featured .service-title,
.service-card.featured .service-description,
.service-card.featured .service-list li {
  color: white;
}

.service-card.featured .service-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8eeff 100%);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.service-card.featured .service-list li::before {
  color: white;
}

/* ====== Portfolio Section ====== */
.portfolio-section {
  padding: 100px 0;
  background: white;
}

.portfolio-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e5e7eb;
  transition: var(--transition);
  height: 100%;
}

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

.portfolio-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 300px;
  border-radius: 12px;
}

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

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

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

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

.portfolio-links {
  text-align: center;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

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

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-category {
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.portfolio-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.portfolio-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8eeff 100%);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

/* ====== About Section ====== */
.about-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8eeff 100%);
}

.about-image img {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.about-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

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

.about-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-item {
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.highlight-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.highlight-item h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.highlight-item p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.95rem;
}

/* ====== Contact Section ====== */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
  color: var(--text-light);
}

.map-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: white;
}

.map-wrapper iframe {
  display: block;
  width: 100%;
}

.contact-info {
  padding-right: 2rem;
}

.contact-methods {
  margin-top: 3rem;
}

.contact-method {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 12px;
  color: white;
}

.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: white;
}

.contact-details a {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-details a:hover {
  color: white;
}

.contact-details p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}

.contact-form-wrapper {
  background: white;
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.contact-form .form-label {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-form .form-control,
.contact-form .form-select {
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  outline: none;
}

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

/* ====== Footer ====== */
.footer {
  background: #0a0a15;
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
  transition: var(--transition);
  background: #fff;
  padding: 5px;
  border: 10px 0 aliceblue;
  border-radius: 10px;
  backdrop-filter: blur(30px);
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

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

.social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-3px);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0.5rem 0;
}

/* ====== Scroll to Top Button ====== */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* ================================
   RESPONSIVE BREAKPOINTS
   ================================ */

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Desktop (1200px and up) */
@media (min-width: 1200px) {
  .hero-stats .row > div {
    text-align: center;
  }
}

/* Tablet Landscape (992px to 1199px) */
@media (max-width: 1199px) {
  .hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }
  
  .section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  }
  
  .nav-link.btn-cta {
    margin-left: 0.5rem;
    padding: 0.5rem 1.25rem !important;
  }
}

/* Tablet Portrait (768px to 991px) */
@media (max-width: 991px) {
  /* Navigation */
  .navbar-collapse {
    background: rgba(15, 15, 35, 0.98);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
  }
  
  .nav-link.btn-cta {
    margin: 0.5rem 0;
    text-align: center;
  }
  
  /* Hero Section */
  .hero-section {
    padding-top: 100px;
  }
  
  .hero-cta {
    justify-content: flex-start;
  }
  
  .hero-cta .btn {
    flex: 1;
    min-width: 200px;
  }
  
  .hero-stats {
    margin-top: 2rem;
  }
  
  .hero-image {
    margin-top: 3rem;
  }
  
  /* Vattam Section */
  .vattam-section {
    padding: 60px 0;
  }
  
  .vattam-visual {
    margin-top: 3rem;
    padding: 1rem;
  }
  
  .vattam-card {
    max-width: 350px;
  }
  
  /* Services */
  .services-section {
    padding: 60px 0;
  }
  
  /* Portfolio */
  .portfolio-section {
    padding: 60px 0;
  }
  
  .portfolio-images {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .portfolio-image {
    height: 250px;
  }
  
  /* About */
  .about-section {
    padding: 60px 0;
  }
  
  .about-image {
    margin-bottom: 3rem;
  }
  
  /* Contact */
  .contact-section {
    padding: 60px 0;
  }
  
  .contact-info {
    padding-right: 0;
    margin-bottom: 3rem;
  }
  
  .contact-form-wrapper {
    padding: 2rem;
  }
  
  /* Map */
  .map-wrapper {
    height: 350px !important;
    border-radius: 16px;
  }
  
  .map-wrapper iframe {
    height: 350px !important;
  }
}

/* Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {
  /* Typography */
  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  
  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  
  .section-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
  }
  
  /* Spacing */
  .hero-section,
  .vattam-section,
  .services-section,
  .about-section,
  .contact-section {
    padding: 50px 0;
  }
  
  /* Hero */
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .hero-stats .row {
    text-align: center;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
  
  /* Vattam */
  .vattam-brand {
    font-size: 2rem;
  }
  
  .vattam-badge {
    font-size: 0.75rem;
  }
  
  .vattam-feature-item {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin: 0 auto;
  }
  
  .vattam-cta {
    flex-direction: column;
  }
  
  .vattam-cta .btn {
    width: 100%;
    margin: 0.5rem 0 !important;
  }
  
  /* Services */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .service-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .service-title {
    font-size: 1.25rem;
  }
  
  /* Contact */
  .contact-method {
    padding: 1rem;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
  }
  
  .contact-form-wrapper {
    padding: 1.5rem;
  }
  
  .contact-form .form-control,
  .contact-form .form-select {
    padding: 0.75rem 1rem;
  }
  
  /* Footer */
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer .col-lg-4,
  .footer .col-lg-2,
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
  
  .social-links {
    justify-content: flex-start;
  }
  
  /* Scroll to Top */
  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
  /* Global */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Navigation */
  .logo-img {
    height: 45px;
  }
  
  #mainNav.scrolled .logo-img {
    height: 45px;
  }
  
  /* Hero */
  .hero-section {
    padding-top: 80px;
  }
  
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-stats {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  
  .hero-stats .col-4 {
    margin-bottom: 1rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  /* Buttons */
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Vattam */
  .vattam-section {
    padding: 40px 0;
  }
  
  .vattam-badge {
    font-size: 0.7rem;
    padding: 0.4rem 1rem;
  }
  
  .vattam-brand {
    font-size: 1.75rem;
  }
  
  .vattam-description {
    font-size: 1rem;
  }
  
  .vattam-card {
    max-width: 280px;
  }
  
  .vattam-feature-item {
    padding: 1rem;
  }
  
  .feature-content h4 {
    font-size: 1.1rem;
  }
  
  .feature-content p {
    font-size: 0.9rem;
  }
  
  /* Services */
  .services-section {
    padding: 40px 0;
  }
  
  /* Portfolio */
  .portfolio-section {
    padding: 40px 0;
  }
  
  .portfolio-images {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .portfolio-image {
    height: 200px;
  }
  
  .portfolio-content {
    padding: 1.25rem;
  }
  
  .portfolio-title {
    font-size: 1.25rem;
  }
  
  .service-card {
    padding: 1.25rem;
  }
  
  /* About */
  .about-section {
    padding: 40px 0;
  }
  
  .about-content {
    font-size: 1rem;
  }
  
  .about-highlights {
    gap: 1rem;
  }
  
  .highlight-item {
    padding: 1rem;
  }
  
  .highlight-item h4 {
    font-size: 1.1rem;
  }
  
  /* Contact */
  .contact-section {
    padding: 40px 0;
  }
  
  .contact-method {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .contact-icon {
    margin: 0 auto 1rem;
  }
  
  .contact-form-wrapper {
    padding: 1.25rem;
  }
  
  /* Map */
  .map-wrapper {
    height: 300px !important;
    border-radius: 12px;
  }
  
  .map-wrapper iframe {
    height: 300px !important;
  }
  
  /* Footer */
  .footer {
    padding: 2.5rem 0 1rem;
  }
  
  .footer-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
}

/* Extra Small Devices (up to 375px) */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .hero-cta .btn,
  .vattam-cta .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .vattam-card {
    max-width: 250px;
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
  }
  
  .contact-form-wrapper {
    padding: 1rem;
  }
}

/* Landscape Mode Fix for Small Devices */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
    padding: 100px 0 50px;
  }
  
  .hero-stats {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .scroll-top-btn,
  .hero-cta,
  .vattam-cta,
  .contact-form-wrapper {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero-section,
  .vattam-section,
  .services-section,
  .about-section,
  .contact-section,
  .footer {
    background: white !important;
    color: black !important;
  }
}

