/* =====================================================
   1. Base Styles
   ===================================================== */

/* Variables & Reset */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #0066cc;
    --accent-light: #00a8ff;
    --text-color: #ffffff;
    --background-dark: #111111;
    --card-background: #1a1a1a;
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--background-dark);
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  /* =====================================================
     2. General / Desktop Styles
     ===================================================== */
  
  /* Navigation */
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Ensure that in the desktop markup the logo is left and the menu is right */
  .desktop-only {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .logo {
    /* Logo container on the left */
    text-align: left;
  }
  
  .logo img {
    height: 70px;
  }
  
  .nav-links {
    /* Menu container aligned to the right */
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  .nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: var(--transition);
  }
  
  .nav-links a:hover {
    color: var(--accent-color);
  }
  
  .nav-links a.cta-button:hover {
    color: var(--secondary-color);
  }
  
  /* Hero Section */
  .hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary-color);
  }
  
  #hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
  }
  
  .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }
  
  .hero-content {
    max-width: 800px;
    padding: 2rem;
  }
  
  .hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  /* Buttons */
  .cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
  }
  
  .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
  }
  
  /* Sections & Headings */
  section {
    padding: 6rem 0;
  }
  
  section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
  }
  
  /* About Section */
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 10px;
    transition: var(--transition);
  }
  
  .stat-item:hover {
    transform: translateY(-5px);
  }
  
  .stat-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
  }
  
  /* Solutions Section */
  .solutions {
    background-color: var(--background-dark);
    padding: 6rem 0;
  }
  
  .solutions h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
  }
  
  .solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
  }
  
  .solution-card {
    padding: 2rem;
    background: var(--card-background);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    color: var(--text-color);
  }
  
  .solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  }
  
  .solution-icon {
    margin-bottom: 1.5rem;
  }
  
  .solution-icon i {
    font-size: 2.5rem;
    color: var(--accent-light);
  }
  
  .solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
  }
  
  .solution-card p {
    color: #888;
    margin-bottom: 1.5rem;
  }
  
  .solution-features {
    list-style: none;
    padding: 0;
  }
  
  .solution-features li {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
  }
  
  .solution-features li::before {
    content: "•";
    color: var(--accent-light);
    margin-right: 0.5rem;
  }
  
  /* Stats Container */
  .stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    text-align: center;
  }
  
  .stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
  }
  
  .stat-label {
    color: #888;
    font-size: 1.1rem;
  }
  
  /* Expertise Section */
  .expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
  
  .expertise-card {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 10px;
    transition: var(--transition);
  }
  
  .expertise-card:hover {
    transform: translateY(-5px);
  }
  
  .expertise-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
  }
  
  /* Contact Section */
  .contact {
    background: var(--background-light);
  }
  
  #contact-form {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background: white;
    font-size: 1rem;
  }
  
  .form-group textarea {
    height: 150px;
    resize: vertical;
  }
  
  /* Footer */
  .footer {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 4rem 0 2rem;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .footer-logo img {
    height: 40px;
  }
  
  .footer-links {
    display: flex;
    flex-direction: column;
  }
  
  .footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
  }
  
  .footer-links a:hover {
    color: var(--accent-color);
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1;
  }
  
  /* WhatsApp Button */
  .whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .whatsapp-button a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .whatsapp-button a i {
    font-size: 1.5rem;
  }
  
  .whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
  }
  
  /* Hero Title & Subtitles */
  .hero-title {
    text-align: center;
    line-height: 1.3;
    margin: 0;
  }
  
  .hero-title-gradient {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #3982d1, #916dd2, #2d7dd3);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: gradient-move 3s infinite;
  }
  
  .hero-logo {
    display: block;
    width: 180px;
    margin: 0 auto;
    max-width: 100%;
  }
  
  @keyframes gradient-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  .hero-subtitle {
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }
  
  #hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }
  
  /* Utility: Desktop-only & Mobile-only */
  .desktop-only { display: flex; }
  .mobile-only { display: none; }
  
  /* =====================================================
     3. Mobile Styles (max-width: 768px)
     ===================================================== */
  @media screen and (max-width: 768px) {
  
    /* Mobile Navigation Header */
  .mobile-header {
    height: 60px;             /* Set a fixed height (adjust as needed) */
    background: rgba(0, 0, 0, 0.8);  /* Same as navbar background */
  }
  
  /* Hamburger: fixed on the left */
  .hamburger {
    position: absolute;
    left: 1rem;               /* Adjust spacing from the left edge */
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
  }
  
  .hamburger {
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
  }
  
  /* Mobile Expanded Menu (Hamburger) */
  .mobile-nav {
    display: none; /* This will be toggled via JavaScript */
    position: absolute;
    top: 60px;          /* Adjust this value to match your mobile header height */
    left: 0;
    width: 50%;         /* Occupies only half of the screen width */
    flex-direction: column;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    text-align: center;
    z-index: 990;       /* Ensure it appears below the header if needed */
  }
  
  .mobile-nav a {
    display: block;
    padding: 0.75rem 1rem; /* Added horizontal padding for better spacing */
    color: var(--secondary-color);
    text-decoration: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .mobile-nav a:hover {
    color: var(--accent-light);
  }
  
  
  /* Mobile Logo: centered */
  .mobile-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  .mobile-logo img {
    height: 40px;             /* Adjust as desired */
  }
  
  /* CTA Button: fixed on the right */
  .mobile-cta {
    position: absolute;
    right: 1rem;              /* Adjust spacing from the right edge */
    top: 50%;
    transform: translateY(-50%);
  }
  .mobile-cta .cta-button {
    padding: 0.5rem 1rem;      /* Reduced padding */
    font-size: 0.85rem;       /* Adjust text size as needed */
  }
    
    /* Hero Adjustments */
    .hero {
      height: 100vh;
      padding: 0 1rem;
    }
    .hero-content h1 {
      font-size: 2.5rem;
      line-height: 1.3;
    }
    .hero-content p {
      font-size: 1rem;
      margin-bottom: 1rem;
    }
    .cta-button {
      padding: 0.8rem 1.5rem;
      font-size: 0.9rem;
    }
  
    /* Navigation adjustments */
    .nav-container {
      flex-direction: column;
    }
    .logo img {
      height: 70px;
    }
    .nav-links {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
      margin-top: 1rem;
    }
    .nav-links a {
      font-size: 0.8rem;
      margin-left: 0;
    }
  
    /* About Section adjustments */
    .stats-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      margin-top: 2rem;
    }
    .stat-item {
      padding: 1.5rem;
    }
    .stat-item i {
      font-size: 2rem;
    }
  
    /* Solutions Section adjustments */
    .solutions-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    .solution-card {
      padding: 1.5rem;
      text-align: center;
    }
    .solution-icon {
      margin: 0 auto 1rem;
    }
    .solution-card h3 {
      text-align: center;
      margin-top: 0.5rem;
    }
    .solution-card p {
      font-size: 0.9rem;
    }
  
    /* Vertical centering for hero content */
    .hero-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
    }
  
    /* Expertise Section adjustments */
    .expertise-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    .expertise-card {
      padding: 1.5rem;
    }
    .expertise-card i {
      font-size: 2rem;
    }
    .expertise-card h3 {
      font-size: 1.2rem;
    }
  
    /* Contact Section adjustments */
    #contact-form {
      padding: 1rem;
    }
    .form-group input,
    .form-group textarea {
      padding: 0.8rem;
      font-size: 0.9rem;
    }
  
    /* Footer adjustments */
    .footer-content {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      text-align: center;
    }
    .footer-logo img {
      height: 30px;
    }
    .footer-links {
      flex-direction: row;
      gap: 1rem;
      justify-content: center;
    }
    .footer-links a {
      font-size: 0.8rem;
    }
  
    /* Hide desktop-only and show mobile-only */
    .desktop-only { display: none; }
    .mobile-only { display: block; }
  
    /* Mobile Navigation Header */
    .mobile-header {
      display: flex;
      justify-content: space-between;
      padding: 0.5rem 1rem;
      background: rgba(0, 0, 0, 0.8);
    }
    .mobile-logo {
      text-align: center;
    }
    .mobile-logo img {
      height: 40px;
    }
    .mobile-cta {
      margin-left: auto;
    }
    .mobile-cta .cta-button {
      padding: 0.5rem 1rem;
      font-size: 0.85rem;
    }
  
    /* Additional mobile layout for nav-container & button */
    .navbar {
      background-color: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(10px);
    }
    .nav-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: auto;
      padding: 1rem;
      width: 100%;
      box-sizing: border-box;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      width: 100%;
      padding: 0 1rem;
    }
    .nav-links a {
      line-height: 60px;
      font-size: 1rem;
      color: var(--secondary-color);
      text-decoration: none;
    }
    .nav-links a:hover {
      color: var(--accent-light);
    }
    .cta-button {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 40px;
      padding: 0 1.5rem;
      background: var(--accent-color);
      color: var(--secondary-color);
      border-radius: 20px;
      font-size: 1rem;
      text-decoration: none;
      border: none;
      cursor: pointer;
    }
    .cta-button:hover {
      background: var(--accent-light);
    }
  }
  
  /* =====================================================
     4. Extra Small Devices (max-width: 480px)
     ===================================================== */
  @media screen and (max-width: 480px) {
    .hero-content h1 {
      font-size: 2rem;
    }
    .hero-content p {
      font-size: 0.9rem;
    }
    .cta-button {
      padding: 0.6rem 1rem;
      font-size: 0.8rem;
    }
    .nav-links {
      gap: 0.5rem;
    }
    .nav-links a {
      font-size: 0.7rem;
    }
    .solution-card p,
    .expertise-card h3 {
      font-size: 0.8rem;
    }
  }
  