:root {
            --primary: #2D2E62;
            --secondary: #00EBD3;
            --secondary-dark: #00B7A4;
            --white: #FFFFFF;
            --gray-light: #F5F5F5;
            --gray-medium: #707070;
            --gray-dark: #5E5E5E;
            --shadow: 0 4px 4px rgba(0,0,0,0.1);
            --border-radius: 9px;
            --border-radius-lg: 20px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--gray-dark);
            background-color: var(--white);
            overflow-x: hidden;
        }

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

        .container {
            width: 100%;
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .btn {
            display: inline-block;
            padding: 12px 24px;
            border-radius: var(--border-radius);
            font-weight: 500;
            text-align: center;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .btn-primary {
            background-color: var(--secondary);
            color: var(--primary);
            border: 2px solid var(--secondary);
        }
        
        .btn-no-hover:hover,
        .btn-no-hover:focus,
.btn-no-hover:active {
background-color: #00EBD3 !important;
color: white !important;
box-shadow: none !important;
text-decoration: none !important;
}
        .btn-outline {
            background-color: transparent;
            color: var(--white);
            border: 2px solid var(--white);
        }

        .btn-outline:hover {
            background-color: var(--white);
            color: var(--primary);
        }

        /* Header Styles */
        header {
            background-color: var(--primary);
            color: var(--white);
            padding: 20px 0;
            position: relative;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            width: 180px;
        }

        .nav-menu {
            display: flex;
            gap: 50px;
        }

        .nav-link {
            color: var(--white);
            text-decoration: none;
            font-weight: 500;
                padding-top: 12px;
        }

        .nav-link:hover {
            color: var(--secondary);
        }

        .contact-btn {
            padding: 10px 10px 10px 10px;
            background-color: #00EBD3;
            color: #1c1d4e;
            border-radius: 5px;
            font-weight: bold;
            padding-right: 25px;
            padding-left: 25px;
            }

            .contact-btn:hover {
            /* background-color: #1c1d4e; */
            color: #fff;
            }

        /* Hero Section */
        .hero {
            background-color: var(--primary);
            color: var(--white);
            padding: 80px 0;
            text-align: center;
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .hero-subtitle {
            font-size: 2rem;
            color: var(--secondary);
            margin-bottom: 30px;
        }

        .hero-text {
            font-size: 1.5rem;
            margin-bottom: 40px;
        }

        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }

        /* Services Section */
        .services {
          position: relative;
          padding: 80px 0;
          color: #fff;
          overflow: visible; /* allow background to overflow into other sections */
           z-index: 1;
        }

        .services-bg {
          position: absolute;
          top: -138px; /* pulls background 100px into the section above */
          left: 0;
          width: 100%;
          height: calc(100% + 300px); /* extend bg height beyond its own section */
          background-image: url('../images/paper-01-01-5-45.png');
          background-size: cover;
          background-position: center;
          background-color: var(--primary);
          background-repeat: no-repeat;
          z-index: 0;
        }


        .discover {
          position: relative;
          padding: 80px 0;
          color: #fff;
          overflow: visible; /* allow background to overflow into other sections */
           z-index: 1;
        }

        .discover-bg {
          position: absolute;
          top: -2px; /* pulls background 100px into the section above */
          left: 0;
          width: 100%;
          height: calc(100% + 200px); /* extend bg height beyond its own section */
          background-image: url('../images/paper-01-01-5-45.png');
          background-size: cover;
          background-position: center;
          background-color: var(--primary);
          background-repeat: no-repeat;
          z-index: 0;
        }

        .discover-content {
            position: relative;
        }

        .discover-title {
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: #2c3e50;
            text-align: center;
        }

        .feature-grid {
          display: grid;
          grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
          gap: 30px;
        }

        .feature-card {
          padding: 30px 20px;
          border-radius: 10px;
          border: 1.5px solid #333;
          text-align: center;
          transition: box-shadow 0.3s ease, transform 0.3s ease;
          cursor: pointer;
          position: relative;
        }

        .feature-card2::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay */
            z-index: 0;
            border-radius: 10px;
            }
        .feature-card h3 {
          font-size: 1.4rem;
          color: #333;
          margin-bottom: 10px;
        }

        .feature-card .line {
          width: 40px;
          height: 3px;
          background-color: #00ebd3;
          margin: 0 auto 15px;
          transition: width 0.3s ease;
        }

        .feature-card p {
          font-size: 0.95rem;
          color: #666;
        }

        .feature-card:hover {
          box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
          transform: translateY(-5px);
        }

        .feature-card:hover .line {
          width: 60px;
          background-color: #2c7be5;
        }

        .services-wrapper {
            display: flex;
            align-items: center;
            gap: 60px;
            flex-wrap: wrap;
        }

        .services-image {
            flex: 1 1 40%;
            position: absolute;
            max-width: 500px;
        }

        .services-image img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }

         .services-content {
            max-width: 800px;
            margin-left: auto; /* This pushes content to right side */
            padding-left: 40px;
            position: relative;
        }
        
        .section-title {
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: #2c3e50;
        }
        
        .section-subtitle {
            font-size: 1.2rem;
            margin-bottom: 40px;
            color: #7f8c8d;
            line-height: 1.6;
        }
        
        .services-list {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }
        
        .service-item {
            border-left: 4px solid #3498db; /* Blue accent line */
            padding-left: 20px;
        }
        
        .service-item h3 {
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: #2c3e50;
        }
        
        .service-item p {
            color: #7f8c8d;
            line-height: 1.6;
        }

        /* Testimonials */
        .testimonials-section {
          position: relative;
          z-index: 1;
          padding: 80px 0;
          background: #f9f9f9;
        }

        .book-writing-section {
          position: relative;
          z-index: 1;
          padding: 80px 0;
          background: #f9f9f9;
        }

        .contact-section {
            position: relative;
            z-index: 1;
            padding: 80px 0;
            background: #f9f9f9;
        }
            .contact-container {
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: flex-start;
            gap: 40px;
            padding: 0 20px;
            }

            .contact-left {
            flex: 1 1 40%;
            max-width: 400px;
            }

            .contact-subtitle {
            color: #00EBD3;
            font-weight: 600;
            margin-bottom: 10px;
            }

            .contact-title {
            color: #1c1d4e;
            font-size: 32px;
            margin-bottom: 20px;
            }

            .contact-description {
            color: #555;
            line-height: 1.6;
            margin-bottom: 25px;
            }

            .contact-phone {
            display: inline-block;
            padding: 12px 25px;
            border: 1px solid #1c1d4e;
            border-radius: 8px;
            font-weight: bold;
            color: #1c1d4e;
            background: none;
            cursor: pointer;
            }

            .contact-right {
            flex: 1 1 55%;
            max-width: 600px;
            }

            .contact-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
            }

            .contact-form input,
            .contact-form textarea {
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 5px;
            width: 100%;
            background: none;
            }

            .contact-form button {
            align-self: flex-start;
            padding: 12px 25px;
            background-color: #1c1d4e;
            color: white;
            border: none;
            border-radius: 5px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s ease;
            }

            .contact-form button:hover {
            background-color: #00EBD3;
            color: #1c1d4e;
            }


        .testimonials-bg {
          position: absolute;
          top: -1px; /* pulls background 100px into the section above */
          left: 0;
          width: 100%;
          height: 100%; /* extend bg height beyond its own section */
          background-image: url('../images/paper-01-01-6-85.png');
          background-size: cover;
          background-position: center;
          background-color: var(--primary);
          background-repeat: no-repeat;
          padding-top: 10px;
          z-index: 0;
        }

        .testimonials-wrapper {
          position: relative;
          display: flex;
          justify-content: space-between;
          align-items: flex-start;
          gap: 40px;
          flex-wrap: wrap;
        }

        .book-writing-content {
          position: relative;
        }

        .testimonials-info {
          flex: 1;
          max-width: 350px;
        }

        .sub-heading {
          color: #00ebd3;
          font-family: 'Brush Script MT', cursive;
          font-size: 1.2rem;
          margin-bottom: 10px;
        }

        .main-heading {
          font-size: 1.8rem;
          font-weight: bold;
          margin-bottom: 20px;
          color: #1a1a1a;
        }

        .nav-buttons {
          display: flex;
          gap: 10px;
        }

        .nav-btn {
          background: #00ebd3;
          border: none;
          padding: 10px 15px;
          font-size: 18px;
          cursor: pointer;
          border-radius: 5px;
          color: white;
          transition: background 0.3s ease;
        }

        .nav-btn:hover {
          background: #00c0aa;
        }

        .testimonial-card {
          flex: 2;
          display: flex;
          gap: 108px;
          /* background: #fff; */
          height: 340px;
          padding: 30px;
          border: 2px solid #1a1a1a;
          border-radius: 10px;
          box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        }

        .book-image img {
          width: 150px;
          border-radius: 8px;
        }

        .testimonial-details {
          flex: 1;
        }

        .author-header {
          display: flex;
          align-items: center;
          gap: 15px;
          margin-bottom: 10px;
        }

        .client-photo {
          width: 50px;
          height: 50px;
          border-radius: 50%;
          object-fit: cover;
        }

        .author-name {
          font-weight: bold;
          font-size: 1.1rem;
        }

        .author-role {
          font-size: 0.9rem;
          color: gray;
        }

        .rating {
          color: #FFD700;
          margin: 10px 0;
          font-size: 1.1rem;
        }

        .testimonial-text {
          font-style: italic;
          color: #333;
        }


        /* FAQ Section */
        .faq {
            padding: 80px 0;
        }

        .faq-item {
            margin-bottom: 20px;
            border-bottom: 1px solid var(--gray-medium);
            padding-bottom: 20px;
        }

        .faq-question {
            color: var(--secondary);
            font-weight: 700;
            margin-bottom: 10px;
        }

        /* Footer */
        footer {
            background-color: var(--primary);
            color: var(--white);
            padding: 50px 0 20px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-logo {
            width: 150px;
            margin-bottom: 20px;
        }

        .footer-links h3 {
            color: var(--secondary);
            margin-bottom: 20px;
            font-size: 1.2rem;
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: var(--white);
            text-decoration: none;
            color: white;
            text-decoration: auto;
        }

        footer a {
            color: var(--white);
            text-decoration: none;
        }

        .footer-links a:hover {
            color: var(--secondary);
        }

        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.2);
        }

        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-subtitle {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
            }
            
            .nav-menu {
                margin-top: 20px;
                flex-direction: column;
                align-items: center;
                gap: 15px;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .hero-title {
                font-size: 2rem;
            }
        }

        @media (max-width: 576px) {
            .container {
                padding: 0 15px;
            }
            
            .section-title {
                font-size: 2rem;
            }
        }

        /* General Reset */
        body, h1, h2, p, a {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Header */
        .site-header {
            background-color: #ffffff;
            padding: 10px 0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        /* Hero Section */
        .hero {
            background: url('../images/background.png') center/cover no-repeat;
            background-color: var(--primary);
            position: relative;
            color: white;
            /* padding: 80px 0; */
        }

        .hero-content {
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          justify-content: space-between;
          gap: 40px;
          width: 100%;
          max-width: 100%; /* override Bootstrap or global .container max-width */
          padding: 60px 40px;
      }

      .hero-left {
          flex: 1;
          color: #fff;
      }

      .hero-right {
          flex: 1;
          display: flex;
          justify-content: center;
          align-items: center;
      }

      .book-img {
          width: 100%;
          max-width: 800px; /* Or 100% for full scale inside hero-right */
          height: auto;
          object-fit: contain;
      }

        /* Optional slight offsets for layering */
        .row-1 {
            margin-right: 0px;
        }
        .row-2 {
            margin-right: 30px;
        }
        .row-3 {
            margin-right: 60px;
        }


        .hero-title {
            font-size: 3rem;
            margin-bottom: 20px;
        }

        .hero-subtitle {
            font-size: 1.5rem;
            margin-bottom: 15px;
        }

        .hero-text {
            font-size: 1rem;
            margin-bottom: 25px;
        }

        .hero-buttons .btn {
            display: inline-block;
            margin-right: 15px;
            padding: 12px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
        }

        .btn-primary {
            background-color: #ff6b00;
            color: white;
        }

        .btn-outline {
            border: 2px solid white;
            color: white;
        }

        .book-services-tabs {
            background-color: var(--primary);
            padding-bottom: 50px;
            padding-top: 120px;
        }
        
        .book-services-tabs h2 {
            text-align: center;
            font-size: 2.2rem;
            color: #333;
            margin-bottom: 10px;
        }
        
        .subtitle {
            text-align: center;
            color: #666;
            font-size: 1.1rem;
            margin-bottom: 40px;
        }
        
        .tabs-header {
          display: flex;
          flex-wrap: wrap;
          gap: 20px;
          justify-content: center;
          padding: 10px;
          /* background-color: #f0f0f0; */
          border-radius: 10px 10px 0 0;
      }

      .tab-btn {
          padding: 12px 20px;
          background: none;
          border: 1px solid;
          border-radius: 8px;
          font-size: 1rem;
          font-weight: 600;
          color: #ffffff;
          cursor: pointer;
          transition: background-color 0.3s ease, color 0.3s ease;
      }

      .tab-btn:hover {
          background-color: #00EBD3;
          color: #fff;
      }

      .tab-btn.active {
          background-color: white;
          color: #2D2E62;
          border-color: #00EBD3;
      }

      .tab-pane {
          display: none;
      }

      .tab-pane.active {
          display: block;
          animation: fadeIn 0.5s ease;
      }

      .tab-images {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
          gap: 20px;
          margin-top: 30px;
      }

      .tab-images img {
          width: 100%;
          height: auto;
          border-radius: 8px;
          object-fit: cover;
          box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      }

        
        .tab-pane h3 {
            color: #333;
            margin-bottom: 15px;
            font-size: 1.5rem;
        }
        
        .tab-pane p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
        }
        
        .tab-pane ul {
            padding-left: 20px;
            color: #666;
        }
        
        .tab-pane li {
            margin-bottom: 10px;
            line-height: 1.5;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .bg-image-section {
          background: url('../images/background.png') center/cover no-repeat;
          background-color: var(--primary);
          padding: 80px 20px;
          color: #fff;
          padding-top: 250px;
          position: relative;
        }
        .brand-section {
          background: url('../images/background.png') center/cover no-repeat;
          background-color: var(--primary);
          padding: 80px 20px;
          color: #fff;
          padding-top: 150px;
          position: relative;
        }

        .brand-section::before {
          content: '';
          position: absolute;
          inset: 0;
          z-index: 1;
        }

        .faq-section {
          background: url('../images/background.png') center/cover no-repeat;
          background-color: var(--primary);
          padding: 80px 20px;
          color: #fff;
          padding-top: 150px;
          position: relative;
        }

        .section-content {
          display: flex;
          align-items: center;
          gap: 50px;
          flex-wrap: wrap;
        }

        .image-side img {
          max-width: 100%;
          border-radius: 10px;
          /* box-shadow: 0 10px 25px rgba(0,0,0,0.3); */
          width: 400px;
        }

        .text-side {
          flex: 1;
        }

        .text-side h2 {
          font-size: 2.5rem;
          margin-bottom: 10px;
        }

        .text-side h4 {
          font-size: 1.4rem;
          margin-bottom: 20px;
          font-weight: 400;
        }

        .text-side p {
          font-size: 1rem;
          line-height: 1.6;
          margin-bottom: 30px;
        }

        .buttons .btn {
          display: inline-block;
          padding: 12px 25px;
          border-radius: 5px;
          text-decoration: none;
          font-weight: 600;
          transition: background 0.3s ease;
          margin-right: 15px;
        }

        .btn.primary {
          background: #00ebd3;
          color: #000;
        }

        .btn.primary:hover {
          background: #00c2af;
        }

        .btn.secondary {
          background: transparent;
          border: 2px solid #fff;
          color: #fff;
        }

        .btn.secondary:hover {
          background: #fff;
          color: #000;
        }

        /* Positioning to form cross shape */
        /* .book-img-1 { top: 50%; left: 50%; transform: translate(-50%, -150%); }
        .book-img-2 { top: 0; left: 50%; transform: translateX(-50%); }
        .book-img-3 { top: 50%; left: 0; transform: translateY(-50%); }
        .book-img-4 { top: 50%; right: 0; transform: translateY(-50%); }
        .book-img-5 { bottom: 0; left: 50%; transform: translateX(-50%); } */


        /* Existing CSS remains the same until the media queries */

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .hero-content {
        padding: 60px 30px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-wrapper {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-content {
        flex-direction: column;
        text-align: center;
    }
    
    .image-side {
        margin-bottom: 30px;
    }
    
    .buttons {
        justify-content: center;
    }
    
    .testimonial-card {
        flex-direction: column;
        height: auto;
        gap: 30px;
    }
    
    .services-content {
        margin-left: 0;
        padding-left: 0;
    }
    
    .services-image {
        position: relative;
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    .nav-menu {
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 50px 20px;
        flex-direction: column;
    }
    
    .hero-left, .hero-right {
        flex: none;
        width: 100%;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-header {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
    
    .testimonials-wrapper {
        flex-direction: column;
    }
    
    .testimonials-info {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-left, .contact-right {
        max-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-bg, .discover-bg, .testimonials-bg {
        top: 0;
        height: 111%;
    }

    .book-services-tabs {
            padding-top: 260px;
        }

    .book-writing-content h2 {
      margin-top: 175px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .text-side h2 {
        font-size: 2rem;
    }
    
    .text-side h4 {
        font-size: 1.2rem;
    }
    
    .book-services-tabs h2 {
        font-size: 1.8rem;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .bg-image-section, 
    .brand-section,
    .contact-section, 
    .faq-section {
        padding-top: 200px;
    }
    .testimonials-section {
      padding-top: 250px;
    }
}

/* Very small devices (phones, 400px and down) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .nav-buttons {
        flex-direction: column;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
    }
}
/* Responsive Styles */
@media (max-width: 992px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-description {
    font-size: 1rem;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .book-slider {
    flex-direction: column;
    align-items: center;
  }
  
  .slider-images {
    flex-direction: column;
    align-items: center;
  }
  
  .book-image {
    max-height: 250px;
  }
  
  .slider-content {
    padding: 0 20px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-description {
    font-size: 0.95rem;
  }
  
  .category-title {
    font-size: 1.3rem;
  }
  
  .category-subtitle {
    font-size: 1.1rem;
  }
  
  .category-description {
    font-size: 0.9rem;
  }
  
  .number-badge {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 22px;
  }
}

@media (max-width: 400px) {
  .book-slider {
    margin-top: 20px;
  }
  
  .nav-buttons {
    justify-content: center;
  }
  
  .slider-content {
    text-align: center;
  }
}

header {
  background-color: var(--primary);
  color: var(--white);
  padding: 15px 0;
  position: relative;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; /* Added for proper positioning */
}

.logo {
  width: 180px;
  height: auto;
  z-index: 101; /* Ensure logo stays above mobile menu */
}

/* Navigation Menu - Desktop */
.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary);
}

.contact-btn {
  padding: 10px 25px;
  background-color: var(--secondary);
  color: var(--primary);
  border-radius: 5px;
  font-weight: bold;
}

.contact-btn:hover {
  color: var(--white);
}

/* Hamburger Menu (Mobile) */
.hamburger-menu {
  display: none; /* Hidden by default */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
  position: relative; /* Changed to relative */
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .hamburger-menu {
    margin-left: 275px;
    margin-top: -22px;
    display: flex; /* Show hamburger on mobile */
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    gap: 25px;
    transition: right 0.3s ease;
    z-index: 99;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .contact-btn {
    margin-top: 20px;
    text-align: center;
    width: 100%;
  }

  /* Hamburger animation when active */
  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .logo {
    width: 150px;
  }
  
  header {
    padding: 10px 0;
  }
}

.testimonials-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  background: #f9f9f9;
}

.testimonials-bg {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/paper-01-01-6-85.png');
  background-size: cover;
  background-position: center;
  background-color: var(--primary);
  background-repeat: no-repeat;
  padding-top: 10px;
  z-index: 0;
}

.testimonials-wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  z-index: 2;
}

.testimonials-info {
  flex: 1;
  max-width: 350px;
}

.sub-heading {
  color: #00ebd3;
  font-family: 'Brush Script MT', cursive;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.main-heading {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.nav-buttons {
  display: flex;
  gap: 10px;
}

.nav-btn {
  background: #00ebd3;
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  color: white;
  transition: background 0.3s ease;
}

.nav-btn:hover {
  background: #00c0aa;
}

.testimonial-slider {
  flex: 2;
  position: relative;
  min-height: 340px;
}

.testimonial-card {
  display: none;
  gap: 30px;
  /* background: #fff; */
  height: 340px;
  padding: 30px;
  border: 2px solid #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  position: absolute;
  width: 100%;
}

.testimonial-card.active {
  display: flex;
}

.book-image img {
  width: 150px;
  border-radius: 8px;
  height: auto;
  object-fit: cover;
}

.testimonial-details {
  flex: 1;
}

.author-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.client-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: bold;
  font-size: 1.1rem;
}

.author-role {
  font-size: 0.9rem;
  color: gray;
}

.rating {
  color: #FFD700;
  margin: 10px 0;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  color: #333;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .testimonials-wrapper {
    flex-direction: column;
  }
  
  .testimonials-info {
    max-width: 100%;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .nav-buttons {
    justify-content: center;
  }
  
  .testimonial-slider {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    height: auto;
    padding: 20px;
    position: relative;
    margin-bottom: 20px;
  }
  
  .book-image {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .book-image img {
    width: 120px;
  }
  
  .testimonial-slider {
    min-height: auto;
  }
}

@media (max-width: 576px) {
  .testimonials-section {
    padding: 60px 0;
  }
  
  .main-heading {
    font-size: 1.5rem;
  }
  
  .testimonial-text {
    font-size: 0.9rem;
  }
  
  .author-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.dropdown {
  position: relative;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  min-width: 180px;
  z-index: 1000;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.book-slider-wrapper {
  position: relative;
}

.book-slide {
  display: none;
  justify-content: center;
  gap: 30px;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.book-slide.active {
  display: flex;
}

.book-step {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #ffffff;
  background: url('../images/ellipse-1-175.svg') center/cover no-repeat;
}

.book-slider-wrapper .slide {
  display: none;
}

.book-slider-wrapper .slide.active {
  display: flex; /* maintains your original layout */
}

.book-writing-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  background: #f9f9f9;
}

.book-slider-wrapper {
  position: relative;
  margin-top: 40px;
}

.book-slide {
  display: none;
}

.book-slide.active {
  display: block;
}

.book-slide-inner {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.book-images {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.book-images img {
  height: 300px;
  object-fit: cover;
  display: block;
}

.book-slide-content {
  max-width: 420px;
}

.circle-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  background: url('../images/ellipse-1-175.svg') center/cover no-repeat;
  margin-bottom: 10px;
}

.book-slide-content h3 {
  margin: 5px 0;
  color: #1a1a1a;
  font-size: 22px;
  font-weight: bold;
}

.book-slide-content h4 {
  margin: 0;
  color: #1a1a1a;
  font-weight: normal;
  font-size: 16px;
}

.book-slide-content p {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
}

.nav-buttons {
  margin-top: 20px;
}

.nav-btn {
  background: #1a1a1a;
  border: 1px solid #ccc;
  padding: 8px 14px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}

.nav-btn:hover {
  background: #1a1a1a;
  color: #fff;
}