/* =========================================
   Goal Gas Pvt. Ltd. | Global Styles
   ========================================= */

:root {
  /* Brand Colors */
  --color-green: #2e7d32;
  --color-green-light: #4caf50;
  --color-blue: #1565c0;
  --color-blue-dark: #0d47a1;
  --color-yellow: #f9a825;

  /* Neutral Colors */
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #fdfdfd;
  --color-bg-light: #f5f7f9;
  --color-white: #ffffff;

  /* Typography */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing & Layout */
  --section-padding: 5rem 1rem;
  --container-width: 1200px;
  --border-radius: 8px;
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Global branded scrollbar */
html {
    scrollbar-color: #2e7d32 #e8edf2;
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #f4f7fb 0%, #e8edf2 100%);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0d47a1 0%, #2e7d32 100%);
    border: 2px solid #e8edf2;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1565c0 0%, #f9a825 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-blue-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: var(--section-padding);
}

.bg-light {
  background-color: var(--color-bg-light);
}

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

.text-white * {
  color: var(--color-white);
}

.mt-4 {
  margin-top: 1.5rem;
}
.mt-5 {
  margin-top: 3rem;
}
.mb-4 {
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 500;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-green);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  background: var(--color-green-light);
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-blue-dark);
  border-color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-bg-light);
  color: var(--color-blue);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
}

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

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Typography Utilities */
.section-subtitle {
  color: var(--color-green);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
  width: 100%;
  z-index: 1000;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.navbar.scrolled {
  background-color: var(--color-white);
  padding: 1rem 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 4rem;
  transition: var(--transition-fast);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--color-text);
}

.navbar .nav-links a.btn-outline {
  color: var(--color-blue);
}

.navbar.scrolled .nav-links a.btn-outline {
  color: var(--color-blue);
}

.navbar.scrolled .nav-links a.btn-outline:hover {
  color: var(--color-white);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-green);
  transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.btn-outline::after {
  display: none;
}

/* Mobile Menu Icon */
.menu-icon {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.menu-icon span {
  width: 25px;
  height: 3px;
  background-color: var(--color-text);
  transition: var(--transition-fast);
}

.navbar.scrolled .menu-icon span {
  background-color: var(--color-text);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("../images/hero_bg.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1.5rem;
}

.hero h1 {
  color: var(--color-white);
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

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

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

.about-image img {
  transition: transform 0.5s;
}

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

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-white);
  padding: 2rem;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  box-shadow: var(--shadow-md);
  border: 5px solid var(--color-bg-light);
}

.experience-badge span {
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-transform: uppercase;
}

.experience-badge strong {
  font-size: 1.5rem;
  color: var(--color-green);
  font-family: var(--font-heading);
}

.feature-list {
  margin-top: 2rem;
}

.feature-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  font-weight: 500;
  color: var(--color-blue-dark);
}

.icon-check {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--color-green);
  border-radius: 50%;
  margin-right: 1rem;
  position: relative;
}

.icon-check::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 7px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* =========================================
   Services / Cards Section
   ========================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.card-img {
  height: 220px;
  overflow: hidden;
}

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

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

.card-body {
  padding: 2rem;
}

.card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--color-green);
  font-weight: 600;
  margin-top: 1rem;
}

.read-more span {
  margin-left: 0.5rem;
  transition: var(--transition-fast);
}

.read-more:hover span {
  transform: translateX(5px);
}

/* =========================================
   Stats Section
   ========================================= */
.stats {
  background-image: url("../images/hero_bg.png");
  background-size: cover;
  background-position: center;
  position: relative;
  background-attachment: fixed;
}

.stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

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

.stat-item h2 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-yellow);
  display: inline-block;
}

.stat-item span {
  font-size: 3.5rem;
  color: var(--color-yellow);
  font-family: var(--font-heading);
  font-weight: 700;
}

.stat-item p {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================
   CTA Section
   ========================================= */
.cta {
  background-color: var(--color-bg-light);
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background-color: #111827;
  color: #e5e7eb;
  padding: 4rem 0 0 0;
}

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

.footer-logo {
  height: 60px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-green);
}

.footer ul li {
  margin-bottom: 1rem;
}

