/* --- CSS VARIABLES & RESET --- */
:root {
  --primary: #0f4c81;
  /* Deep Professional Blue */
  --primary-dark: #0a355c;
  --secondary: #2ecc71;
  /* Trust/Growth Green */
  --accent: #f39c12;
  /* Financial Gold */
  --light: #f8f9fa;
  --dark: #2c3e50;
  --gray: #6c757d;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}
/*
:root {
  --primary: #27ae60;
  --primary-dark: #1e8449;
  --secondary: #16a085;
  --accent: #f1c40f;
  --light: #ecf0f1;
  --dark: #34495e;
  --gray: #95a5a6;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

:root {
  --primary: #800020;
  --primary-dark: #4d0012;
  --secondary: #f39c12;
  --accent: #c0392b;
  --light: #f9f7f6;
  --dark: #2c3e50;
  --gray: #95a5a6;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}
  */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- UTILITIES --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* --- HEADER --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header.scrolled {
  box-shadow: var(--shadow);
  background: var(--white);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark);
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-cta {
  display: block;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* --- HERO SECTION --- */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #f0f4f8 0%, #e6eef7 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item h3 {
  font-size: 1.5rem;
  color: var(--primary);
}

.stat-item p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--gray);
}

.hero-visual {
  flex: 1;
  position: relative;
}

.hero-img-placeholder {
  background: url('../images/hero.webp') no-repeat center center/cover;
  width: 100%;
  height: 400px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  position: relative;
}

.floating-icon {
  position: absolute;
  background: var(--white);
  padding: 15px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  color: var(--primary);
  animation: float 3s ease-in-out infinite;
}

.fi-1 {
  top: 20px;
  left: -20px;
  animation-delay: 0s;
}

.fi-2 {
  bottom: 40px;
  right: -20px;
  animation-delay: 1s;
  background: var(--primary);
  color: var(--white);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* --- ABOUT PREVIEW --- */
.about-preview {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-highlights {
  margin-top: 30px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.highlight-item i {
  color: var(--secondary);
  background: rgba(46, 204, 113, 0.1);
  padding: 10px;
  border-radius: 50%;
}

/* --- WHY CHOOSE US --- */
.why-us {
  background: var(--light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* --- SERVICES --- */
.services {
  background: var(--white);
}

.services-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 25px;
  border: 1px solid var(--primary);
  border-radius: 30px;
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.service-card {
  background: var(--white);
  border: 1px solid #eee;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.testimonials .section-title h2 {
  color: var(--white);
}

.testimonials .section-title p {
  color: rgba(255, 255, 255, 0.8);
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

.client-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 3px solid var(--accent);
  background-color: #ddd;
  background-size: cover;
  background-position: center;
}

.stars {
  color: var(--accent);
  margin-bottom: 15px;
}

.quote {
  font-style: italic;
  margin-bottom: 20px;
}

.client-name {
  font-weight: 700;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: var(--white);
}

/* --- FAQ --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid #eee;
}

.accordion-header {
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--gray);
}

.accordion-content p {
  padding-bottom: 20px;
}

/* --- CONTACT & FORMS --- */
.contact-section {
  background: var(--light);
}

.form-container {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.newsletter-box {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
  border: 1px dashed var(--primary);
}

/* --- FOOTER --- */
footer {
  background: var(--dark);
  color: #ccc;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.social-icons a {
  margin-left: 15px;
  color: var(--white);
  font-size: 1.2rem;
}

/* --- MODALS --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 70%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
  }

  .nav-menu.active {
    right: 0;
  }

  .hamburger {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  /* Hide button in menu on mobile */

  .about-grid {
    grid-template-columns: 1fr;
  }
}