@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Root Variables - Royal Blue Theme */
:root {
  /* Primary Colors - Royal Blue Theme */
  --royal-blue: #1E5EFF;
  --navy-blue: #0A2342;
  --electric-cyan: #00E0FF;
  --charcoal-gray: #2B2422;
  --silver-gray: #D99D99;
  --emerald-green: #2ECC71;
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-muted: #f1f5f9;
  --bg-card: #ffffff;
  
  /* Text Colors */
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  
  /* Border & Input */
  --border-color: #e2e8f0;
  --input-bg: #f8fafc;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  
  /* Font */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Base Styles */
body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 600; }
h3 { font-size: 2rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 500; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Buttons */
.btn-primary {
  background: var(--royal-blue);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--electric-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-outline:hover {
  background: white;
  color: var(--royal-blue);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
  padding: 1rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  background: #0b2464;
  color: white;
}

.navbar.scrolled {
  background: #0b2464;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  color: white;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

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

.logo {
  height: 2rem;
  width: 2rem;
  object-fit: contain;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: white;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--royal-blue);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: var(--text-secondary);
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  background: white;
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  margin-top: 1rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--royal-blue);
  background: var(--bg-muted);
}

/* Hero Section */
.hero-section {
  background: rgb(255, 255, 255);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem; 
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  animation: fadeIn 0.8s ease-out;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(45deg, var(--electric-cyan), var(--royal-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

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

.hero-image-container {
  position: relative;
  animation: fadeIn 1s ease-out 0.3s both;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.05);
}

.floating-stat {
  position: absolute;
  background: white;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.stat-left {
  top: -1rem;
  left: -1rem;
}

.stat-right {
  bottom: -1rem;
  right: -1rem;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--royal-blue);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background: var(--bg-muted);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  color: var(--royal-blue);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  max-width: 48rem;
  margin: 0 auto;
}

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

.about-img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
}

.about-story-title {
  color: var(--royal-blue);
  margin-bottom: 1.5rem;
}

.about-paragraph {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.mvv-card {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: transform 0.3s ease;
}

.mvv-card:hover {
  transform: translateY(-4px);
}

.mvv-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.vision-icon { background: rgba(30, 94, 255, 0.1); }
.mission-icon { background: rgba(46, 204, 113, 0.1); }
.values-icon { background: rgba(0, 224, 255, 0.1); }

.mvv-title {
  color: var(--royal-blue);
  margin-bottom: 1rem;
}

.mvv-text {
  color: var(--text-secondary);
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 5rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

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

.service-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.computer-icon { background: rgba(30, 94, 255, 0.1); }
.cctv-icon { background: rgba(46, 204, 113, 0.1); }
.network-icon { background: rgba(0, 224, 255, 0.1); }
.automation-icon { background: rgba(234, 179, 8, 0.1); }
.code-icon { background: rgba(147, 51, 234, 0.1); }
.amc-icon { background: rgba(239, 68, 68, 0.1); }

.service-title {
  color: var(--royal-blue);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  color: var(--text-secondary);
}

.service-features li {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

/* Why Choose Us */
.why-choose-section {
  background: linear-gradient(135deg, var(--royal-blue), var(--navy-blue));
  padding: 3rem 2rem;
  border-radius: 1rem;
  text-align: center;
  color: white;
}

.why-choose-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: white;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.why-choose-item {
  color: white;
}

.why-choose-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--electric-cyan);
}

.why-choose-item-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.why-choose-item-text {
  font-size: 0.875rem;
  opacity: 0.9;
  color: white;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background: var(--bg-muted);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-form-container {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-title {
  color: var(--royal-blue);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

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

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

.form-input,
.form-select,
.form-textarea {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  background: var(--input-bg);
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(30, 94, 255, 0.1);
}

.form-textarea {
  resize: none;
  font-family: inherit;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.contact-card-content {
  padding: 1.5rem;
}

.contact-card-title,
.contact-info-title {
  color: var(--royal-blue);
  margin-bottom: 1rem;
}

.contact-card-text {
  color: var(--text-secondary);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}

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

.contact-detail-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.address-icon { background: rgba(30, 94, 255, 0.1); }
.phone-icon { background: rgba(46, 204, 113, 0.1); }
.email-icon { background: rgba(0, 224, 255, 0.1); }
.gst-icon { background: rgba(234, 179, 8, 0.1); }

.contact-detail-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.contact-detail-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.business-hours {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
}

.business-hour {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.day {
  color: var(--text-primary);
  font-weight: 500;
}

.time {
  color: var(--text-secondary);
}

.emergency-support {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(46, 204, 113, 0.1);
  border-radius: 0.5rem;
}

.emergency-text {
  color: var(--emerald-green);
  font-weight: 500;
  font-size: 0.875rem;
  margin: 0;
}

/* Footer */
.footer {
  background: var(--royal-blue);
  color: white;
  padding: 3rem 0 1rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 2rem;
  width: 2rem;
  object-fit: contain;
}

.footer-brand-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-description {
  color: white;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-section-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-link-list,
.footer-service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--electric-cyan);
}

.footer-service-list li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-icon {
  color: var(--electric-cyan);
}

.contact-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

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

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--electric-cyan);
  color: var(--royal-blue);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
}

.footer-copyright {
  color: white;
  opacity: 0.9;
  font-size: 0.875rem;
  margin: 0;
}

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

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mvv-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-menu.active {
    display: block;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .why-choose-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }