/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
  --primary-color: #0A4D8C;
  --primary-color-dark: #073b6b;
  --secondary-color: #F7931E;
  --secondary-color-dark: #d67a14;
  --text-dark: #222222;
  --text-light: #666666;
  --bg-light: #f9f9f9;
  --white: #FFFFFF;
  --border-color: #e0e0e0;
  
  --font-primary: 'Inter', sans-serif;
  
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.5s ease-in-out;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --shadow-hover: 0 15px 35px rgba(0,0,0,0.2);
}

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

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

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

/* ==========================================================================
   Typography & Layout
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-fast);
}

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

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

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

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

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

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

/* ==========================================================================
   Top Bar & Header Navigation
   ========================================================================== */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-contact a {
  color: var(--white);
  margin-right: 15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.top-bar-contact a:hover {
  color: var(--secondary-color);
}

.header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-fast);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

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

.logo span {
  color: var(--secondary-color);
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark);
  padding: 10px 0;
  display: block;
}

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

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 250px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1001;
  border-top: 3px solid var(--primary-color);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

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

.dropdown-item:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
  padding-left: 25px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero {
  position: relative;
  height: calc(100vh - 120px);
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 77, 140, 0.6); /* Primary color overlay */
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 3;
  color: var(--white);
  max-width: 600px;
  opacity: 0;
  transition: all 0.8s ease-in-out 0.3s;
  transform: translateY(-30px);
}

.slide.active .slide-content {
  opacity: 1;
  transform: translateY(-50%);
}

.slide-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.slide-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.slide-btns {
  display: flex;
  gap: 15px;
}

.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background-color: var(--secondary-color);
  transform: scale(1.2);
}

/* ==========================================================================
   Services Section (Home)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  group: service;
}

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

.service-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.service-content {
  padding: 30px;
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: var(--white);
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.service-desc {
  color: var(--text-light);
  margin-bottom: 20px;
}

.service-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  background-color: var(--bg-light);
}

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

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

.about-img img {
  width: 100%;
  height: auto;
}

.about-experience {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-experience h3 {
  font-size: 2.5rem;
  line-height: 1;
}

.about-text h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  display: inline-block;
}

.footer-logo span {
  color: var(--secondary-color);
}

.footer-desc {
  color: #bbbbbb;
  margin-bottom: 20px;
}

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

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

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

.footer-widget-title {
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
}

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

.footer-links a {
  color: #bbbbbb;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--secondary-color);
  transition: var(--transition-fast);
}

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

.footer-links a:hover::before {
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  color: #bbbbbb;
}

.footer-contact i {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-top: 5px;
}

.footer-bottom {
  background-color: #111111;
  padding: 20px 0;
  text-align: center;
  color: #888888;
  font-size: 0.9rem;
}

/* ==========================================================================
   Floating Action Buttons
   ========================================================================== */
.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-fast);
}

.fab-whatsapp {
  background-color: #25D366;
}

.fab-whatsapp:hover {
  background-color: #1EBE55;
  transform: scale(1.1);
  color: var(--white);
}

.fab-call {
  background-color: var(--primary-color);
}

.fab-call:hover {
  background-color: var(--primary-color-dark);
  transform: scale(1.1);
  color: var(--white);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 992px) {
  .header-cta .btn {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    transition: 0.4s ease;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }
  
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    transform: none;
    border-top: none;
    display: none;
    padding-left: 20px;
    background-color: var(--bg-light);
  }
  
  .nav-item.active-dropdown .dropdown {
    display: block;
  }
  
  .about-content-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .slide-title {
    font-size: 2.5rem;
  }
  
  .slide-content {
    left: 5%;
    right: 5%;
    text-align: center;
  }
  
  .slide-btns {
    justify-content: center;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Page Headers (Inner Pages)
   ========================================================================== */
.page-header {
  background-color: var(--primary-color);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: 3rem;
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
}

.breadcrumb a {
  color: var(--secondary-color);
}

.breadcrumb span {
  color: #ccc;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(10, 77, 140, 0.1);
}

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

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  margin: 20px;
}

.testimonial-card i.fa-quote-left {
  font-size: 3rem;
  color: var(--bg-light);
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 0;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
}

/* Specific inner page layouts */
.service-details-img {
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
}

.service-content-main h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-content-main p {
  margin-bottom: 15px;
}

.service-list {
  margin-bottom: 30px;
}

.service-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list li i {
  color: var(--secondary-color);
}
