    /* CSS Variables - Modern Color Scheme */
    :root {
      --primary: #2563eb;
      --primary-dark: #1d4ed8;
      --secondary: #7e22ce;
      --secondary-dark: #6b21a8;
      --accent: #0ea5e9;
      --accent-light: #38bdf8;
      --dark: #1e293b;
      --dark-light: #334155;
      --light: #f8fafc;
      --light-gray: #f1f5f9;
      --success: #10b981;
      --warning: #f59e0b;
      --danger: #ef4444;
      --gray: #64748b;
      --transition: all 0.3s ease;
      --transition-slow: all 0.5s ease;
      --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
      --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
      --radius: 12px;
      --radius-lg: 16px;
    }

    /* Reset & Base Styles */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Roboto', sans-serif;
      line-height: 1.6;
      color: var(--dark);
      background-color: var(--light);
      overflow-x: hidden;
    }

    body::after {
      content: "Made by Subhash Yadav & Saurabh Kumar";
      display: none;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
      line-height: 1.3;
      margin-bottom: 1rem;
    }

    p {
      margin-bottom: 1.5rem;
    }

    a {
      text-decoration: none;
      color: var(--primary);
      transition: var(--transition);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.9rem 2rem;
      border-radius: var(--radius);
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: white;
      font-weight: 500;
      border: none;
      cursor: pointer;
      transition: var(--transition);
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }

    .btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: var(--transition-slow);
    }

    .btn:hover::before {
      left: 100%;
    }

    .btn:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-lg);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
    }

    .btn-outline:hover {
      background: var(--primary);
      color: white;
    }

    .section {
      padding: 5rem 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 3rem;
      position: relative;
      font-size: 2.5rem;
    }

    .section-title:after {
      content: '';
      display: block;
      width: 80px;
      height: 4px;
      background: linear-gradient(to right, var(--primary), var(--secondary));
      margin: 0.5rem auto;
      border-radius: 2px;
    }

    /* NEW NAVBAR STYLES */
    .navbar {
      background: linear-gradient(90deg, #202839, #3d4262);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      padding: 0.8rem 1rem;
      position: fixed;
      top: 0;
      z-index: 1000;
      width: 100%;
    }

    .nav-container {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      font-family: 'Poppins', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      line-height: 1;
      color: #ffffff;
      text-decoration: none;
      letter-spacing: -0.025em;
      display: flex;
      align-items: center;
      max-width: 100px;
    }

    .logo i {
      margin-right: 0.5rem;
      color: var(--accent);
    }

    .logo img {
      width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 5px;
    }

    .logo span {
      color: var(--accent-light);
    }

    .nav-menu {
      display: none;
      align-items: center;
      gap: 1rem;
      list-style: none;
    }

    @media (min-width: 992px) {
      .nav-menu {
        display: flex;
      }
    }

    .nav-item {
      position: relative;
    }

    .nav-link {
      padding: 0.65rem 0;
      font-weight: 500;
      color: #ffffff;
      text-decoration: none;
      position: relative;
      transition: color 0.3s ease, transform 0.2s ease;
      display: flex;
      align-items: center;
      font-size: .85rem;
    }

    .nav-link i {
      margin-right: 0.5rem;
      font-size: 0.9rem;
    }

    .nav-link:hover {
      color: var(--accent-light);
      transform: translateY(-2px);
    }

    .nav-link::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background-color: var(--accent-light);
      transition: width 0.3s ease;
    }

    .nav-link:hover::after {
      width: 100%;
    }

    /* Updated Dropdown Styles for Tree Structure */
    .dropdown-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background: white;
      box-shadow: var(--shadow-lg);
      border-radius: var(--radius);
      padding: 1rem 0;
      min-width: 220px;
      z-index: 1000;
      list-style: none;
    }

    .dropdown-menu a {
      text-decoration: none;
      color: black;
      display: block;
      padding: 0.8rem 1.5rem;
      transition: var(--transition);
    }

    .dropdown-menu li {
      position: relative;
    }

    .dropdown-menu li:hover {
      background-color: rgb(199, 221, 255);
      color: var(--primary);
    }

    .dropdown-menu li:hover > a {
      color: var(--primary);
    }

    .nav-item:hover > .dropdown-menu {
      display: block;
    }

    /* Nested dropdown styles */
    .dropdown-menu .dropdown-menu {
      top: 0;
      left: -100%;
      margin-top: -1rem;
    }

    .dropdown-menu > li:hover > .dropdown-menu {
      display: block;
    }

    /* Arrow indicators for nested items */
    /* .has-nested > a::after {
      content: "\f105";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      margin-left: auto;
      padding-left: 1rem;
    } */

    /* Menu Toggle and Offcanvas */
    .menu-toggle {
      display: block;
      font-size: 1.75rem;
      color: #ffffff;
      background: none;
      border: none;
      cursor: pointer;
      transition: color 0.3s ease;
    }

    .menu-toggle:hover {
      color: var(--accent-light);
    }

    @media (min-width: 992px) {
      .menu-toggle {
        display: none;
      }
    }

    .offcanvas-menu {
      position: fixed;
      top: 0;
      left: -100%;
      height: 100vh;
      background: white;
      box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
      z-index: 1002;
      overflow-y: auto;
      transition: left 0.3s ease;
      width: 75%;
      max-width: 24rem;
    }

    .offcanvas-menu.active {
      left: 0;
    }

    .offcanvas-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.25rem;
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      background: linear-gradient(90deg, #202839, #3d4262);
    }

    .offcanvas-header img {
      width: 55px;
    }

    .offcanvas-logo {
      font-family: 'Poppins', sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: #ffffff;
    }

    .offcanvas-logo span {
      color: var(--accent-light);
    }

    .close-btn {
      font-size: 1.75rem;
      color: #ffffff;
      background: none;
      border: none;
      cursor: pointer;
      transition: color 0.3s ease;
    }

    .close-btn:hover {
      color: var(--accent-light);
    }

    .offcanvas-body {
      padding: 1.25rem;
    }

    .mobile-menu {
      display: flex;
      flex-direction: column;
      list-style: none;
    }

    .mobile-nav-item {
      position: relative;
    }

    .mobile-nav-link {
      display: flex;
      align-items: center;
      padding: 1rem 1.25rem;
      font-weight: 500;
      color: var(--dark);
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
      text-decoration: none;
      transition: color 0.3s ease, background-color 0.3s ease;
    }

    .mobile-nav-link i {
      margin-right: 0.5rem;
      font-size: 0.9rem;
    }

    .mobile-nav-link:hover {
      color: var(--primary);
      background-color: rgba(14, 165, 233, 0.1);
    }

    .mobile-dropdown-toggle {
      position: absolute;
      right: 0;
      top: 0.75rem;
      width: 5rem;
      height: 2.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      background: none;
      border: none;
      cursor: pointer;
    }

    .mobile-dropdown-toggle i {
      font-size: 1rem;
      color: var(--primary);
    }

    .mobile-submenu {
      position: fixed;
      top: 0;
      left: -100%;
      height: 100vh;
      background: white;
      z-index: 1003;
      padding: 1.25rem;
      overflow-y: auto;
      transition: left 0.3s ease;
      width: 75%;
      max-width: 24rem;
      list-style: none;
    }

    .mobile-submenu.active {
      left: 0;
    }

    .submenu-header {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 0.75rem 0;
      margin-bottom: 1rem;
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .back-btn {
      font-size: 1.5rem;
      background: none;
      border: none;
      cursor: pointer;
      color: var(--primary);
      transition: color 0.3s ease;
    }

    .back-btn:hover {
      color: var(--primary-dark);
    }

    .submenu-title {
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
      font-size: 1.25rem;
      color: var(--dark);
    }

    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      z-index: 1001;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }

    .overlay.active {
      opacity: 1;
      visibility: visible;
    }

    /* Hero Section */
    .hero {
      height: 100vh;
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
      display: flex;
      align-items: center;
      color: var(--light);
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(126, 34, 206, 0.2) 100%);
      z-index: 0;
    }

    .hero-content {
      max-width: 650px;
      opacity: 0;
      transform: translateY(30px);
      animation: fadeInUp 1s ease forwards 0.5s;
      position: relative;
      z-index: 1;
    }

    .hero-title {
      font-size: 3.5rem;
      margin-bottom: 1.5rem;
      line-height: 1.2;
      background: linear-gradient(to right, #fff, var(--accent-light));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-subtitle {
      font-size: 1.3rem;
      margin-bottom: 2.5rem;
      opacity: 0.9;
    }

    .hero-buttons {
      display: flex;
      gap: 1rem;
    }

    /* Services Section */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
    }

    .service-card {
      background: white;
      border-radius: var(--radius-lg);
      padding: 2.5rem 2rem;
      text-align: center;
      box-shadow: var(--shadow);
      transition: var(--transition);
      opacity: 0;
      transform: translateY(20px);
      position: relative;
      overflow: hidden;
      border: 1px solid transparent;
    }

    .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 5px;
      background: linear-gradient(to right, var(--primary), var(--secondary));
      transform: scaleX(0);
      transform-origin: left;
      transition: var(--transition);
    }

    .service-card:hover::before {
      transform: scaleX(1);
    }

    .service-card.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .service-card:hover {
      transform: translateY(-10px);
      box-shadow: var(--shadow-lg);
      border-color: var(--accent-light);
    }

    .service-icon {
      font-size: 3rem;
      margin-bottom: 1.5rem;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      display: inline-flex;
      padding: 1rem;
      border-radius: 50%;
      background-color: rgba(14, 165, 233, 0.1);
    }

    .service-title {
      font-size: 1.5rem;
      margin-bottom: 1rem;
      color: var(--dark);
    }

    .service-description {
      color: var(--gray);
    }

    /* Features Section */
    .features {
      background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
      color: var(--light);
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .features::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(126, 34, 206, 0.1) 100%);
    }

    .stats-container {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      gap: 2rem;
      position: relative;
    }

    .stat {
      padding: 2rem;
      background: rgba(255, 255, 255, 0.1);
      border-radius: var(--radius);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: var(--transition);
      min-width: 200px;
    }

    .stat:hover {
      transform: translateY(-5px);
      background: rgba(255, 255, 255, 0.15);
    }

    .stat-number {
      font-size: 3.5rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      background: linear-gradient(135deg, var(--accent), var(--primary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .stat-label {
      font-size: 1.2rem;
      opacity: 0.9;
      color: var(--light);
    }

    /* Calculator Section */
    .calculator-section {
      background: var(--light-gray);
      padding: 5rem 0;
    }

    .calculator-container {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 30px;
      flex-wrap: wrap;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* Tab Box (Left Column) */
    .tab-box {
      display: flex;
      flex-direction: column;
      gap: 15px;
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(10px);
      border-radius: var(--radius-lg);
      padding: 20px;
      box-shadow: var(--shadow);
      flex: 1 1 250px;
      max-width: 300px;
      animation: fadeUp 1s ease forwards;
      opacity: 0;
    }

    .tab {
      padding: 15px 20px;
      border-radius: var(--radius);
      border: 1px solid #ddd;
      background: white;
      cursor: pointer;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 10px;
      transition: var(--transition);
      font-family: 'Poppins', sans-serif;
    }

    .tab i {
      font-size: 1.2rem;
      width: 24px;
      text-align: center;
    }

    .tab:hover {
      background: #eef3ff;
      transform: translateY(-2px);
    }

    .tab.active {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    /* Calculator Box (Right Column) */
    .calculator-box {
      flex: 1 1 500px;
      max-width: 700px;
      background: white;
      border-radius: var(--radius-lg);
      padding: 30px;
      box-shadow: var(--shadow);
      animation: fadeUp 1s ease forwards;
      opacity: 0;
    }

    .calculator-form {
      display: none;
      animation: fadeIn 0.6s ease;
    }

    .calculator-form.active {
      display: block;
    }

    .calculator-form h2 {
      margin-top: 0;
      color: var(--dark);
      font-size: 1.8rem;
      margin-bottom: 1.5rem;
      position: relative;
      padding-bottom: 0.8rem;
    }

    .calculator-form h2:after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 50px;
      height: 3px;
      background: var(--primary);
      border-radius: 3px;
    }

    .form-group {
      margin-bottom: 1.8rem;
      position: relative;
    }

    .form-label {
      display: block;
      margin-bottom: 0.8rem;
      font-weight: 500;
      color: var(--dark);
    }

    .form-input {
      width: 100%;
      padding: 1rem 1.2rem;
      border: 2px solid #e2e8f0;
      border-radius: var(--radius);
      transition: var(--transition);
      font-size: 1rem;
      background: var(--light);
    }

    .form-input:focus {
      border-color: var(--primary);
      outline: none;
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

    .form-range {
      width: 100%;
      margin-top: 0.8rem;
      height: 5px;
      -webkit-appearance: none;
      appearance: none;
      background: #e2e8f0;
      outline: none;
      border-radius: 5px;
    }

    .form-range::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: var(--primary);
      cursor: pointer;
      transition: var(--transition);
    }

    .form-range::-webkit-slider-thumb:hover {
      background: var(--primary-dark);
      transform: scale(1.2);
    }

    .range-values {
      display: flex;
      justify-content: space-between;
      margin-top: 0.5rem;
      color: var(--gray);
      font-size: 0.9rem;
    }

    .calculator-result {
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      padding: 2rem;
      border-radius: var(--radius);
      margin-top: 2rem;
      text-align: center;
      display: none;
      color: white;
      animation: fadeIn 0.5s ease;
    }

    .calculator-result.active {
      display: block;
    }

    .result-value {
      font-size: 2.2rem;
      font-weight: 700;
      margin: 1rem 0;
      color: white;
    }

    .result-label {
      font-size: 0.9rem;
      opacity: 0.8;
      display: block;
    }

    /* Animations */
    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }

    /* Responsive Styles */
    @media (max-width: 992px) {
      .calculator-container {
        flex-direction: column;
        align-items: stretch;
      }
      
      .tab-box, .calculator-box {
        max-width: 100%;
      }
    }

    @media (max-width: 576px) {
      .calculator-box {
        padding: 1.5rem;
      }
      
      .tab {
        padding: 1rem;
      }
    }

    /* Blog Section */
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 2.5rem;
      margin-top: 2rem;
    }

    .blog-card {
      background: white;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: var(--transition);
    }

    .blog-card:hover {
      transform: translateY(-10px);
      box-shadow: var(--shadow-lg);
    }

    .blog-image {
      height: 220px;
      overflow: hidden;
    }

    .blog-image img {
      width: 100%;
      height: 100%;
      object-fit: fill;
      transition: var(--transition-slow);
    }

    .blog-card:hover .blog-image img {
      transform: scale(1.05);
    }

    .blog-content {
      padding: 1.8rem;
      position: relative;
    }

    .blog-date {
      color: var(--gray);
      font-size: 0.9rem;
      margin-bottom: 0.8rem;
      display: block;
    }

    .blog-title {
      font-size: 1.4rem;
      margin-bottom: 1rem;
      color: var(--dark);
    }

    .blog-excerpt {
      color: var(--gray);
      margin-bottom: 1.5rem;
    }

    .blog-read-more {
      display: inline-flex;
      align-items: center;
      color: var(--primary);
      font-weight: 500;
      transition: var(--transition);
    }

    .blog-read-more i {
      margin-left: 0.5rem;
      transition: var(--transition);
    }

    .blog-read-more:hover {
      color: var(--primary-dark);
    }

    .blog-read-more:hover i {
      transform: translateX(5px);
    }

    /* FAQ Section */
    .faq-container {
      max-width: 900px;
      margin: 0 auto;
    }

    .faq-item {
      margin-bottom: 1.2rem;
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: var(--transition);
      background: white;
    }

    .faq-item:hover {
      box-shadow: var(--shadow-lg);
    }

    .faq-question {
      padding: 1.5rem;
      background: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-weight: 500;
      transition: var(--transition);
    }

    .faq-question:hover {
      background: var(--light-gray);
    }

    .faq-question i {
      transition: var(--transition);
    }

    .faq-answer {
      padding: 0 1.5rem;
      max-height: 0;
      overflow: hidden;
      background: white;
      transition: max-height 0.4s ease, padding 0.4s ease;
    }

    .faq-item.active .faq-answer {
      max-height: 500px;
      padding: 0 1.5rem 1.5rem;
    }

    .faq-item.active .faq-question i {
      transform: rotate(180deg);
    }

    /* Footer */
    footer {
      background: var(--dark);
      color: var(--light);
      padding: 5rem 0 2rem;
      position: relative;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2.5rem;
      margin-bottom: 3rem;
    }

    .footer-col h3 {
      font-size: 1.3rem;
      margin-bottom: 1.5rem;
      position: relative;
      padding-bottom: 0.8rem;
      color: white;
    }

    .footer-col h3:after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 50px;
      height: 3px;
      background: var(--primary);
      border-radius: 3px;
    }

    .footer-links {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 0.8rem;
    }

    .footer-links a {
      color: #cbd5e1;
      transition: var(--transition);
      display: inline-block;
    }

    .footer-links a:hover {
      color: var(--accent);
      transform: translateX(5px);
    }

    .social-links {
      display: flex;
      gap: 1rem;
      margin-top: 1.5rem;
    }

    .social-links a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 45px;
      height: 45px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      color: var(--light);
      transition: var(--transition);
    }

    .social-links a:hover {
      background: var(--primary);
      transform: translateY(-5px);
    }

    .newsletter-form {
      display: flex;
      margin-top: 1.5rem;
      background: rgba(255, 255, 255, 0.1);
      border-radius: var(--radius);
      overflow: hidden;
    }

    .newsletter-input {
      flex: 1;
      padding: 0.9rem 1.2rem;
      border: none;
      background: transparent;
      color: white;
      outline: none;
    }

    .newsletter-input::placeholder {
      color: rgba(255, 255, 255, 0.7);
    }

    .newsletter-btn {
      padding: 0 1.5rem;
      background: var(--primary);
      color: white;
      border: none;
      cursor: pointer;
      transition: var(--transition);
    }

    .newsletter-btn:hover {
      background: var(--primary-dark);
    }

    .footer-bottom {
      text-align: center;
      padding-top: 2.5rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      color: #94a3b8;
    }

    /* Modal Styles */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      z-index: 2000;
      opacity: 0;
      transition: opacity 0.3s ease;
      backdrop-filter: blur(5px);
    }

    .modal.active {
      display: block;  /* FIX: Override display to make modal visible */
      opacity: 1;
    }

    .modal-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.9);
      background: white;
      padding: 1.5rem;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
      width: 90%;
      max-width: 600px;
      max-height: 95vh;
      overflow: auto;
      scrollbar-width: thin;      /* Firefox */
      scrollbar-color: #888 #f1f1f1; /* Firefox: thumb + track */
      text-align: center;
      transition: transform 0.3s ease;
    }

    .modal.active .modal-content {
      transform: translate(-50%, -50%) scale(1);
    }

    .modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: var(--gray);
      transition: var(--transition);
    }

    .modal-close:hover {
      color: var(--dark);
    }

    .modal-title {
      font-size: 1.8rem;
      margin-bottom: .5rem;
      color: var(--primary);
    }

    .modal-text {
      margin-bottom: 2rem;
      color: var(--gray);
    }

    /* Contact Form Enhancements */
    .contact-form-group {
      position: relative;
      margin-bottom: 1.8rem;
    }

    .contact-form-input {
      width: 100%;
      padding: 1rem 1.2rem;
      border: 2px solid #e2e8f0;
      border-radius: var(--radius);
      transition: var(--transition);
      font-size: 1rem;
      background: var(--light);
    }

    .contact-form-input:focus {
      border-color: var(--primary);
      outline: none;
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

    .contact-form-label {
      position: absolute;
      top: 1rem;
      left: 1.2rem;
      color: var(--gray);
      pointer-events: none;
      transition: var(--transition);
      background: white;
      padding: 0 0.5rem;
    }

    .contact-form-input:focus + .contact-form-label,
    .contact-form-input:not(:placeholder-shown) + .contact-form-label {
      top: -0.6rem;
      font-size: 0.85rem;
      color: var(--primary);
    }

    .contact-form-error {
      color: var(--danger);
      font-size: 0.85rem;
      margin-top: 0.5rem;
      display: none;
    }

    .contact-form-input.error {
      border-color: var(--danger);
    }

    /* New Enquiry Modal Styles */
    #enquiry-modal .modal-content {
      max-width: 460px;
      max-height: 95vh;
      overflow-y: auto;
    }

    /* Success Popup */
    .success-popup {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      z-index: 2000;
      justify-content: center;
      align-items: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .success-popup.active {
      display: flex;
      opacity: 1;
    }

    .success-popup-content {
      background: white;
      padding: 2.5rem;
      border-radius: var(--radius-lg);
      text-align: center;
      max-width: 90%;
      width: 400px;
      box-shadow: var(--shadow-lg);
      transform: scale(0.9);
      transition: transform 0.3s ease;
      position: relative;
    }

    .success-popup.active .success-popup-content {
      transform: scale(1);
    }

    .success-check {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: var(--success);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      position: relative;
    }

    .success-check::before {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      background: rgba(72, 187, 120, 0.2);
      border-radius: 50%;
      animation: pulse 2s infinite;
    }

    .success-check i {
      color: white;
      font-size: 40px;
      position: relative;
      z-index: 1;
    }

    .success-popup-close {
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: white;
      border: none;
      padding: 0.8rem 1.5rem;
      border-radius: var(--radius);
      cursor: pointer;
      font-weight: 500;
      transition: var(--transition);
      margin-top: 1rem;
      display: inline-block;
    }

    .success-popup-close:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow);
    }

    /* Animations */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: scale(0.95);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    @keyframes pulse {
      0% {
        transform: scale(1);
        opacity: 0.7;
      }
      70% {
        transform: scale(2);
        opacity: 0;
      }
      100% {
        transform: scale(2);
        opacity: 0;
      }
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    /* Responsive Styles */
    @media (max-width: 1200px) {
      .container {
        max-width: 960px;
      }
    }

    @media (max-width: 992px) {
      /*.container {*/
      /*  max-width: 720px;*/
      /*}*/
      
      .hero-title {
        font-size: 2.8rem;
      }
      
      .hero-buttons {
        flex-direction: column;
      }
      
      .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
      }

      .stats-container {
        gap: 1.5rem;
      }

      .stat {
        min-width: 160px;
        padding: 1.5rem;
      }

      .stat-number {
        font-size: 2.8rem;
      }
    }

    @media (max-width: 768px) {
      .container {
        max-width: 540px;
      }
      
      .section {
        padding: 4rem 0;
      }
      
      .section-title {
        font-size: 1.5rem;
        margin-bottom: 2.5rem;
      }

      .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
      }

      .service-title {
        font-size: 1rem;
      }

      .service-description {
        font-size: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 4;   /* 👈 limit to 4 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      
      .hero-title {
        font-size: 2.5rem;
      }
      
      .hero-subtitle {
        font-size: 1.1rem;
      }
      
      .stats-container {
        flex-direction: column;
        gap: 1.5rem;
      }
      
      .stat {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
      }
      
      .stat-number {
        font-size: 2.5rem;
      }

      .calculator-tabs {
        flex-direction: column;
      }

      .calculator-container {
        padding: 1.8rem;
      }

      .result-value {
        font-size: 1.5rem;
      }

      .service-card {
        padding: 2rem 1.5rem;
      }

      .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
      }

      .blog-title {
        font-size: 1rem;
      }

      .blog-date {
        font-size: .6rem;
      }

      .blog-excerpt {
        font-size: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 4;   /* 👈 limit to 4 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .modal-title {
        font-size: 1.5rem;
      }

      .modal-text {
        margin-bottom: 1rem;
      }
    }

    @media (max-width: 576px) {
      .container {
        padding: 0 1rem;
      }
      
      .hero-title {
        font-size: 2rem;
      }
      
      .service-card {
        padding: .5rem;
      }
      
      .calculator-container {
        padding: 1.5rem;
      }
      
      .tab {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
      }

      .modal-content {
        padding: 1.8rem;
      }

      .blog-content {
        padding: .5rem;
      }
    }