/* Professional Oil & Gas Landing Page - Production Ready CSS */
/* Clean design with professional color scheme */

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

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --primary: #1a365d;
  --primary-light: #2d5a87;
  --primary-dark: #0f2439;
  --accent: #3182ce;
  --surface: #f7fafc;
  --surface-glass: rgba(247, 250, 252, 0.95);
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --white: #ffffff;
  --gray-100: #f7fafc;
  --gray-200: #edf2f7;
  --gray-300: #e2e8f0;
  --shadow-light: 0 4px 20px rgba(26, 54, 93, 0.08);
  --shadow-medium: 0 10px 30px rgba(26, 54, 93, 0.12);
  --shadow-heavy: 0 20px 40px rgba(26, 54, 93, 0.15);
  --border-radius: 1rem;
  --border-radius-large: 2rem;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface);
  overflow-x: hidden; /* Prevent horizontal scroll */
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100vw;
}

/* ===== MODERN SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-200);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  border-radius: 10px;
  border: 2px solid var(--gray-200);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    var(--primary-dark) 0%,
    var(--primary) 100%
  );
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--gray-200);
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  z-index: 9999;
  transition: width 0.1s ease;
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
    max-width: 100%;
  }
}

/* ===== FIXED NAVBAR SPACING ===== */
/* Ensure content doesn't go behind fixed navbar */
body {
  padding-top: 0;
}

main {
  position: relative;
  z-index: 1;
}

/* Special handling for pages with navbar + hero structure */
nav.navbar + main .hero {
  padding-top: 100px;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 50%,
    var(--primary-light) 100%
  );
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://images.unsplash.com/photo-1578662996442-48f60103fc96?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  width: 100%;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 400;
  opacity: 0.9;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-features span {
  background: var(--surface-glass);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-medium);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
  background: var(--primary-light);
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .hero-features {
    gap: 0.8rem;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
  }

  .hero-features span {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .cta-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-features span {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  .cta-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--gray-300);
  z-index: 10000;
  transition: var(--transition);
  width: 100%;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  width: 100%;
  max-width: 1200px;
  background: white;
}

.nav-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  flex-shrink: 0;
  background: white;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
  background: white;
}

.navbar ul li a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition-fast);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.navbar ul li a:hover {
  color: var(--accent);
  background: var(--gray-100);
}

.navbar ul li a.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  font-weight: 600;
  box-shadow: var(--shadow-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  transition: var(--transition-fast);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .navbar .container {
    padding: 1rem;
    width: 100%;
  }

  .nav-brand {
    font-size: 1.5rem;
  }

  .nav-toggle {
    display: flex;
    padding: 8px;
    margin: -8px;
    position: relative;
    z-index: 10001;
  }

  .navbar ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    /* background: var(--surface-glass); */
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    border-top: 1px solid var(--gray-300);
    max-width: 100vw;
    overflow: hidden;
    z-index: 9999;
  }

  .navbar ul li {
    width: 100%;
  }

  .navbar ul li a {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
    border-radius: var(--border-radius);
    display: block;
  }

  .navbar ul.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* Fix for service pages - ensure proper spacing */
  .service-hero {
    margin-top: 70px !important;
  }
}

/* ===== SERVICE HERO SECTION ===== */
.service-hero-solid {
  min-height: 60vh;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 100%
  );
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.service-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
}

.service-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.service-hero-content p {
  font-size: 1.3rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .service-hero-content h1 {
    font-size: 2rem;
  }

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

  .service-hero-solid {
    min-height: 50vh;
    margin-top: 70px;
  }
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 0;
  position: relative;
}

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

.section-header.centered {
  text-align: center;
}

.section-header h2 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== IMAGE PLACEHOLDERS ===== */
.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
  border: 2px dashed var(--primary);
  border-radius: var(--border-radius-large);
  color: var(--primary);
  text-align: center;
  transition: var(--transition);
}

.image-placeholder:hover {
  background: linear-gradient(
    135deg,
    var(--gray-300) 0%,
    var(--primary) 5%,
    var(--gray-300) 100%
  );
  transform: scale(1.02);
}

.image-placeholder span {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.image-placeholder p {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

.founder-placeholder {
  width: 250px;
  height: 250px;
  border-radius: 50%;
}

.contact-placeholder {
  width: 100%;
  height: 400px;
}

.icon-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-medium);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.founder-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: var(--transition);
}

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

.founder-info h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 1.5rem 0 0.5rem;
  font-weight: 600;
}

.founder-info p {
  color: var(--accent);
  font-weight: 500;
  margin: 0;
}

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

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--surface);
  border-radius: var(--border-radius);
  border: 2px solid var(--gray-300);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

/* ===== VISION & MISSION SECTIONS ===== */
.vision-section,
.mission-section {
  background: var(--surface);
}

.vision-mission-card {
  background: var(--white);
  padding: 4rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-light);
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.card-content h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.card-content .subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 500;
}

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

.vision-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--border-radius);
  font-weight: 500;
  color: var(--text-primary);
}

