/* ===== GLOBAL STYLES & VARIABLES ===== */
:root {
  --primary-color: #4b6cb7;
  --secondary-color: #182848;
  --accent-color: #ff6b6b;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333;
  --text-light: #777;
  --header-height: 80px;
}

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

body, html {
  font-family: 'Poppins', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  scroll-behavior: smooth;
}

.page-wrapper {
  min-height: 1vh;
  display: flex;
  flex-direction: column;
}

main {
  padding-top: var(--header-height);
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.fade-in { animation: fadeIn 1s ease; }
.fade-in-down { animation: fadeInDown 1s ease; }
.fade-in-up { animation: fadeInUp 1s ease; }
.pulse { animation: pulse 2s infinite; }

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

/* ===== HEADER & NAVIGATION ===== */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  height: var(--header-height);
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 0px;
}

.logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

header h1 {
  font-size: 1.6rem;
  margin: 0;
  font-weight: 600;
}

/* Navigation */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 5px;
  margin: 0;
  padding: 0;
}

.navbar li {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link:hover,
.nav-link:focus {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  outline: none;
}

.nav-link:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

/* Mobile Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.hamburger-menu.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.hamburger-menu .bar {
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: var(--primary-color);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.side-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-drawer li {
  margin: 10px 0;
}

.side-drawer a {
  display: block;
  padding: 15px 30px;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.side-drawer a:hover,
.side-drawer a:focus {
  background-color: rgba(255, 255, 255, 0.2);
  outline: none;
}

.drawer-header {
  display: flex;
  justify-content: flex-end;
  padding: 20px;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
}

.close-drawer {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.3s ease;
}

.close-drawer:hover {
  transform: rotate(90deg);
}

.drawer-cta {
  padding: 20px 30px;
  margin-top: auto;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-bg.webp') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* ===== SERVICES SECTION ===== */
.service-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.section-title span {
  color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 50px;
}

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

.service-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

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

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

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

.service-content {
  padding: 25px;
}

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

.service-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-tag {
  background-color: var(--primary-color);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  display: inline-block;
  font-size: 0.9rem;
  margin-top: 10px;
}

.contact-info {
  margin-top: 15px;
}

.contact-info p {
  margin: 5px 0;
  color: var(--text-color);
}

.contact-info i {
  margin-right: 10px;
  color: var(--primary-color);
}

/* ===== CTA SECTION ===== */
.cta {
  padding: 60px 0;
  color: white;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* ===== BUTTON STYLES ===== */
.button {
  display: inline-block;
  padding: 12px 20px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  text-align: center;
  cursor: pointer;
}

.button:hover {
  background-color: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(75, 108, 183, 0.5);
}

.primary-button {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.primary-button:hover {
  background-color: transparent;
  color: white;
}

.button i {
  margin-right: 8px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    display: none;
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .button {
    width: 100%;
    max-width: 300px;
  }
  
  .side-drawer {
    width: 280px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.3rem;
  }
  
  .logo {
    width: 40px;
    height: 40px;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .side-drawer {
    width: 250px;
  }
}

/* Ensure side drawer is hidden on desktop */
@media (min-width: 769px) {
  .side-drawer {
    display: none !important;
  }
  
  .overlay {
    display: none !important;
  }
}

