/* Global Styles */
:root {
    --primary-color: #FF7A00;  /* Main orange theme */
    --primary-dark: #b34700;   /* Darker orange for better contrast */
    --dark-bg: #0f0f0f;        /* Near black background */
    --white: #FFFFFF;
    --gray: #a0a0a0;          /* Lighter gray for improved readability */
    --light-gray: #f5f5f5;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: linear-gradient(140deg, 
      #000000 0%, 
      #0a0a0a 25%, 
      #271000 50%, 
      #3a1800 70%, 
      #481e00 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Makes the background stay fixed */
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
  }
  
  .star {
    position: absolute;
    background-color: var(--white);
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
    animation: twinkle 3s infinite ease-in-out;
  }
  
  .star:nth-child(1) { top: 10%; left: 15%; width: 2px; height: 2px; animation-delay: 0s; }
  .star:nth-child(2) { top: 20%; left: 30%; width: 3px; height: 3px; animation-delay: 1s; }
  .star:nth-child(3) { top: 15%; left: 50%; width: 1px; height: 1px; animation-delay: 0.5s; }
  .star:nth-child(4) { top: 30%; left: 70%; width: 2px; height: 2px; animation-delay: 2s; }
  .star:nth-child(5) { top: 40%; left: 20%; width: 3px; height: 3px; animation-delay: 1.5s; }
  .star:nth-child(6) { top: 50%; left: 40%; width: 1px; height: 1px; animation-delay: 0.8s; }
  .star:nth-child(7) { top: 60%; left: 60%; width: 2px; height: 2px; animation-delay: 2.5s; }
  .star:nth-child(8) { top: 70%; left: 10%; width: 3px; height: 3px; animation-delay: 1.2s; }
  .star:nth-child(9) { top: 80%; left: 80%; width: 1px; height: 1px; animation-delay: 0.3s; }
  .star:nth-child(10) { top: 25%; left: 90%; width: 2px; height: 2px; animation-delay: 2.8s; }
  .star:nth-child(11) { top: 65%; left: 75%; width: 3px; height: 3px; animation-delay: 1.7s; }
  .star:nth-child(12) { top: 45%; left: 5%; width: 1px; height: 1px; animation-delay: 0.7s; }
  .star:nth-child(13) { top: 35%; left: 85%; width: 2px; height: 2px; animation-delay: 2.2s; }
  .star:nth-child(14) { top: 75%; left: 55%; width: 3px; height: 3px; animation-delay: 1.3s; }
  .star:nth-child(15) { top: 5%; left: 45%; width: 1px; height: 1px; animation-delay: 0.9s; }
  .star:nth-child(16) { top: 90%; left: 25%; width: 2px; height: 2px; animation-delay: 2.6s; }
  .star:nth-child(17) { top: 55%; left: 65%; width: 3px; height: 3px; animation-delay: 1.9s; }
  
  @keyframes twinkle {
    0% { opacity: 0; }
    20% { opacity: 0.8; }
    40% { opacity: 0.3; }
    60% { opacity: 1; }
    80% { opacity: 0.4; }
    100% { opacity: 0; }
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
  }
  
  /* Typography */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
  }
  
  h1 { font-size: 4.5rem; line-height: 1.1; }
  h2 { font-size: 2.5rem; line-height: 1.2; }
  h3 { font-size: 1.8rem; }
  p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--gray);
  }
  
  /* Buttons */
  .btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .btn-primary {
    background-color: var(--primary-dark);
    color: var(--white);
    border: 2px solid var(--primary-dark);
  }
  
  .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--primary-color);
  }
  
  .btn-secondary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
  }
  
  /* Header & Navigation */
  header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 12px 0;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  .left-nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  
  .logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-right: 25px;
    flex-shrink: 0;
  }
  
  .logo img {
    height: 40px;
    width: auto;
  }
  
  .left-menu ul, .right-menu ul {
    display: flex;
    list-style: none;
    align-items: center;
    height: 40px;
    margin: 0;
    padding: 0;
  }
  
  .left-menu ul li, .right-menu ul li {
    margin: 0 12px;
    position: relative;
  }
  
  .left-menu ul li:first-child { margin-left: 0; }
  .right-menu ul li:last-child { margin-right: 0; }
  
  .left-menu ul li a, .right-menu ul li a {
    text-decoration: none;
    font-size: 0.95rem;
    color: var(--white);
    transition: color 0.3s ease;
    padding: 5px 0;
    white-space: nowrap;
  }
  
  .left-menu ul li a:hover, .right-menu ul li a:hover {
    color: var(--primary-color);
  }
  
  .contact-btn {
    background: var(--primary-dark);
    color: var(--white) !important;
    padding: 8px 18px !important;
    border-radius: 4px;
    margin-left: 15px;
    font-size: 0.9rem !important;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    flex-shrink: 0;
  }
  
  .contact-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .mobile-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
  }
  
  /* Hero Section */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    padding-bottom: 40px;
    overflow: hidden;
  }
  
  .hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  .badges {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
  }
  
  .badge {
    background-color: var(--primary-dark);
    border-radius: 50px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--white);
  }
  
  .hero-content {
    max-width: 900px;
    margin-top: auto;
  }
  
  .hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 30px;
  }
  
  .hero-description {
    font-size: 0.95rem;
    max-width: 650px;
    line-height: 1.5;
    color: #cccccc;
  }
  
  .contact-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    white-space: nowrap;
    transition: color 0.3s ease;
  }
  
  .contact-link:hover {
    color: var(--primary-color);
  }
  
  .hero-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0 0;
  }
  
  /* Client Logos */
  .client-logos {
    padding: 30px 0;
    background-color: transparent;
  }
  
  .logos-outer-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 80px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .logo-item {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 120px;
    text-align: center;
    animation: logoMove 28s linear infinite;
  }
  
  .client-logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s ease, filter 0.3s ease;
  }
  
  .client-logo:hover {
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 5px var(--primary-color));
  }
  
  @keyframes logoMove {
    0% { transform: translateY(-50%) translateX(calc(100% + 1200px)); opacity: 0; }
    5% { transform: translateY(-50%) translateX(calc(100% + 1000px)); opacity: 0.7; }
    90% { transform: translateY(-50%) translateX(-130px); opacity: 0.7; }
    100% { transform: translateY(-50%) translateX(-300px); opacity: 0; }
  }
  
  .logo-item:nth-child(1) { animation-delay: 0s; }
  .logo-item:nth-child(2) { animation-delay: -4s; }
  .logo-item:nth-child(3) { animation-delay: -8s; }
  .logo-item:nth-child(4) { animation-delay: -12s; }
  .logo-item:nth-child(5) { animation-delay: -16s; }
  .logo-item:nth-child(6) { animation-delay: -20s; }
  .logo-item:nth-child(7) { animation-delay: -24s; }
  
  /* Services Section */
  .services {
    padding: 100px 0;
    /* Removed background-color */
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .service-card {
    /* Glassmorphism background with black-to-orange gradient */
    background: linear-gradient(135deg, 
      rgba(0, 0, 0, 0.8) 0%,    /* Black with transparency */
      rgba(255, 122, 0, 0.2) 100%  /* Subtle orange tint */
    );
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    border: 1px solid rgba(255, 122, 0, 0.3); /* Subtle orange border */
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
  }
  
  .service-card:nth-child(1) { animation-delay: 0.1s; }
  .service-card:nth-child(2) { animation-delay: 0.2s; }
  .service-card:nth-child(3) { animation-delay: 0.3s; }
  .service-card:nth-child(4) { animation-delay: 0.4s; }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .service-card:hover {
    max-height: 500px;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 122, 0, 0.3);
  }
  
  .service-card:hover:before {
    opacity: 1;
  }
  
  /* Footer */
  footer {
    padding: 80px 0 30px;
    /* Removed background-color */
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
  }
  
  .social-icons a {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s ease;
  }
  
  .social-icons a:hover {
    color: var(--white);
  }
  
  /* Responsive Adjustments */
  @media (max-width: 800px) {
    .left-menu, .right-menu { display: none; }
    .mobile-toggle { display: block; }
  }
  
  @media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    .badges { flex-direction: column; }
  }
  
  /* Dynamic Services Sentence */
  .dynamic-services-sentence {
    width: 100%;
    text-align: center;
    margin: 40px 0 0 0;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--white);
    z-index: 10;
    position: relative;
  }
  .dynamic-services-sentence #dynamic-word {
    color: var(--primary-color);
    transition: color 0.4s, opacity 0.4s;
    padding: 0 0.3em;
  }