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

:root {
  --primary-color: #C92033; /* Red */
  --primary-hover: #a61a29;
  --dark-bg: #1f2937; /* Charcoal */
  --darker-bg: #111827; /* Graphite */
  --light-bg: #f3f4f6; /* Off-white */
  --grey-bg: #e5e7eb; /* Concrete grey */
  --text-dark: #374151;
  --text-light: #f9fafb;
  --text-muted: #9ca3af;
  --white: #ffffff;
  --black: #000000;
  --transition: all 0.3s ease;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 8px;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--darker-bg);
}

p {
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

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

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

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 15px auto 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
  font-size: 1rem;
}

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

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

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--darker-bg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

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

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--dark-bg);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-cta {
  display: flex;
  align-items: center;
}

.hamburger {
  display: none;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-bg);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  margin-top: 0;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 24, 39, 0.65);
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
  padding: 0 20px;
  pointer-events: none;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--primary-color);
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active, .dot:hover {
  background-color: var(--primary-color);
}

.hero-content {
  position: relative;
  z-index: 10;
  color: var(--white);
  max-width: 800px;
}

.hero-content h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* Inner Page Hero */
.inner-hero {
  height: 400px;
  background-color: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-top: 80px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.inner-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 24, 39, 0.7);
}
.inner-hero-content {
  position: relative;
  z-index: 10;
}
.inner-hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 10px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Make first two services larger */
.services-grid .service-card:nth-child(1),
.services-grid .service-card:nth-child(2) {
  grid-column: span 2;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card-img {
  height: 200px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.services-grid .service-card:nth-child(1) .service-card-img,
.services-grid .service-card:nth-child(2) .service-card-img {
  height: 250px;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  position: absolute;
  top: -25px;
  right: 25px;
  box-shadow: var(--shadow-sm);
}

.service-card h3 {
  margin-bottom: 10px;
  margin-top: 10px;
}

.service-card p {
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.learn-more-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.learn-more-link i {
  transition: transform 0.3s ease;
}

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

.learn-more-link:hover {
  color: var(--primary-hover);
}

/* Why Choose Us Redesign */
.why-choose-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.wcu-image-wrapper {
  position: relative;
  border-radius: var(--radius);
}

.wcu-image-wrapper img {
  border-radius: var(--radius);
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  bottom: 30px;
  right: -30px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 30px 40px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.experience-badge .year {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.wcu-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 35px;
}

.wcu-feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.wcu-feature-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 3px;
}

.wcu-feature-item h4 {
  margin-bottom: 5px;
}

.wcu-feature-item p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 50px;
  border-radius: var(--radius);
  margin-top: 60px;
  text-align: center;
}

.stats-strip .stat-number {
  color: var(--primary-color);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

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

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-features {
  margin-top: 30px;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 500;
}
.about-features i {
  color: var(--primary-color);
}

/* Projects/Gallery */
.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}
.filter-btn {
  background: none;
  border: none;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  border-radius: 30px;
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}
.project-img {
  height: 250px;
  width: 100%;
  overflow: hidden;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-img img {
  transform: scale(1.1);
}
.project-info {
  padding: 20px;
}
.project-category {
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.project-info h3 {
  margin-bottom: 10px;
}
.project-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}
.contact-item:last-child {
  margin-bottom: 0;
}
.contact-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 5px;
}
.contact-details h4 {
  margin-bottom: 5px;
}
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form-group {
  margin-bottom: 20px;
}
.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--grey-bg);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Contact Map Container */
.map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}
.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

/* Leadership Section */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.leadership-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

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

.leadership-image-wrapper {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  padding: 5px;
  border: 3px solid var(--grey-bg);
  margin-bottom: 25px;
  overflow: hidden;
  transition: var(--transition);
}

.leadership-card:hover .leadership-image-wrapper {
  border-color: var(--primary-color);
}

.leadership-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.leadership-card:hover .leadership-image-wrapper img {
  transform: scale(1.05);
}

.leadership-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.leadership-card .designation {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.leadership-card .description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Statistics Section */
.stats-section {
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-card {
  padding: 20px;
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.stat-text {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

/* Footer */
.footer {
  background-color: var(--darker-bg);
  color: var(--text-light);
  padding: 80px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-col h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}
.footer-col p {
  color: var(--text-muted);
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--primary-color);
}
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}
.social-links a:hover {
  background-color: var(--primary-color);
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Floating Buttons */
.floating-btn {
  position: fixed;
  bottom: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 30px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-btn:hover {
  transform: scale(1.1);
  color: var(--white);
}
.whatsapp-btn {
  right: 30px;
  background-color: #25D366;
}
.call-btn {
  right: 105px;
  background-color: var(--primary-color);
}

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.bg-light { background-color: var(--white); }

/* Mobile Menu Active State */
.nav-links.active {
  display: flex !important;
}

/* Hide overflow when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 3rem; }
  .about-grid, .contact-grid, .why-choose-us-grid { gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card:nth-child(1),
  .services-grid .service-card:nth-child(2) { grid-column: auto; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-cta {
    display: none; /* Hide button on mobile header if space is tight */
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    gap: 20px;
    height: calc(100vh - 80px); /* Fill screen for better scroll/touch */
    overflow-y: auto;
  }
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  .nav-links.active {
    display: flex;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-content h1 { font-size: 2.5rem; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; }
  
  .about-grid, .why-choose-us-grid { grid-template-columns: 1fr; }
  .about-image, .wcu-image-wrapper { order: -1; }
  .experience-badge { right: 20px; bottom: 20px; padding: 20px; }
  .experience-badge .year { font-size: 2.5rem; }
  
  .stats-grid, .stats-strip { grid-template-columns: 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card, .contact-form { padding: 20px; }
  
  .services-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
  }
  .whatsapp-btn { right: 20px; }
  .call-btn { right: 80px; }
}

@media (max-width: 425px) {
  .hero-content h1 { font-size: 2rem; }
  .section { padding: 50px 0; }
  .section-title h2 { font-size: 2rem; }
  .projects-grid { grid-template-columns: 1fr; }
}
