/* ======================
   GLOBAL STYLES
   ====================== */
   :root {
    --primary: #1a365d;
    --primary-light: #2c4c7c;
    --secondary: #e2b04b;
    --secondary-light: #f0c670;
    --dark: #2d3748;
    --light: #f8f9fa;
    --text: #4a5568;
    --white: #ffffff;
    --gray: #e2e8f0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 10px;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }
  
  /* ======================
     HEADER STYLES
     ====================== */
  .main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
  }
  
  .logo:hover {
    color: var(--secondary);
  }
  
  .nav-menu {
    display: flex;
    gap: 2rem;
  }
  
  .nav-menu li a {
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
  }
  
  .nav-menu li a:hover,
  .nav-menu li.active a {
    color: var(--secondary);
  }
  
  .nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
  }
  
  .nav-menu li a:hover::after,
  .nav-menu li.active a::after {
    width: 100%;
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
  }
  
  .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark);
    transition: all 0.3s ease;
  }
  
  /* ======================
     HERO SECTION
     ====================== */
  .hero-section {
    background: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.85)), 
                url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    position: relative;
  }
  
  .hero-title {
    font-size: 3.25rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease-out;
  }
  
  .hero-subtitle {
    font-size: 1.35rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out 0.3s both;
  }
  
  @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);
    }
  }
  
  /* ======================
     SERVICES SECTION
     ====================== */
  .services-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
  }
  
  .services-section:nth-child(even) {
    background-color: var(--light);
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-out;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
  }
  
  .section-header p {
    font-size: 1.2rem;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto 1.5rem;
    opacity: 0.9;
  }
  
  .divider {
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
    margin: 0 auto;
    border-radius: 2px;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--gray);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-light);
  }
  
  .service-icon {
    width: 90px;
    height: 90px;
    background-color: rgba(226, 176, 75, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
    color: var(--secondary);
    font-size: 2.25rem;
    transition: var(--transition);
    position: relative;
  }
  
  .service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed var(--secondary);
    top: 0;
    left: 0;
    animation: spin 30s linear infinite;
    opacity: 0.5;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  .service-card:hover .service-icon {
    background-color: var(--secondary);
    color: var(--white);
    transform: scale(1.1);
  }
  
  .service-card:hover .service-icon::after {
    opacity: 0;
  }
  
  .service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 1rem;
    transition: var(--transition);
  }
  
  .service-card:hover h3 {
    color: var(--secondary);
  }
  
  .service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
  }
  
  .service-card:hover h3::after {
    width: 60px;
  }
  
  .service-card p {
    margin-bottom: 1.75rem;
    color: var(--text);
    flex-grow: 1;
    opacity: 0.9;
  }
  
  .service-link {
    color: var(--secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
  }
  
  .service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
  }
  
  .service-link:hover {
    color: var(--primary);
    gap: 0.8rem;
  }
  
  .service-link:hover::after {
    width: 100%;
  }
  
  /* Footer Styles (match main.css) */
.footer {
  background: linear-gradient(120deg, #2c3e50 80%, #232a34 100%);
  color: #ecf0f1;
  padding: 3rem 0 0;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-about {
  display: flex;
  flex-direction: column;
}
.footer p {
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}
.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.2s;
}
.social-links a:hover {
  background: linear-gradient(90deg, #e74c3c 0%, #3498db 100%);
  color: #fff;
}
.footer-links h3, .footer-services h3, .footer-newsletter h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.footer-links ul, .footer-services ul {
  list-style: none;
  padding-left: 0;
}
.footer-links li, .footer-services li {
  margin-bottom: 0.75rem;
}
.footer-links a, .footer-services a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  font-size: 0.95rem;
}
.footer-links a:hover, .footer-services a:hover {
  color: #e74c3c;
}
.footer-newsletter {
  margin-top: 0.5rem;
}
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 160px;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
}
.newsletter-form button {
  background-color: #e74c3c;
  color: #fff;
  border: none;
  padding: 0 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover {
  background-color: #c0392b;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.copyright {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  text-align: center;
}
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

  /* ======================
     RESPONSIVE STYLES
     ====================== */
  @media (max-width: 1200px) {
    .services-grid {
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 2rem;
    }
  }
  
  @media (max-width: 992px) {
    .hero-section {
      padding: 6rem 0;
    }
    
    .services-section {
      padding: 5rem 0;
    }
    
    .section-header {
      margin-bottom: 3rem;
    }
    
    .section-header h2 {
      font-size: 2.25rem;
    }
  }
  
  @media (max-width: 768px) {
    .hamburger {
      display: block;
    }
  
    .hamburger.active .bar:nth-child(2) {
      opacity: 0;
    }
  
    .hamburger.active .bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }
  
    .hamburger.active .bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }
  
    .nav-menu {
      position: fixed;
      left: -100%;
      top: 80px;
      gap: 0;
      flex-direction: column;
      background-color: var(--white);
      width: 100%;
      text-align: center;
      transition: 0.3s;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
      padding: 1.5rem 0;
      height: calc(100vh - 80px);
      overflow-y: auto;
    }
  
    .nav-menu.active {
      left: 0;
    }
  
    .nav-menu li {
      margin: 1.25rem 0;
    }
  
    .hero-title {
      font-size: 2.5rem;
    }
  
    .hero-subtitle {
      font-size: 1.15rem;
      padding: 0 1rem;
    }
    
    .services-grid {
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .section-header h2 {
      font-size: 2rem;
    }
    
    .footer-content {
      gap: 2rem;
    }
  }
  
  @media (max-width: 576px) {
    .hero-title {
      font-size: 2rem;
    }
    
    .hero-subtitle {
      font-size: 1.05rem;
    }
  
    .section-header h2 {
      font-size: 1.75rem;
    }
    
    .section-header p {
      font-size: 1rem;
    }
  
    .services-grid {
      grid-template-columns: 1fr;
      gap: 1.75rem;
    }
    
    .service-card {
      padding: 2rem;
    }
    
    .service-icon {
      width: 75px;
      height: 75px;
      font-size: 1.75rem;
    }
    
    .services-section {
      padding: 4rem 0;
    }
  }
  
  @media (max-width: 400px) {
    .hero-title {
      font-size: 1.75rem;
    }
    
    .hero-subtitle {
      font-size: 1rem;
    }
    
    .service-card h3 {
      font-size: 1.35rem;
    }
  }