/* ============================================
   A7 Global Consultants — Custom Styles
   ============================================ */

:root {
  --primary: #1a3c6e;
  --primary-dark: #0f2847;
  --accent: #d4a843;
  --accent-hover: #c09530;
  --light-bg: #f8f9fa;
  --dark-bg: #1a1a2e;
  --text-dark: #2c3e50;
  --text-muted: #6c757d;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* Reset & Base */
* { box-sizing: border-box; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

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

a:hover {
  color: var(--accent-hover);
}

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

/* ---- Navbar ---- */
.navbar {
  padding: 0.5rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--white) !important;
  box-shadow: var(--shadow);
  padding: 0.25rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
}

.navbar-brand img {
  height: 90px;
  width: auto;
  object-fit: contain;
}

.footer-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.navbar .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 60%;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary) !important;
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #2a5298 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,138.7C672,128,768,160,864,186.7C960,213,1056,235,1152,218.7C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>');
  background-size: cover;
  background-position: bottom;
}

.hero h1 {
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.hero-page {
  min-height: 45vh;
  padding-top: 120px;
  padding-bottom: 50px;
}

.hero-page h1 {
  font-size: 2.2rem;
}

/* ---- Buttons ---- */
.btn-primary-custom {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 11px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
  display: inline-block;
}

.btn-primary-custom:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 168, 67, 0.4);
}

.btn-outline-custom {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 9px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-block;
}

.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

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

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

.section-dark {
  background: var(--dark-bg);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.section-divider {
  width: 50px;
  height: 3px;
  background: var(--accent);
  border: none;
  margin: 0.75rem auto 1.5rem;
  border-radius: 2px;
}

/* ---- Cards ---- */
.card-custom {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  height: 100%;
}

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

.card-custom .card-body {
  padding: 1.5rem;
}

.card-custom .card-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #2a5298);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1.2rem;
}

.card-custom h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* ---- Stats ---- */
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* ---- Service Pricing Cards ---- */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.02);
}

.pricing-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--accent);
  color: var(--white);
  padding: 4px 40px;
  font-size: 0.75rem;
  font-weight: 700;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

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

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-8px);
}

.pricing-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.pricing-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  margin: 0.75rem 0;
}

.pricing-amount small {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.pricing-card ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.pricing-card ul li i {
  color: var(--accent);
  margin-right: 8px;
}

/* ---- Project Cards ---- */
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.project-card .project-img {
  height: 250px;
  background: linear-gradient(135deg, var(--primary), #2a5298);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.project-card .project-img .badge-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.project-card .project-body {
  padding: 1.5rem;
}

.project-card h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.project-card .project-location {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.project-card .project-location i {
  color: var(--accent);
  margin-right: 5px;
}

.project-card .project-features {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.project-card .project-features span {
  background: var(--light-bg);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Benefits List ---- */
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.benefit-number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #2a5298);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.benefit-content h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.benefit-content p {
  color: var(--text-muted);
  margin: 0;
}

/* ---- Testimonial / Quote ---- */
.quote-block {
  background: var(--white);
  border-left: 4px solid var(--accent);
  padding: 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  margin: 2rem 0;
}

.quote-block p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

/* ---- Contact Form ---- */
.contact-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--white);
}

.contact-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}

.contact-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-form label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

/* ---- Contact Info ---- */
.contact-info-card {
  background: linear-gradient(135deg, var(--primary), #2a5298);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: var(--white);
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-item i {
  font-size: 1.3rem;
  color: var(--accent);
  margin-top: 3px;
}

.contact-info-item h6 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.contact-info-item p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.95rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 50px 0 20px;
  font-size: 0.88rem;
}

.footer h5 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

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

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links li a::before {
  content: '→ ';
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.82rem;
}

.footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-right: 10px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

/* ---- Scroll to Top ---- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(212, 168, 67, 0.4);
}

.scroll-top:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
}

.scroll-top.show {
  display: flex;
}

/* ---- Utilities ---- */
.text-accent { color: var(--accent) !important; }
.bg-accent { background: var(--accent) !important; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hero h1 { font-size: 2rem; }
  .hero-page h1 { font-size: 1.8rem; }
  .section-title { font-size: 1.5rem; }
  .section { padding: 50px 0; }
  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-8px); }
}

@media (max-width: 767px) {
  .hero { min-height: 80vh; }
  .hero h1 { font-size: 1.7rem; }
  .hero-page { min-height: 40vh; padding-top: 100px; }
  .section-title { font-size: 1.35rem; }
  .stat-number { font-size: 1.8rem; }
  .navbar-brand img { height: 65px; }
}
