/* =========================================
   GLOBAL VARIABLES & RESETS
   ========================================= */
   :root {
      --navy-dark: #0a192f;
      --navy-medium: #112240;
      --navy-light: #233554;
      --accent-blue: #0077b6;
      --white: #ffffff;
      --text-dark: #333333;
      --bg-light: #f4f7f6;
  }
  
  * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, sans-serif; }
  body { background-color: var(--bg-light); color: var(--text-dark); transition: opacity 0.5s ease-in-out; }
  body.fade-out { opacity: 0; }
  
  /* =========================================
     HEADER & NAVIGATION
     ========================================= */
  .top-bar { background: #050d1a; color: #4f7bff; display: flex; justify-content: space-between; padding: 8px 8%; font-size: 12px; }
  .top-bar a { color: #88b0ff; text-decoration: none; margin-left: 15px; transition: color 0.3s; }
  .top-bar a:hover { color: var(--white); }
  
  /* UPDATED: Navbar background changed to #88a6ff */
  .navbar { 
      display: flex; 
      justify-content: space-between; 
      align-items: center; 
      padding: 15px 8%; 
      background: #1a3964; 
      box-shadow: 0 2px 15px rgba(0,0,0,0.05); 
      position: sticky; 
      top: 0; 
      z-index: 1000; 
      transition: all 0.3s ease; 
  }
  
  /* LOGO STYLING (With Image alignment) */
  .logo { 
      display: flex; 
      align-items: center; 
      gap: 12px;
  }
  
  .nav-logo-icon {
      height: 55px; 
      width: auto;
      object-fit: contain;
  }
  
  .logo h1 { font-size: 18px; color: var(--navy-dark); line-height: 1.1; letter-spacing: 1px; }
  .logo span { font-weight: 400; color: var(--accent-blue); font-size: 14px; }
  
  .nav-links { display: flex; list-style: none; align-items: center; }
  .nav-links li { margin-left: 25px; }
  .nav-links a { color: var(--navy-dark); text-decoration: none; font-size: 15px; font-weight: 600; transition: color 0.3s; display: flex; align-items: center; gap: 5px; }
  .nav-links a i { font-size: 10px; }
  .nav-links a:hover { color: var(--white); /* Updated hover color for better contrast on light blue */ }
  
  /* Expanding Search Bar */
  .search-container { display: flex; align-items: center; margin-left: 25px; }
  .search-input { width: 0; opacity: 0; border: none; outline: none; background: transparent; border-bottom: 2px solid var(--navy-dark); color: var(--navy-dark); font-size: 14px; padding: 5px 0; margin-right: 0; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
  .search-input::placeholder { color: var(--navy-light); font-style: italic; }
  .search-container:hover .search-input, .search-input:focus { width: 180px; opacity: 1; padding: 5px 10px; margin-right: 10px; }
  .search-icon { font-size: 16px; color: var(--navy-dark); cursor: pointer; transition: color 0.3s; }
  .search-container:hover .search-icon { color: var(--white); }
  
  /* Deep Navy Style Search Bar (for Solutions page header) */
  .solutions-search .search-input { color: var(--navy-dark); }
  .solutions-search .search-icon { color: var(--navy-dark); }
  .solutions-search:hover .search-icon { color: var(--white); }
  
  /* =========================================
     HERO SECTION (India Map Background)
     ========================================= */
  .hero {
      height: 90vh;
      background-image: linear-gradient(135deg, rgba(187, 213, 255, 0.925) 0%, rgba(160, 196, 215, 0.85) 100%), url('karriere.jpg');
      background-size: cover; 
      background-position: center center; 
      background-blend-mode: multiply; 
      padding: 0 8% 250px 8%; 
      color: var(--white); 
      display: flex; 
      align-items: center;
      position: relative;
  }
  
  /* Subtle watermarked text overlay on the map */
  .hero::after {
      color: rgba(255, 255, 255, 0.754); 
      font-size: 8rem;
      font-weight: 900;
      position: absolute;
      bottom: 25%;
      right: 15%;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      pointer-events: none; 
  }
  
  /* Container adjusted for wider screens and better spacing */
  .hero-container { 
      display: flex; 
      align-items: center; 
      justify-content: space-between; 
      max-width: 1400px; 
      margin: 0 auto; 
      width: 100%; 
      position: relative; 
      z-index: 2; 
      gap: 40px; 
  }
  
  /* 65-70% Horizontal Space for Text */
  .hero-text { 
      flex: 0 0 65%; 
      padding-right: 20px; 
  }
  
  /* Highly styled, premium heading */
  .hero-text h2 { 
      font-size: 4.5rem; 
      font-weight: 800; 
      line-height: 1.05; 
      margin-bottom: 25px; 
      text-transform: uppercase; 
      letter-spacing: -1px; 
      
      background: linear-gradient(to right, #ffffff 30%, #a8b2d1 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      
      filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.4));
  }
  
  .hero-text p { 
      font-size: 1.4rem; 
      margin-bottom: 30px; 
      color: #ccd6f6; 
      max-width: 80%; 
  }
  
  /* Remaining 30-35% Horizontal Space for Logo */
  .hero-visual { 
      flex: 0 0 35%; 
      display: flex; 
      justify-content: flex-end; 
      align-items: center;
  }
  
  /* Oversized floating logo container */
  .mock-book { 
      background: transparent; 
      width: 100%; 
      max-width: 600px; 
      display: flex; 
      justify-content: center; 
      align-items: center;
      position: relative; 
      animation: floatLogo 6s ease-in-out infinite; 
  }
  
  .mock-book::before {
      display: none;
  }
  
  /* Scaled up image with a bright glow */
  .mock-book img {
      width: 120%; 
      height: auto;
      z-index: 2;
      position: relative;
      filter: drop-shadow(0px 10px 35px rgba(255, 255, 255, 0.25)); 
      transform: scale(1.85); 
  }
  
  /* Keyframes for the gentle floating effect */
  @keyframes floatLogo {
      0% { transform: translateY(0px); }
      50% { transform: translateY(-15px); }
      100% { transform: translateY(0px); }
  }
  
  /* =========================================
     OVERLAPPING SERVICES SECTION
     ========================================= */
  .how-we-help { padding: 0 8%; }
  .help-container { 
      background: var(--white); 
      border-radius: 12px; 
      box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
      margin-top: -160px; 
      position: relative; 
      z-index: 10; 
      padding: 60px 40px; 
      text-align: center; 
  }
  
  .section-title { font-size: 2.2rem; color: var(--navy-dark); margin-bottom: 40px; }
  .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
  .service-card { padding: 30px; border-bottom: 4px solid transparent; transition: 0.3s; }
  .service-card:hover { border-bottom: 4px solid var(--accent-blue); transform: translateY(-5px); }
  .service-card i { font-size: 40px; color: var(--navy-light); margin-bottom: 20px; }
  .service-card h4 { font-size: 1.3rem; color: var(--navy-dark); margin-bottom: 10px; }
  
  /* "Explore All Services" Button on Home Page */
  .view-all-container { margin-top: 40px; text-align: center; }
  .btn-view-all { display: inline-block; padding: 12px 30px; border: 2px solid var(--navy-dark); color: var(--navy-dark); text-decoration: none; font-weight: 600; border-radius: 4px; transition: all 0.3s ease; }
  .btn-view-all i { margin-left: 8px; transition: transform 0.3s ease; }
  .btn-view-all:hover { background: var(--navy-dark); color: var(--white); }
  .btn-view-all:hover i { transform: translateX(5px); }
  
  /* =========================================
     CLIENT SUCCESS STORIES
     ========================================= */
  .success-stories { padding: 100px 8%; background: var(--white); text-align: center; margin-top: 60px; }
  .section-header { margin-bottom: 60px; }
  .section-header h2 { font-size: 2.5rem; color: var(--navy-dark); margin-bottom: 15px; }
  .success-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; text-align: left; }
  .success-card { display: flex; flex-direction: column; }
  .success-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; margin-bottom: 20px; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease; }
  .success-card:hover img { transform: translateY(-12px); box-shadow: 0 15px 30px rgba(0,20,50,0.15); }
  .success-card h4 { color: var(--navy-dark); font-size: 1.3rem; margin-bottom: 15px; font-weight: 700; }
  
  /* =========================================
     SOLUTIONS PAGE STYLES (solutions.html)
     ========================================= */
  .page-hero { 
      background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%); 
      padding: 80px 15% 60px 15%; 
      text-align: center; 
      color: var(--white); 
  }
  .page-hero h1 { font-size: 3rem; margin-bottom: 20px; color: var(--white); }
  .page-hero p { font-size: 1.1rem; line-height: 1.6; color: #ccd6f6; max-width: 800px; margin: 0 auto; }
  
  .detailed-services { padding: 80px 8%; background: var(--bg-light); }
  .service-list { list-style: none; margin-top: 20px; text-align: left; border-top: 1px solid #e0e0e0; padding-top: 15px; }
  .service-list li { font-size: 0.95rem; color: #555; margin-bottom: 10px; display: flex; align-items: flex-start; }
  .service-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent-blue); margin-right: 10px; margin-top: 2px; }
  
  .why-choose-us { background: var(--white); padding: 80px 8%; text-align: center; }
  .why-choose-us .section-title p { color: #666; font-size: 1.1rem; }
  .features-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-top: 40px; }
  .feature { flex: 1; min-width: 200px; max-width: 250px; }
  .feature i { font-size: 35px; color: var(--navy-light); margin-bottom: 15px; }
  .feature p { font-weight: 600; color: var(--navy-dark); }
  
  /* =========================================
     SCROLL ANIMATIONS (Triggered by JS)
     ========================================= */
  .animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
  .service-card.animate-on-scroll:nth-child(1), .success-card.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
  .service-card.animate-on-scroll:nth-child(2), .success-card.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
  .service-card.animate-on-scroll:nth-child(3), .success-card.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
  .success-card.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
  .animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
  
  footer { background: #050d1a; color: #8892b0; text-align: center; padding: 30px; }
  /* =========================================
   ABOUT PAGE STYLES (about.html)
   ========================================= */

/* Two-Column Story Section */
.about-story {
    padding: 80px 8%;
    background: var(--white);
}

.story-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.story-text {
    flex: 1;
}

.story-text h2 {
    font-size: 2.5rem;
    color: var(--navy-dark);
    margin-bottom: 25px;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.story-image {
    flex: 1;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Mission & Vision Cards Section */
.mission-vision {
    padding: 60px 8% 100px 8%;
    background: var(--bg-light);
}

.mv-container {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.mv-card {
    flex: 1;
    background: var(--white);
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid var(--accent-blue);
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-10px);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: #eef5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
}

.mv-icon i {
    font-size: 35px;
    color: var(--accent-blue);
}

.mv-card h3 {
    font-size: 1.8rem;
    color: var(--navy-dark);
    margin-bottom: 15px;
}

.mv-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #666;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 900px) {
    .story-container, .mv-container {
        flex-direction: column;
    }
}