.footer a {
  color: #9ca3af;
}

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

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: #9ca3af;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 1.5rem 0;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
}

/* =========================================
   Animations
   ========================================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.slide-left {
  opacity: 0;
  transform: translateX(50px);
  transition: var(--transition-slow);
}

.slide-right {
  opacity: 0;
  transform: translateX(-50px);
  transition: var(--transition-slow);
}

.in-view {
  opacity: 1;
  transform: translate(0);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image {
    max-width: 600px;
    margin: 0 auto;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: flex;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background-color: #ffffff;
    border-top: 1px solid #e8edf2;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding: 0.75rem 1rem 1.2rem;
    transition: left var(--transition-fast);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid #eef2f6;
  }

  .nav-links li:last-child {
    border-bottom: 0;
  }

  .nav-links a {
    color: var(--color-blue-dark);
    font-size: 0.98rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0.2rem;
    width: 100%;
  }

  .navbar .menu-icon span {
    background-color: var(--color-blue-dark);
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .section-padding {
    padding: 4rem 1rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .experience-badge {
    right: 10px;
    bottom: 10px;
    width: 100px;
    height: 100px;
    padding: 1rem;
  }
  .experience-badge strong {
    font-size: 1.1rem;
  }
}
/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .dropbtn {
  display: flex;
  align-items: center;
  gap: 5px;
}

.arrow {
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  margin-bottom: 2px;
}

.arrow.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--color-white);
  min-width: 250px;
  box-shadow: var(--shadow-md);
  z-index: 1000;
  border-radius: var(--border-radius);
  overflow: hidden;
  top: 100%;
  left: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-content a {
  color: var(--color-text) !important;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.95rem !important;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-content a::after {
  display: none !important;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: var(--color-bg-light);
  color: var(--color-green) !important;
  padding-left: 20px;
}

@media (max-width: 768px) {
  .dropdown {
    width: 100%;
    display: block;
  }

  .dropdown .dropbtn {
    width: 100%;
    justify-content: space-between;
    gap: 0.4rem;
  }

  .dropdown.open > .dropbtn .arrow.down {
    transform: rotate(-135deg);
  }

  .dropdown-content {
    position: static;
    display: block;
    /* box-shadow: 0 10px 24px rgba(5, 24, 49, 0.08); */
    /* background-color: #f8fafc; */
    /* border-radius: 10px; */
    /* margin: 0.25rem 0 1rem; */
    max-height: 0;
    overflow: hidden;
    padding-left: 0;
    opacity: 1;
    transform: none;
    min-width: 100%;
    transition: max-height 0.28s ease;
  }

  .dropdown-content {
    border-radius: 0;
    border: 0px solid var(--about-line);
  }

  .dropdown.open > .dropdown-content {
    max-height: 550px;
    border: 1px solid #e6ebf0;
    padding: 0.45rem 0;
  }

  .dropdown-content a {
    color: var(--color-blue-dark) !important;
    border-bottom: 1px solid #edf1f5;
    font-size: 0.95rem !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.35;
    padding: 0.85rem 1.05rem;
  }

  .dropdown-content a:last-child {
    border-bottom: 0;
  }

  .dropdown-content a:hover {
    background-color: #eef5ff;
    color: var(--color-blue) !important;
    padding-left: 1.05rem;
  }
}

/* --- Footer developer credit (site-footer) --- */
@keyframes footer-dev-glow {
  0%,
  100% {
    opacity: 0.62;
    text-shadow: 0 0 0 transparent;
  }
  50% {
    opacity: 0.88;
    text-shadow: 0 0 12px rgba(242, 138, 17, 0.12);
  }
}

.site-footer .footer-bottom-light {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: center;
}

.site-footer .footer-dev-credit {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0;
  text-transform: uppercase;
}

.site-footer .footer-dev-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(226, 232, 240, 0.55);
  padding-bottom: 1px;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
  animation: footer-dev-glow 7s ease-in-out infinite;
}

.site-footer .footer-dev-link:hover {
  animation: none;
  border-bottom-color: rgba(242, 138, 17, 0.35);
  color: rgba(255, 255, 255, 0.82);
}

@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-dev-link {
    animation: none;
  }
}
