/* ===================================
    Variables
   =================================== */
:root {
  --primary-color: #1e3a5f;
  --accent-color: #d4af37;
  --dark-color: #0f172a;
  --light-color: #f8fafc;
  --gray-color: #64748b;
  --white-color: #ffffff;

  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    #2c5282 100%
  );
  --gradient-accent: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    #b8941f 100%
  );

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);

  --transition: all 0.3s ease;

  --font-primary: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===================================
  Utility Classes
   =================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-subtitle {
  display: inline-block;
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.section-description {
  color: var(--gray-color);
  font-size: 1.125rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white-color);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

/* ===================================
  Header
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white-color);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  transition: var(--transition);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo i {
  color: var(--accent-color);
  font-size: 1.8rem;
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

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

.nav-link:hover {
  color: var(--accent-color);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

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

/* ===================================
  Hero Section
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(
      135deg,
      rgba(30, 58, 95, 0.95) 0%,
      rgba(30, 58, 95, 0.85) 100%
    ),
    url("./assets/bg-hero-sec.webp") center/cover no-repeat;
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--white-color);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--accent-color);
}

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

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.stat-item i {
  font-size: 2.5rem;
  color: var(--accent-color);
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white-color);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-circle {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
}

.hero-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================================
  About Section
   =================================== */
.about {
  padding: 100px 0;
  background: var(--light-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.about-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: var(--gradient-accent);
  color: var(--white-color);
  padding: 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  box-shadow: var(--shadow-lg);
}

.about-badge i {
  font-size: 2rem;
}

.about-badge span {
  font-weight: 700;
  font-size: 1.125rem;
}

.about-text .section-title {
  text-align: left;
}

.about-text .section-subtitle {
  margin-bottom: 10px;
}

.about-description {
  color: var(--gray-color);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark-color);
}

.feature-item i {
  color: var(--accent-color);
  font-size: 1.25rem;
}

/* ===================================
  Gallery Section
   =================================== */
.gallery {
  padding: 90px 0 30px;
  background: var(--white-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 58, 95, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay i {
  color: var(--white-color);
  font-size: 2rem;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.div-button {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===================================
  Services Section
   =================================== */
.services {
  padding: 70px 0;
  background: var(--light-color);
}

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

.service-card {
  background: var(--white-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.service-image {
  height: 200px;
  overflow: hidden;
}

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

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

.service-content {
  padding: 30px;
}

.service-content i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.service-content h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-content p {
  color: var(--gray-color);
  line-height: 1.7;
}

/* ===================================
  Highlights Section
   =================================== */
.highlights {
  padding: 100px 0;
  background: var(--gradient-primary);
}

.highlights .section-subtitle,
.highlights .section-title {
  color: var(--white-color);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-10px);
}

.highlight-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.highlight-icon i {
  font-size: 2rem;
  color: var(--white-color);
}

.highlight-card h3 {
  font-size: 1.5rem;
  color: var(--white-color);
  margin-bottom: 15px;
}

.highlight-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

/* ===================================
  Benefits Section
   =================================== */
.benefits {
  padding: 100px 0;
  background: var(--white-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

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

.benefit-item i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.benefit-item h4 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.benefit-item p {
  color: var(--gray-color);
}

/* ===================================
  Testimonials Section
   =================================== */
.testimonials {
  padding: 100px 0;
  background: var(--light-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.testimonial-rating {
  display: flex;
  gap: 3px;
}

.testimonial-rating i {
  color: #fbbf24;
  font-size: 0.875rem;
}

.testimonial-text {
  color: var(--gray-color);
  line-height: 1.7;
  font-style: italic;
}

/* ===================================
  FAQ Section
   =================================== */
.faq {
  padding: 70px 0;
  background: var(--white-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--light-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(30, 58, 95, 0.05);
}

.faq-question i {
  transition: var(--transition);
  color: var(--accent-color);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 25px 20px;
  color: var(--gray-color);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ===================================
  Contact Section
   =================================== */
.contact {
  padding: 70px 0;
  background: var(--light-color);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.contact-card {
  background: var(--white-color);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.contact-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-icon i {
  font-size: 1.75rem;
  color: var(--white-color);
}

.contact-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-card p {
  color: var(--gray-color);
  line-height: 1.8;
  margin-bottom: 5px;
}

/* ===================================
  Footer
   =================================== */
.footer {
  background: var(--dark-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white-color);
  margin-bottom: 20px;
}

.footer-logo i {
  color: var(--accent-color);
  font-size: 1.8rem;
}

.footer-description {
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

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

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

.footer-column h4 {
  color: var(--white-color);
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  transition: var(--transition);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: var(--accent-color);
  margin-top: 3px;
}

.footer-bottom {
  padding: 30px 0;
  text-align: center;
}

/* ===================================
  Scroll to Top Button
   =================================== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-to-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* ===================================
  Responsive Design
   =================================== */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-image {
    display: none;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white-color);
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav.active {
    max-height: 500px;
  }

  .nav-list {
    flex-direction: column;
    padding: 20px;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--light-color);
  }

  .nav-link {
    display: block;
    padding: 15px 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.75rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .about-features {
    grid-template-columns: 1fr;
  }

  .hero-circle {
    width: 300px;
    height: 300px;
  }
}