.highlight-icon {
  font-size: 1.5rem;
}

.mission-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
  text-align: left;
}

.mission-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.mission-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.mission-text h4 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.mission-text p {
  margin: 0;
  color: var(--text-secondary);
}

/* ===== GOALS SECTION ===== */
.goals-section {
  background: var(--white);
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.goal-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.goal-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--accent);
}

.goal-content h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.goal-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.goal-progress {
  margin-top: 1.5rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--gray-300);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 10px;
  transition: width 0.8s ease;
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .vision-highlights {
    grid-template-columns: 1fr;
  }

  .goals-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .vision-highlights {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .section-header p {
    font-size: 1.1rem;
  }

  /* Hero Section Mobile */
  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  .hero-features {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-features span {
    font-size: 0.95rem;
  }

  /* About Section Mobile */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 300px;
    margin: 2rem auto 0;
  }

  .founder-card {
    padding: 1.5rem;
  }

  .founder-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }

  /* Vision & Mission Mobile */
  .vision-mission-card {
    padding: 2.5rem 1.5rem;
    margin: 0 1rem;
  }

  .card-content h2 {
    font-size: 2rem;
  }

  .card-content .subtitle {
    font-size: 1.1rem;
  }

  .card-content p {
    font-size: 1rem;
  }

  .mission-grid {
    gap: 1.5rem;
  }

  .mission-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .mission-number {
    margin: 0 auto;
  }

  /* Goals Section Mobile */
  .goals-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .goal-card {
    padding: 2rem 1.5rem;
  }

  /* Services Section Mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  /* Contact Section Mobile */
  .contact-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-image {
    flex: none;
    max-width: 100%;
    order: -1;
  }

  .contact-placeholder {
    height: 200px;
  }

  .form-row {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .contact-form {
    padding: 1.5rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .form-group {
    width: 100%;
    margin-bottom: 1rem;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .form-group textarea {
    min-height: 100px;
  }

  .contact-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }

  .contact-content {
    width: 100%;
  }

  .contact-content h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  /* Footer Mobile */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-col ul {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cta-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .vision-mission-card {
    padding: 2rem 1rem;
    margin: 0 0.5rem;
  }

  .card-content h2 {
    font-size: 1.8rem;
  }

  .goal-card,
  .service-card {
    padding: 1.5rem 1rem;
  }

  .founder-placeholder {
    width: 150px;
    height: 150px;
  }

  .about-stats {
    max-width: 250px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .contact-placeholder {
    height: 150px;
  }

  /* Enhanced mobile contact form */
  .contact-form {
    padding: 1rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.8rem;
    font-size: 16px;
  }

  .contact-content h2 {
    font-size: 1.6rem;
  }

  .contact-btn {
    padding: 0.8rem;
    font-size: 0.95rem;
  }
}

/* ===== SERVICES SECTION ===== */
.services-section h2 {
  font-size: 2.8rem;
  text-align: center;
  color: var(--primary);
  margin-bottom: 3rem;
  font-weight: 700;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-light);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--accent);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.service-link:hover {
  background: var(--accent);
  color: var(--white);
}

/* ===== CONTACT SECTION ===== */
.contact-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-image {
  flex: 0 0 300px;
}

.contact-image .image-placeholder {
  width: 100%;
  height: 400px;
}

.contact-content {
  flex: 1;
}

.contact-content h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 700;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-light);
  margin-bottom: 2rem;
  border: 1px solid var(--gray-200);
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

.form-group.full-width {
  flex: none;
  width: 100%;
}

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

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-fast);
  background: var(--gray-100);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

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

/* Phone Input Styles */
.phone-input-container {
  display: flex;
  gap: 0;
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition-fast);
}

.phone-input-container:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.country-code-select {
  background: var(--gray-100);
  border: none;
  padding: 1rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  outline: none;
  min-width: 140px;
  max-width: 160px;
  border-right: 1px solid var(--gray-300);
}

.country-code-select:focus {
  background: var(--surface);
}

.phone-input-container input[type="tel"] {
  flex: 1;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  outline: none;
  background: var(--white);
  min-width: 0; /* Allow flex shrinking */
}

.phone-input-container input[type="tel"]:focus {
  outline: none;
}

