:root {
  --primary: #ffffff;
  --secondary: #6b7280;
  --accent: #3b82f6;
  --electric: #6366f1;
  --light: #f9fafb;
  --dark: #1f2937;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-hover: rgba(255, 255, 255, 0.8);
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  color: #4b5563;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  padding-top: 80px;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.08) 0%, transparent 25%),
    radial-gradient(circle at 10% 90%, rgba(99, 102, 241, 0.08) 0%, transparent 25%),
    url('https://www.transparenttextures.com/patterns/clean-textile.png');
  z-index: -1;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Header & Navigation - Light and clean */
header {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid #e5e7eb !important;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1f2937;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-links a {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
  transition: var(--transition);
  padding: 8px 0;
}

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  right: 0;
  background: linear-gradient(90deg, var(--accent), var(--electric));
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover:after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(90deg, var(--accent), var(--electric));
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: 30px;
}

.hero h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 25px;
  color: #1f2937;
  background: linear-gradient(to right, #1f2937, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
  color: #6b7280;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-icon {
  min-width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  color: var(--accent);
  font-size: 1.2rem;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, var(--electric), var(--secondary));
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 5px 25px rgba(99, 102, 241, 0.4);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.outline-button {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.outline-button:hover {
  background: rgba(59, 130, 246, 0.1);
}

.hero-visual {
  position: relative;
  perspective: 1000px;
}

.hero-image {
  width: 100%;
  height: 500px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: rotateY(-5deg);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 70%),
    url('https://images.unsplash.com/photo-1581092921461-eab62e97a780?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') no-repeat center center / cover;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.elevator-status {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 22px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.status-text {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 1rem;
}

.indicator-light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* Sections */
section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  color: #1f2937;
}

.section-header h2:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--electric));
  bottom: -15px;
  right: 50%;
  transform: translateX(50%);
  border-radius: 4px;
}

.section-header p {
  max-width: 700px;
  margin: 40px auto 0;
  color: #6b7280;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Services Section */
.services {
  background: linear-gradient(to bottom, #ffffff, #f9fafb);
  position: relative;
  overflow: hidden;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.service-card:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  transform: rotate(30deg);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.service-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(10deg);
  background: rgba(59, 130, 246, 0.15);
}

.service-icon i {
  font-size: 3rem;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #1f2937;
}

.service-card p {
  color: #6b7280;
  margin-bottom: 25px;
  font-size: 1rem;
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.service-link i {
  transition: var(--transition);
}

.service-link:hover {
  color: var(--electric);
  gap: 12px;
}

/* Projects Section */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.project-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 400px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  text-decoration: none;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: var(--transition);
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  color: #1f2937;
}

.project-card:hover .project-content {
  background: rgba(255, 255, 255, 0.95);
}

.project-category {
  background: rgba(59, 130, 246, 0.2);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 12px;
  backdrop-filter: blur(10px);
}

.project-content h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #1f2937;
}

.project-content p {
  margin-bottom: 20px;
  color: #6b7280;
  max-width: 90%;
  opacity: 0.9;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: center;
}

.stats-visual {
  position: relative;
  perspective: 1000px;
}

.stats-image {
  width: 100%;
  height: 450px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, transparent 70%),
    url('https://images.unsplash.com/photo-1581092589497-ba71f0d0a78f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') no-repeat center center / cover;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: rotateY(5deg);
}

.stats-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.stat-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--electric));
  opacity: 0.7;
  transition: var(--transition);
 }

.stat-card:hover::before {
  height: 100%;
  opacity: 0.05;
}

.stat-card i {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 15px;
  transition: var(--transition);
}

.stat-card:hover i {
  color: var(--electric);
  transform: scale(1.1);
}

.stat-card .number {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 8px;
  color: var(--accent);
}

.stat-card .label {
  color: #6b7280;
  font-size: 1rem;
  font-weight: 500;
}

.placeholder-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px dashed var(--glass-border);
  border-radius: 20px;
  padding: 40px 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  transition: var(--transition);
}

