/* C:\xampp\htdocs\gccinfraindia\assets\css\index.css */

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

:root {
  --primary-color: #0A2342;
  --secondary-color: #F7941D;
  --accent-color: #5F6B7A;
  --bg-color: #FFFFFF;
  --light-bg: #F7F8FA;
  --text-color: #111111;
  --text-muted: #4a5568;
  
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

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

.text-muted-custom { color: var(--text-muted); }

/* Color Utilities */
.bg-primary-custom { background-color: var(--primary-color) !important; color: #ffffff !important; }
.bg-secondary-custom { background-color: var(--secondary-color) !important; color: #111111 !important; }
.bg-light-custom { background-color: var(--light-bg) !important; color: var(--text-color) !important; }
.text-primary-custom { color: var(--primary-color) !important; }
.text-secondary-custom { color: var(--secondary-color) !important; }

/* Buttons */
.btn-custom {
  background-color: var(--secondary-color);
  color: #111111;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: 2px solid var(--secondary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(247, 148, 29, 0.2);
}
.btn-custom:hover {
  background-color: transparent;
  color: var(--secondary-color);
  box-shadow: none;
}
.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-color);
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Premium Cards */
.card-premium {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  background: #fff;
  overflow: hidden;
}
.card-premium:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(247, 148, 29, 0.1);
  color: var(--secondary-color);
  border-radius: 50%;
  font-size: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.card-premium:hover .card-icon {
  background-color: var(--secondary-color);
  color: #fff;
}

/* Header & Topbar */
.top-bar {
  background-color: #061528; /* Darker shade of primary */
  color: #d1d5db;
  padding: 8px 0;
  font-size: 13px;
  font-family: var(--font-body);
}
.top-bar a {
  color: #d1d5db;
  text-decoration: none;
  margin-right: 20px;
  transition: var(--transition);
}
.top-bar a:hover { color: var(--secondary-color); }

.navbar-custom {
  background-color: #fff;
  box-shadow: var(--shadow-soft);
  padding: 15px 0;
  transition: var(--transition);
}
.navbar-custom.transparent {
  background-color: transparent;
  box-shadow: none;
  position: absolute;
  width: 100%;
  z-index: 1030;
}
.navbar-custom.transparent .nav-link,
.navbar-custom.transparent .navbar-brand {
  color: #fff !important;
}
.navbar-custom.scrolled {
  background-color: #fff;
  box-shadow: var(--shadow-soft);
  width: 100%;
  animation: slideDown 0.3s ease-in-out;
  z-index: 1030;
}
.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  color: var(--primary-color) !important;
  letter-spacing: -0.5px;
}
.navbar-brand span { color: var(--secondary-color); }

.navbar-logo {
  max-height: 80px;
  width: auto;
  transition: var(--transition);
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--primary-color) !important;
  text-transform: uppercase;
  padding: 10px 18px !important;
  position: relative;
  transition: var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 18px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
  width: calc(100% - 36px);
}
.nav-link:hover { color: var(--secondary-color) !important; }

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,35,66,0.9) 0%, rgba(10,35,66,0.6) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.1;
}

/* Stat Cards (Floating on Hero) */
.hero-stats-wrapper {
  position: relative;
  z-index: 3;
  margin-top: -80px;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 20px;
  box-shadow: var(--shadow-hover);
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-5px); }
.stat-card h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 5px;
}
.stat-card p {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
  text-transform: uppercase;
  font-size: 13px;
}

/* Page Headers */
.page-header {
  padding: 120px 0 60px;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  position: relative;
  background-image: url('../img/hero_bg.png');
  background-size: cover;
  background-position: center;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,35,66,0.85);
}
.page-header .container { position: relative; z-index: 2; }
.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Image Hover Zoom */
.img-zoom-container {
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.img-zoom-container img {
  transition: transform 0.5s ease;
}
.card-premium:hover .img-zoom-container img {
  transform: scale(1.05);
}

/* Forms */
.form-floating > label {
  font-family: var(--font-body);
  color: var(--text-muted);
}
.form-control {
  border-radius: var(--radius-sm);
  border: 1px solid #ced4da;
  padding: 1rem 0.75rem;
}
.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.25rem rgba(247, 148, 29, 0.25);
}

/* Footer */
.footer {
  background-color: #061528;
  color: #a0aec0;
  padding: 80px 0 20px;
}
.footer-logo {
  max-height: 100px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}
.footer p {
  color: #a0aec0;
}
.footer h4 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}
.footer ul li { margin-bottom: 12px; }
.footer a {
  color: #a0aec0;
  text-decoration: none;
  transition: var(--transition);
}
.footer a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}
.footer-bottom {
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  font-size: 14px;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