.contact-btn {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.contact-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.contact-info {
  background: var(--gray-100);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  border: 1px solid var(--gray-200);
}

.contact-info h4 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-info p {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.contact-info strong {
  color: var(--primary);
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-image {
    flex: none;
    width: 100%;
  }

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

  .contact-form {
    padding: 1.5rem;
  }

  /* Mobile phone input adjustments */
  .country-code-select {
    min-width: 110px;
    max-width: 120px;
    font-size: 0.8rem;
    padding: 1rem 0.5rem;
  }

  .phone-input-container {
    flex-direction: row; /* Keep horizontal on mobile for better UX */
  }

  .phone-input-container input[type="tel"] {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* ===== FOOTER ===== */
.footer-glass {
  background: var(--white);
  border-top: 3px solid var(--primary);
  margin-top: 4rem;
  box-shadow: var(--shadow-light);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-col h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

.footer-col ul li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

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

.footer-social-link {
  display: inline-block;
  padding: 0.75rem;
  background: var(--gray-100);
  border-radius: 50%;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.footer-social-link img {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%)
    hue-rotate(190deg) brightness(87%) contrast(87%);
}

.footer-social-link:hover img {
  filter: brightness(0) saturate(100%) invert(100%);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--gray-300);
  color: var(--text-light);
  background: var(--gray-100);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem 1rem;
  }

  .footer-col {
    min-width: 0;
  }
}

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

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  z-index: 9999;
  transition: width 0.1s ease;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-medium);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

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

.scroll-to-top:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-heavy);
}

.scroll-to-top:active {
  transform: translateY(-1px) scale(1.05);
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

/* ===== ANIMATIONS & INTERACTIONS ===== */
/* Pulse animation for emergency contacts */
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

/* Slide up animation for sections */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Scale animation for cards */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Section reveal animations */
.about-section,
.vision-section,
.mission-section,
.goals-section,
.services-section {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition-slow);
  will-change: opacity, transform;
}

.about-section.visible,
.vision-section.visible,
.mission-section.visible,
.goals-section.visible,
.services-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for cards */
.service-card,
.goal-card,
.stat-card,
.founder-card,
.vision-mission-card {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: var(--transition);
  will-change: opacity, transform;
}

.service-card.animate,
.goal-card.animate,
.stat-card.animate,
.founder-card.animate,
.vision-mission-card.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Enhanced hover effects */
.service-card:hover,
.goal-card:hover,
.stat-card:hover,
.founder-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-heavy);
  transition: var(--transition-fast);
}

.vision-mission-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
  transition: var(--transition-fast);
}

/* Navigation link animations */
.navbar ul li a {
  position: relative;
  transition: var(--transition-fast);
}

.navbar ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition-fast);
  transform: translateX(-50%);
}

.navbar ul li a:hover::after {
  width: 100%;
}

/* Button animations */
.cta-btn,
.contact-btn,
.service-link {
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.cta-btn::before,
.contact-btn::before,
.service-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: var(--transition);
}

.cta-btn:hover::before,
.contact-btn:hover::before,
.service-link:hover::before {
  left: 100%;
}

/* Progress bar animation */
.progress-fill {
  width: 0 !important;
  transition: width 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
  position: relative;
  overflow: hidden;
}

.progress-fill::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.goal-card.animate .progress-fill {
  width: var(--progress-width) !important;
}

/* Form input animations */
.form-group input,
.form-group textarea {
  transition: var(--transition-fast);
  position: relative;
}

.form-group input:focus,
.form-group textarea:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(49, 130, 206, 0.15);
}

.contact-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
.contact-link:hover,
.contact-link:focus {
  color: #3182ce; /* Mild blue */
  text-decoration: none;
}

/* Mobile touch feedback */
@media (hover: none) {
  .service-card:active,
  .goal-card:active,
  .stat-card:active,
  .cta-btn:active,
  .contact-btn:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
}

/* ===== SITE PROTECTION STYLES ===== */
/* Disable text selection and content protection */
.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

/* Prevent image dragging and right-click */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* Allow interaction with form elements */
input,
textarea,
select,
button {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
  pointer-events: auto !important;
}

/* Disable text highlighting globally */
*::selection {
  background: transparent;
}

*::-moz-selection {
  background: transparent;
}

/* But allow selection in form fields */
input::selection,
textarea::selection {
  background: #3182ce !important;
  color: white !important;
}

input::-moz-selection,
textarea::-moz-selection {
  background: #3182ce !important;
  color: white !important;
}

/* Protection overlay styles */
.protection-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  font-family: "Poppins", sans-serif;
}

.protection-message {
  text-align: center;
  padding: 40px;
  max-width: 500px;
}

.protection-message h1 {
  color: #ff4444;
  margin-bottom: 20px;
  font-size: 2rem;
}

.protection-message p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.protection-button {
  background: #3182ce;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.protection-button:hover {
  background: #2c5aa0;
}

/* Warning toast styles */
.protection-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #ff4444;
  color: white;
  padding: 15px 20px;
  border-radius: 5px;
  font-weight: 600;
  z-index: 10000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: "Poppins", sans-serif;
  animation: slideInToast 0.3s ease-out;
}

@keyframes slideInToast {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Console protection message */
.console-warning {
  color: #ff4444 !important;
  font-size: 20px !important;
  font-weight: bold !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Disable printing styles */
@media print {
  body {
    display: none !important;
  }
}

/* Mobile protection adjustments */
@media (max-width: 768px) {
  .protection-toast {
    top: 10px;
    right: 10px;
    left: 10px;
    font-size: 14px;
  }

  .protection-message {
    padding: 20px;
  }

  .protection-message h1 {
    font-size: 1.5rem;
  }
}