.placeholder-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.placeholder-card i {
  font-size: 3.5rem;
  color: rgba(107, 114, 128, 0.2);
  margin-bottom: 15px;
}

.placeholder-card p {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.placeholder-card small {
  color: #9ca3af;
  font-size: 0.9rem;
}

/* PDF PROFILE */
.profile-header {
  background: var(--glass);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.profile-header h3 {
  color: #1f2937;
  margin-bottom: 10px;
}

.profile-header p {
  color: #6b7280;
  font-size: 1rem;
}

.pdf-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 0;
  position: relative;
}

.pdf-icon-wrapper {
  position: relative;
  margin-bottom: 25px;
}

.pdf-icon {
  width: 100px;
  height: 130px;
  background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.6));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.pdf-icon::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 70px;
  background: rgba(255,255,255,0.2);
  transform: rotate(45deg);
  top: -25px;
  right: -25px;
}

.pdf-icon i {
  font-size: 3rem;
  color: #ef4444;
  z-index: 2;
}

.pdf-badge {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent), var(--electric));
  color: white;
  padding: 4px 16px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.file-info {
  text-align: center;
  margin-top: 15px;
}

.file-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 250px;
}

.file-size {
  color: #6b7280;
  font-size: 0.9rem;
}

.profile-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.profile-btn {
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  cursor: pointer;
}

.profile-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--electric));
  z-index: -1;
  transition: var(--transition);
}

