/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
   :root {
    /* Color Palette */
    --primary-color: #e74c3c;       /* Primary brand color (red) */
    --primary-dark: #c0392b;
    --secondary-color: #3498db;     /* Blue */
    --accent-color: #f39c12;        /* Orange */
    --dark-color: #2c3e50;          /* Dark blue */
    --light-color: #ecf0f1;         /* Light gray */
    --text-color: #333;
    --text-light: #7f8c8d;
    --white: #fff;
    --black: #000;
    
    /* Fonts */
    --primary-font: 'Roboto', sans-serif;
    --secondary-font: 'Open Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    
    /* Borders */
    --border-radius: 4px;
    --border-radius-lg: 8px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
  }
  
  /* ==========================================================================
     Base Styles
     ========================================================================== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    font-size: 16px;
  }
  
  body {
    font-family: var(--primary-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    padding-top: 80px;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--secondary-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--dark-color);
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  h4 { font-size: 1.5rem; }
  
  p {
    margin-bottom: var(--space-md);
  }
  
  a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
  }
  
  a:hover {
    color: var(--primary-dark);
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  ul, ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
  }
  
  /* ==========================================================================
     Utility Classes
     ========================================================================== */
  .text-center { text-align: center; }
  .text-left { text-align: left; }
  .text-right { text-align: right; }
  
  .mt-1 { margin-top: var(--space-xs); }
  .mt-2 { margin-top: var(--space-sm); }
  .mt-3 { margin-top: var(--space-md); }
  .mt-4 { margin-top: var(--space-lg); }
  .mt-5 { margin-top: var(--space-xl); }
  
  .mb-1 { margin-bottom: var(--space-xs); }
  .mb-2 { margin-bottom: var(--space-sm); }
  .mb-3 { margin-bottom: var(--space-md); }
  .mb-4 { margin-bottom: var(--space-lg); }
  .mb-5 { margin-bottom: var(--space-xl); }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 32px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    white-space: nowrap;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(231,76,60,0.08);
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
  }
  
  .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 6px 24px rgba(52,152,219,0.12);
  }
  
  .btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
  }
  
  .btn-secondary:hover {
    background-color: #2980b9;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 6px 24px rgba(52,152,219,0.12);
  }
  
  .btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
  }
  
  .btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
  }
  
  .btn-light {
    background-color: var(--white);
    color: var(--primary-color);
  }
  
  .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
  }
  
  .btn-outline-light {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
  }
  
  .btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
  }
  
  .section {
    padding: 4.5rem 0 4.5rem 0;
    background: linear-gradient(90deg, #fff 80%, #f8fafd 100%);
  }
  
  .section-header {
    margin-bottom: var(--space-xl);
    text-align: center;
  }
  
  .section-title {
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-md);
  }
  
  .section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
  }
  
  .section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
  }
  
  .divider {
    height: 2px;
    width: 80px;
    background-color: var(--primary-color);
    margin: var(--space-md) auto;
  }
  
  /* ==========================================================================
     Navigation
     ========================================================================== */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 4px 24px rgba(44,62,80,0.08);
    z-index: 1000;
    padding: 1.25rem 0;
    backdrop-filter: blur(8px);
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
  }
  
  .navbar.scrolled {
    padding: var(--space-xs) 0;
    box-shadow: var(--shadow-md);
  }
  
  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 120px;
  }
  
  .logo-link {
    display: flex;
    align-items: center;
    height: 120px;
  }
  
  .logo {
    height: 120px;
    width: auto;
    max-width: 400px;
    max-height: 120px;
    display: block;
  }
  
  .nav-menu {
    display: flex;
    list-style: none;
  }
  
  .nav-item {
    margin-left: var(--space-lg);
  }
  
  .nav-link {
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--dark-color);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    margin: 0 0.25rem;
    position: relative;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  }
  
  .nav-link:hover, .nav-link:focus {
    background: var(--light-color);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(231,76,60,0.08);
    text-decoration: none;
  }
  
  .nav-link.active, .nav-link.active:focus {
    color: var(--primary-color);
    background: var(--light-color);
    box-shadow: 0 2px 8px rgba(231,76,60,0.10);
  }
  
  .cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
  }
  
  .cta-button:hover {
    background-color: var(--primary-dark);
    color: var(--white);
  }
  
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 36px;
    height: 36px;
    justify-content: center;
    cursor: pointer;
    z-index: 2100;
    background: none;
    border: none;
    transition: background 0.2s;
  }
  
  .hamburger .bar {
    height: 4px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(.4,2,.6,1);
    display: block;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* ==========================================================================
     Hero Section
     ========================================================================== */
  .hero {
    background: linear-gradient(120deg, rgba(231,76,60,0.12) 0%, rgba(52,152,219,0.10) 100%),
      linear-gradient(90deg, #fff 60%, #f8fafd 100%);
    padding: 8rem 0 4rem;
    margin-top: 70px; /* Offset for fixed navbar */
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    line-height: 1.2;
  }
  
  .hero-title span {
    display: block;
    font-weight: 400;
    color: var(--text-light);
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    color: var(--text-light);
    max-width: 600px;
  }
  
  .hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
  }
  
  .hero-image {
    margin-top: var(--space-xl);
    position: relative;
    box-shadow: 0 12px 40px rgba(52,152,219,0.10), 0 2px 8px rgba(44,62,80,0.08);
  }
  
  .scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    margin-top: var(--space-xl);
    animation: bounce 2s infinite;
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
  }
  
  /* ==========================================================================
     About Section
     ========================================================================== */
  .about-section {
    background-color: var(--white);
  }
  
  .about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
  }
  
  .about-text {
    order: 2;
  }
  
  .about-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--space-lg);
  }
  
  .about-features li {
    position: relative;
    padding-left: var(--space-md);
    margin-bottom: var(--space-sm);
  }
  
  .about-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
  }
  
  .about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(52,152,219,0.10), 0 2px 8px rgba(44,62,80,0.08);
    order: 1;
  }
  
  /* ==========================================================================
     Services Section
     ========================================================================== */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    padding-bottom: 1rem;
  }
  
  .service-card {
    background-color: var(--white);
    padding: var(--space-md);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.10), 0 1.5px 4px rgba(44,62,80,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    transition: all var(--transition-normal);
  }
  
  .service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
  }
  
  .service-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
  }
  
  .service-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: var(--space-sm);
  }
  
  .service-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color var(--transition-fast);
  }
  
  .service-link i {
    margin-left: var(--space-xs);
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 24px rgba(52,152,219,0.12);
    cursor: pointer;
  }
  
  /* ==========================================================================
     CTA Section
     ========================================================================== */
  .cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: var(--space-xl) 0;
    text-align: center;
  }
  
  .cta-title {
    margin-bottom: var(--space-md);
    font-size: 2rem;
  }
  
  .cta-text {
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
  }
  
  /* ==========================================================================
     Contact Section
     ========================================================================== */
  .contact-section {
    background-color: var(--white);
  }
  
  .contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    width: 100%;
  }
  
  .info-card {
    background-color: #f9f9f9;
    padding: var(--space-md);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.10), 0 1.5px 4px rgba(44,62,80,0.08);
    transition: all var(--transition-fast);
  }
  
  .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 24px rgba(52,152,219,0.12);
  }
  
  .info-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
  }
  
  .info-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
  }
  
  .contact-form {
    background-color: #f9f9f9;
    padding: var(--space-lg);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.10), 0 1.5px 4px rgba(44,62,80,0.08);
  }
  
  .form {
    display: grid;
    gap: var(--space-md);
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--primary-font);
    transition: all var(--transition-fast);
    width: 100%;
  }
  
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
  }
  
  /* ==========================================================================
     Footer
     ========================================================================== */
  .footer {
    background: linear-gradient(120deg, var(--dark-color) 80%, #232a34 100%);
    color: var(--light-color);
    padding: var(--space-xl) 0 0;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
  }
  
  .footer-about {
    display: flex;
    flex-direction: column;
  }
  
  .footer-logo {
    height: 50px;
    margin-bottom: var(--space-md);
  }
  
  .footer p {
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
  }
  
  .social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
  }
  
  .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: var(--white);
    transition: all var(--transition-fast);
  }
  
  .social-links a:hover {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
  }
  
  .footer-links h3,
  .footer-services h3,
  .footer-newsletter h3 {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
  }
  
  .footer-links ul,
  .footer-services ul {
    list-style: none;
    padding-left: 0;
  }
  
  .footer-links li,
  .footer-services li {
    margin-bottom: var(--space-sm);
  }
  
  .footer-links a,
  .footer-services a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
    font-size: 0.9rem;
  }
  
  .footer-links a:hover,
  .footer-services a:hover {
    color: var(--primary-color);
  }
  
  .newsletter-form {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
  }
  
  .newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem;
    border: none;
    border-radius: var(--border-radius);
  }
  
  .newsletter-form button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color var(--transition-fast);
  }
  
  .newsletter-form button:hover {
    background-color: var(--primary-dark);
  }
  
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-md) 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
  }
  
  .copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    text-align: center;
  }
  
  .legal-links {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .legal-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    transition: color var(--transition-fast);
  }
  
  .legal-links a:hover {
    color: var(--primary-color);
  }
  
  /* ==========================================================================
     Responsive Design
     ========================================================================== */
  @media (min-width: 576px) {
    .hero-title {
      font-size: 2.8rem;
    }
    
    .hero-title span {
      font-size: 2rem;
    }
    
    .hero-subtitle {
      font-size: 1.25rem;
    }
    
    .about-content {
      grid-template-columns: 1fr 1fr;
    }
    
    .about-text {
      order: 1;
      padding-right: var(--space-lg);
    }
    
    .about-image {
      order: 2;
    }
    
    .contact-content {
      grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
      flex-direction: row;
    }
  }
  
  @media (min-width: 768px) {
    .hero {
      padding: 10rem 0 5rem;
    }
    
    .hero-title {
      font-size: 3rem;
    }
    
    .section {
      padding: var(--space-xl) 0;
    }
    
    .nav-menu {
      position: static;
      flex-direction: row;
      background-color: transparent;
      width: auto;
      padding: 0;
      box-shadow: none;
    }
    
    .nav-item {
      margin: 0 0 0 var(--space-lg);
    }
    
    .hamburger {
      display: none;
    }
  }
  
  @media (min-width: 992px) {
    .hero-title {
      font-size: 3.5rem;
    }
    
    .hero-title span {
      font-size: 2.2rem;
    }
    
    .container {
      padding: 0 var(--space-lg);
    }
  }

  /* Responsive Styles */
  @media (max-width: 1200px) {
    .container {
      max-width: 960px;
      padding: 0 20px;
    }
  }
  @media (max-width: 992px) {
    .container {
      max-width: 720px;
    }
    .services-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  @media (max-width: 768px) {
    .container {
      max-width: 100%;
      padding: 0 10px;
    }
    .navbar {
      background: #fff;
      box-shadow: 0 4px 24px rgba(44,62,80,0.10);
      padding: 0.75rem 0;
      z-index: 2000;
    }
    .logo {
      height: 64px;
      max-width: 220px;
      max-height: 64px;
    }
    .logo-link {
      height: 64px;
    }
    .navbar .container {
      min-height: 64px;
    }
    .hamburger {
      display: block;
      z-index: 2100;
    }
    .nav-menu {
      position: fixed;
      left: -100%;
      top: 80px;
      flex-direction: column;
      background-color: var(--white);
      width: 100%;
      text-align: center;
      transition: left 0.3s;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
      padding: 1.5rem 0;
      height: calc(100vh - 80px);
      overflow-y: auto;
      gap: 0;
    }
    .nav-menu.active {
      left: 0;
    }
    .nav-menu li {
      margin: 1.25rem 0;
    }
    .nav-link {
      font-size: 1.15rem;
      padding: 0.75rem 0.75rem;
      width: 100%;
      margin: 0;
      border-radius: 8px;
    }
    .nav-link:active, .nav-link:focus, .nav-link:hover {
      background: var(--light-color);
      color: var(--primary-color);
    }
    .cta-button {
      width: 100%;
      text-align: center;
      margin-top: 0.5rem;
    }
    .services-grid {
      grid-template-columns: 1fr;
    }
    .about-content {
      flex-direction: column;
    }
    .about-image {
      margin-top: 20px;
      text-align: center;
    }
    .footer-content {
      flex-direction: column;
      gap: 2rem;
    }
  }
  @media (max-width: 480px) {
    .hero-title {
      font-size: 2rem;
    }
    .section-title {
      font-size: 1.5rem;
    }
    .btn {
      font-size: 1rem;
      padding: 0.5rem 1rem;
    }
  }

  /* Animated Buttons & Cards */
  .btn, .service-card, .info-card {
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .btn:hover, .service-card:hover, .info-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

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

  /* Section Header Hover Effect */
  .section-header:hover .section-title {
    color: var(--primary-color);
    text-shadow: 0 2px 8px rgba(231,76,60,0.08);
  }