.profile-btn.view {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.profile-btn.view::before {
  opacity: 0;
}

.profile-btn.view:hover::before {
  opacity: 1;
}

.profile-btn.view:hover {
  color: white;
}

.profile-btn.download {
  background: linear-gradient(90deg, var(--accent), var(--electric));
  color: white;
}

.profile-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.profile-description {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.7;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-form {
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 40px 35px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  text-align: center;
  color: #1f2937;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: #1f2937;
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.7);
  color: #1f2937;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.submit-btn {
  background: linear-gradient(90deg, var(--accent), var(--electric));
  color: white;
  border: none;
  padding: 16px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.contact-info {
  padding: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-icon {
  min-width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.contact-icon i {
  color: var(--accent);
  font-size: 1.5rem;
}

.contact-text h4 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #1f2937;
}

.contact-text p {
  color: #6b7280;
  font-size: 1.1rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

/* Footer */
footer {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  padding: 70px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.main-column {
  grid-column: 1 / 2;
}

.footer-column h3 {
  color: #1f2937;
  font-size: 1.1rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  width: 35px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--electric));
  bottom: -8px;
  left: 0;
  border-radius: 3px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #1f2937;
  text-decoration: none;
}

.footer-text {
  color: #6b7280;
  margin-bottom: 25px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #6b7280;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  color: var(--accent);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  gap: 10px;
}

.footer-links a:hover i {
  color: var(--electric);
}

.copyright {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: #6b7280;
  font-size: 0.95rem;
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes float {
  0% { transform: translateY(0) translateX(0) rotate(0deg); }
  50% { transform: translateY(-15px) translateX(8px) rotate(2deg); }
  100% { transform: translateY(0) translateX(0) rotate(0deg); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form messages */
.success-message {
  background: #d1fae5;
  color: #065f46;
  padding: 12px;
  border-radius: 6px;
  margin: 15px 0;
  border: 1px solid #a7f3d0;
  text-align: center;
}

.error {
  color: #ef4444;
  font-size: 0.85em;
  margin-top: 5px;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 3.2rem;
  }
}

@media (max-width: 992px) {
  .hero-grid,
  .stats-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 100px;
    height: auto;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.6rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .service-grid,
  .project-grid,
  .stats-content {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
  
  .contact-info {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 0 20px;
  }
  
  section {
    padding: 80px 0;
  }
}


/* Additional CSS for new elements */
.more-projects {
  text-align: center;
  margin-top: 40px;
  }    

.project-card {
  position: relative;
  display: block;
  text-decoration: none;
  }
  
.project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  }

nav .mobile-menu-toggle {
  display: none !important;
  background: linear-gradient(90deg, var(--accent), var(--electric)) !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 1.5rem !important;
  cursor: pointer !important;
  padding: 12px !important;
  z-index: 1002 !important;
  position: relative !important;
  width: 50px !important;
  height: 50px !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}

nav .mobile-menu-toggle:hover {
  transform: scale(1.05) !important;
}

.mobile-nav {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  z-index: 1001 !important;
  padding: 100px 20px 40px !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  overflow-y: auto !important;
}

.mobile-nav.active {
  display: flex !important;
}

.mobile-nav-links {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 15px !important;
  width: 100% !important;
  max-width: 400px !important;
}

.mobile-nav-links a {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
  text-decoration: none !important;
  padding: 15px 25px !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
  min-height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
  background: rgba(59, 130, 246, 0.05) !important;
  border: 1px solid rgba(59, 130, 246, 0.1) !important;
}

.mobile-nav-links a:hover {
  background: rgba(59, 130, 246, 0.1) !important;
  color: var(--accent) !important;
  transform: translateX(5px) !important;
}

.mobile-nav .nav-cta {
  background: linear-gradient(90deg, var(--accent), var(--electric)) !important;
  color: white !important;
  margin-top: 20px !important;
  width: 100% !important;
  max-width: 400px !important;
  text-align: center !important;
  padding: 16px !important;
  border-radius: 12px !important;
}

.mobile-menu-close {
  position: absolute !important;
  top: 30px !important;
  right: 30px !important;
  background: rgba(59, 130, 246, 0.1) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.5rem !important;
  color: #1f2937 !important;
  cursor: pointer !important;
  z-index: 1003 !important;
  transition: all 0.3s ease !important;
}

.mobile-menu-close:hover {
  background: rgba(59, 130, 246, 0.2) !important;
  transform: rotate(90deg) !important;
}

.mobile-menu-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.5) !important;
  z-index: 1000 !important;
  display: none !important;
}

.mobile-menu-overlay.active {
  display: block !important;
}

/* CONSOLIDATED RESPONSIVE DESIGN - OVERRIDE ALL EXISTING MEDIA QUERIES */

/* Medium Devices (768px and down) - MAIN MOBILE BREAKPOINT */
@media (max-width: 768px) {
  /* FORCE SHOW MOBILE MENU TOGGLE */
  nav .mobile-menu-toggle {
    display: flex !important;
  }
  
  /* FORCE HIDE DESKTOP NAVIGATION */
  .nav-links {
    display: none !important;
  }
  
  .nav-cta {
    display: none !important;
  }
  
  /* Container adjustments */
  .container {
    padding: 0 25px !important;
  }
  
  /* Hero section - FORCE MOBILE LAYOUT */
  .hero {
    padding-top: 120px !important;
    height: auto !important;
    min-height: 100vh !important;
  }
  
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center !important;
  }
  
  .hero-content {
    order: 1 !important;
  }
  
  .hero-visual {
    order: 2 !important;
    margin-top: 0 !important;
  }
  
  .hero h1 {
    font-size: 2.4rem !important;
    margin-bottom: 20px !important;
  }
  
  .hero p {
    font-size: 1.1rem !important;
    margin-bottom: 30px !important;
  }
  
  .hero-features {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
  }
  
  .hero-buttons {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  
  /* Section adjustments */
  section {
    padding: 80px 0 !important;
  }
  
  .section-header {
    margin-bottom: 50px !important;
  }
  
  .section-header h2 {
    font-size: 2.2rem !important;
  }
  
  .section-header p {
    font-size: 1rem !important;
    margin-top: 20px !important;
  }
  
  /* FORCE SINGLE COLUMN LAYOUTS */
  .service-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
  
  .project-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
  
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  .stats-content {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  
  /* Service cards */
  .service-card {
    padding: 30px 25px !important;
  }
  
  /* Contact form */
  .contact-form {
    padding: 30px 25px !important;
  }
  
  .contact-info {
    padding: 20px 0 !important;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
  }
  
  /* IMPROVED TOUCH TARGETS */
  .cta-button,
  .nav-cta,
  .submit-btn {
    min-height: 48px !important;
    padding: 14px 24px !important;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 16px 20px !important;
    font-size: 16px !important; /* Prevents zoom on iOS */
  }
  
  .service-link {
    padding: 10px 0 !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  
  .whatsapp-float {
    width: 56px !important;
    height: 56px !important;
    bottom: 20px !important;
    right: 20px !important;
  }
  
  /* IMPROVED TYPOGRAPHY */
  body {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  
  .feature-item h4 {
    font-size: 1.1rem !important;
  }
  
  .feature-item p {
    font-size: 0.9rem !important;
  }
  
  .service-card h3 {
    font-size: 1.4rem !important;
  }
  
  .service-card p {
    font-size: 0.95rem !important;
  }
  
  .project-content h3 {
    font-size: 1.3rem !important;
  }
  
  .project-content p {
    font-size: 0.9rem !important;
  }
  
  .stat-card .number {
    font-size: 2rem !important;
  }
  
  .stat-card .label {
    font-size: 0.9rem !important;
  }
}

/* Large Mobile Devices (576px and down) */
@media (max-width: 576px) {
  .container {
    padding: 0 20px !important;
  }
  
  .hero h1 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  .hero p {
    font-size: 1rem !important;
  }
  
  .section-header h2 {
    font-size: 1.9rem !important;
  }
  
  .hero-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }
  
  .cta-button {
    width: 100% !important;
    text-align: center !important;
    padding: 16px 20px !important;
  }
  
  .stats-content {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
  
  .hero-image {
    height: 300px !important;
  }
  
  .project-card {
    height: 300px !important;
  }
  
  /* Mobile menu adjustments for smaller screens */
  .mobile-nav-links a {
    padding: 12px 20px !important;
    font-size: 1.1rem !important;
  }
  
  .mobile-menu-close {
    top: 20px !important;
    right: 20px !important;
    width: 45px !important;
    height: 45px !important;
  }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding-top: 100px !important;
    min-height: auto !important;
  }
  
  .hero-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    align-items: center !important;
  }
  
  .hero-content {
    order: 1 !important;
  }
  
  .hero-visual {
    order: 2 !important;
  }
  
  .hero h1 {
    font-size: 2rem !important;
  }
  
  .hero-image {
    height: 250px !important;
  }
  
  /* Adjust mobile menu for landscape */
  .mobile-nav {
    padding: 80px 20px 30px !important;
  }
  
  .mobile-nav-links {
    gap: 10px !important;
  }
  
  .mobile-nav-links a {
    padding: 10px 15px !important;
    min-height: 40px !important;
    font-size: 1rem !important;
  }
}

/* Fix for form elements on iOS */
@media (max-width: 768px) {
  .form-group input,
  .form-group textarea,
  .form-group select {
    -webkit-appearance: none !important;
    border-radius: 8px !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
  }
}

/* Extra Small Devices (320px and up) */
@media (max-width: 320px) {
  .container {
    padding: 0 15px !important;
  }
  
  .hero h1 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
  }
  
  .hero p {
    font-size: 1rem !important;
  }
  
  .section-header h2 {
    font-size: 1.8rem !important;
  }
  
  .cta-button {
    padding: 14px 24px !important;
    font-size: 1rem !important;
  }
  
  .hero-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }
  
  .hero-features {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  /* Mobile menu adjustments for extra small screens */
  .mobile-nav {
    padding: 80px 15px 30px !important;
  }
  
  .mobile-nav-links a {
    padding: 10px 15px !important;
    font-size: 1rem !important;
  }
  
  .mobile-menu-close {
    top: 15px !important;
    right: 15px !important;
    width: 40px !important;
    height: 40px !important;
  }
}

/* Small Devices (321px to 480px) */
@media (min-width: 321px) and (max-width: 480px) {
  .container {
    padding: 0 20px !important;
  }
  
  .hero h1 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  .hero p {
    font-size: 1.1rem !important;
  }
  
  .section-header h2 {
    font-size: 2rem !important;
  }
  
  .hero-features {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}
