.logo img {
    height: 100px;
    width: 50px;
    transition: all 0.3s ease;
}
.logo img:hover {
    transform: scale(1.1);
}

:root {
    --primary-blue: #2B6CB0;
    --clean-white: #F7FAFC;
    --dark-gray: #4A5568;
    --accent-orange: #DD6B20;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    padding-top: 70px;
    background-color: var(--clean-white);
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background-color: var(--primary-blue);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(43, 108, 176, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(43, 108, 176, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clean-white);
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo img {
    height: 40px;
}
.nav-links {
    display: flex;
    gap: 1.5rem;
}
.nav-links a {
    color: var(--clean-white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}
.nav-links a:hover {
    border-bottom: 2px solid var(--clean-white);
}


.mobile-nav {
    display: none;
    background-color: rgba(43, 108, 176, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 1rem;
    z-index: 999;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav a {
    display: block;
    color: white;
    padding: 0.8rem 1rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    font-weight: 500;
}

.mobile-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1000;
}

.hamburger-bar {
    width: 24px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    display: block;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(43, 108, 176, 0.8), rgba(43, 108, 176, 0.9)), 
                url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center/cover;
    padding: 4rem 5% 5rem;
    text-align: center;
    color: var(--clean-white);
    position: relative;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}
.hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
}
.cta-button {
    background-color: var(--accent-orange);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: #c05621;
}

/* Floating icons animation */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
.floating-icon {
    position: absolute;
    opacity: 0.1;
    animation: float 15s infinite linear;
}
@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
    }
}

/* Services Section */
.services {
    padding: 3rem 5%;
    background-color: var(--clean-white);
    position: relative;
    overflow: hidden;
}
.section-title {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}
.service-icon {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 1.8rem;
    color: rgba(43, 108, 176, 0.1);
}

/* Plans Section */
.plans {
    padding: 3rem 5%;
    background-color: var(--clean-white);
    position: relative;
}
.plans .section-title {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.plan-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}
.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.plan-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}
.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.plan-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--dark-gray);
}
.plan-card .check {
    color: var(--accent-orange);
    font-size: 1.2rem;
}
.view-details {
    background-color: var(--accent-orange);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
}
.view-details:hover {
    background-color: #c05621;
    transform: translateY(-2px);
}

/* Testimonials */
.testimonials {
    padding: 3rem 5%;
    background-color: var(--primary-blue);
    color: var(--clean-white);
    position: relative;
}
.testimonials .section-title {
    color: var(--clean-white);
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}
.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.2rem;
    position: relative;
    font-size: 0.95rem;
}
.testimonial-card p::before,
.testimonial-card p::after {
    content: '"';
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.3);
}
.testimonial-card .author {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}
.testimonial-card .author::before {
    content: '';
    display: block;
    width: 15px;
    height: 2px;
    background: var(--accent-orange);
}
.testimonial-flag {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 25px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 1.5rem;
}
.load-more-btn {
    background-color: var(--accent-orange);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}
.load-more-btn:hover {
    background-color: #c05621;
    transform: translateY(-2px);
}

/* Hidden Reviews */
.hidden-reviews {
    display: none;
}

/* Empty Space Filler */
.empty-space-filler {
    background: linear-gradient(135deg, rgba(43,108,176,0.1) 0%, rgba(221,107,32,0.1) 100%);
    padding: 2rem;
    text-align: center;
    margin: 1.5rem 0;
    border-radius: 8px;
    border: 2px dashed rgba(43,108,176,0.3);
}
.filler-content {
    max-width: 600px;
    margin: 0 auto;
}
.filler-title {
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.3rem;
}
.filler-text {
    color: var(--dark-gray);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}
.filler-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.2rem;
}
.filler-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}
.filler-icon:hover {
    color: var(--accent-orange);
    transform: translateY(-5px);
}

/* Contact Section */
.contact {
    padding: 3rem 5%;
    background-color: var(--clean-white);
    position: relative;
}
.contact-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}
.contact-info {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}
.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-info p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}
.contact-form {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary-blue);
}

/* Contact Form */
.form-group {
    margin-bottom: 1.2rem;
    position: relative;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.2);
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
    padding: 0.7rem 1rem;
}
.submit-btn {
    width: 100%;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.submit-btn:hover {
    background-color: #2C5282;
}
/* Match Chat with Ali button to Chat with Sameer Karim */
.contact a[href*="03192004954"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.8rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.contact a[href*="03192004954"]:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.8rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: var(--primary-blue);
  padding: 2rem 5%;
  color: var(--clean-white);
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding-bottom: 1.5rem;
}

.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.footer-logo {
  width: 100px;
  height: auto;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 0.9;
}

.footer-branding p {
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin: 0.8rem 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--clean-white);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background-color: var(--accent-orange);
  transform: translateY(-3px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--accent-orange);
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .footer {
    padding: 1.5rem 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .footer-branding {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-contact p {
    justify-content: center;
  }
  
  .footer-logo {
    width: 90px;
  }
}

/* Popup Modal */
.modal {
    display: none !important;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Consultancy Modal specific styles */
#consultancyModal {
    display: none !important;
}

#consultancyModal.show {
    display: flex !important;
}

/* Plan Modal specific styles */
#planModal {
    display: none !important;
}

#planModal.show {
    display: flex !important;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 0.8rem;
}
.faq-question {
    background-color: #f8f9fa;
    padding: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
}
.faq-question:hover {
    background-color: #e2e8f0;
}
.faq-answer {
    display: none;
    padding: 0.8rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
    border-left: 2px solid var(--primary-blue);
    margin-left: 1rem;
}
.faq-answer.active {
    display: block;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Privacy Policy Modal */
#privacyModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.privacy-content {
    background-color: white;
    margin: 5% auto;
    padding: 1.5rem;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.privacy-content h2 {
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.5rem;
}
.privacy-content h3 {
    color: var(--primary-blue);
    margin: 1.2rem 0 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
}
.privacy-content p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 0.95rem;
}
.privacy-content ul {
    margin-bottom: 1.2rem;
    padding-left: 1.2rem;
    font-size: 0.95rem;
}
.privacy-content li {
    margin-bottom: 0.4rem;
}
.close-privacy {
    color: #aaa;
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}
.close-privacy:hover {
    color: var(--dark-gray);
}

/* Tools Section */
.tools {
    padding: 3rem 5%;
    background-color: var(--clean-white);
    position: relative;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.tool-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}
.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.tool-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}
.tool-result {
    margin-top: 1rem;
    padding: 0.8rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--dark-gray);
    min-height: 50px;
}
.service-card a,
.tool-card a {
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .logo {
        font-size: 1.3rem;
    }
    .logo img {
        height: 35px;
    }
    .nav-links {
        display: none;
    }
    .hero {
        padding: 2rem 5% 3rem;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .service-card h3 {
        font-size: 1rem;
    }
    .service-card p {
        font-size: 0.85rem;
    }
    .plan-card h3 {
        font-size: 1rem;
    }
    .plan-card li {
        font-size: 0.85rem;
    }
    .testimonial-card p {
        font-size: 0.85rem;
    }
    .testimonial-card .author {
        font-size: 0.8rem;
    }
    .whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    .footer p {
        font-size: 0.85rem;
    }
    .social-icons a {
        font-size: 1.2rem;
    }
    .modal-content {
        width: 95%;
        margin: 0 auto;
    }
    .modal-body {
        max-height: 70vh;
    }
}

@media (min-width: 769px) {
    .contact-container {
        flex-direction: row;
    }
    .contact-info {
        flex: 1;
    }
    .contact-form {
        flex: 2;
    }
}

/* Consultancy Modal Styling */
#consultancyModal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.consultancy-modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
    text-align: center;
    position: relative;
}

.consultancy-modal-content h2 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.consultancy-modal-content p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.consultancy-modal-content .start-chat-button {
    background-color: #25D366;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.consultancy-modal-content .start-chat-button:hover {
    background-color: #128C7E;
}

#closeConsultancyModal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
}
#closeConsultancyModal:hover {
    color: #333;
}
.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  width: 100%;
  max-width: 320px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin: 10px auto;
}

.whatsapp-button i {
  margin-right: 10px;
  font-size: 18px;
}

/* ------------------ Responsive Design ------------------ */

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 2rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .section, .container {
    padding: 1.5rem;
  }
}

/* Mobile Devices (≤ 768px) */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .logo img {
    height: 48px;
    width: auto;
  }
  .cta-button,
  .btn,
  button {
    width: 100%;
    font-size: 1rem;
    padding: 12px;
    margin: 0.5rem 0;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 0.95rem;
  }
  .services-grid, .row {
    flex-direction: column;
  }
  .section, .container {
    padding: 1rem;
  }
  footer {
    text-align: center;
    font-size: 0.85rem;
  }
}

/* WhatsApp Button Responsive Fix */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  padding: 12px 16px;
  background: #25D366;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}
@media (max-width: 768px) {
  .whatsapp-btn {
    bottom: 100px; /* push up from overlapping footer/cards */
    right: 16px;
  }
}
/* === Header Mobile Fix === */
@media (max-width: 768px) {
  header, .navbar {
    padding: 0.5rem 1rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo img {
    height: 32px;
    width: auto;
  }

  .navbar .brand-text {
    font-size: 1.1rem;
    font-weight: 600;
  }

  .navbar .menu-toggle {
    font-size: 1.5rem;
    margin-left: auto;
  }
}
/* --- Header Alignment + Mobile Nav --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.6rem 1rem;
  background-color: var(--primary-blue);
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 45px;
  width: auto;
  transform: scale(1.1);
  transform-origin: left center;
  margin: -5px 0;
  transition: all 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.15);
  filter: brightness(1.1);
}

.brand-text {
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.menu-toggle {
  display: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1000;
}

.hamburger-bar {
  width: 24px;
  height: 2px;
  background-color: white;
  border-radius: 2px;
  display: block;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Styling */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-nav a {
    display: block;
    color: white;
    padding: 0.8rem 1rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
  }
  
  .mobile-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
  }
}

.faq-section {
  padding: 2rem 1rem;
  max-width: 800px;
  margin: auto;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #ccc;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 1rem 1rem 1rem;
  font-size: 0.95rem;
  color: #333;
}

/* --- Premium Services Dropdown Fix --- */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #2B6CB0;
  min-width: 220px;
  z-index: 999;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: 500;
}

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

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

/* Ensure only one Premium Services and dropdown shows smoothly */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #2B6CB0;
  min-width: 220px;
  z-index: 999;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: 500;
}

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

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

/* Premium Services Grid Fix */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 16px;
}

/* Service Card Styling */
.service-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Hidden Class for Load More */
.hidden {
    display: none !important;
}

/* Load More Button Styling */
#loadMoreBtn {
    display: block;
    margin: 30px auto 0;
    padding: 12px 24px;
    background-color: #004aad;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

#loadMoreBtn:hover {
    background-color: #003080;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .services-container {
        padding: 0 12px;
    }

    .service-card {
        padding: 16px;
    }

    nav ul {
        flex-direction: column;
    }
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin: 1.2rem 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--clean-white);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background-color: var(--accent-orange);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social a i {
  color: inherit !important;
}

.modal-content {
    background-color: white;
    margin: 0 auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-blue), #2C5282);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.modal-body {
    padding: 1.2rem;
}

/* Plan Details Styling */
.plan-details {
    padding: 0;
}

.plan-details h4 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.plan-description {
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.plan-features {
    background-color: #f8fafc;
    padding: 1.2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.plan-features h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.6rem;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.plan-features li:last-child {
    margin-bottom: 0;
}

.plan-features li i {
    color: #22c55e;
    font-size: 1rem;
}

.modal-buttons {
    padding: 0.8rem 1.2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
}

.modal-btn {
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.modal-btn-primary {
    background-color: var(--accent-orange);
    color: white;
    border: none;
}

.modal-btn-primary:hover {
    background-color: #c05621;
    transform: translateY(-2px);
}

.close-modal {
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    padding: 0.2rem;
}

.close-modal:hover {
    opacity: 1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .modal.show {
        padding: 15px;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-header {
        padding: 0.8rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .plan-features {
        padding: 1rem;
    }
    
    .modal-buttons {
        padding: 0.8rem 1rem;
    }
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-left img {
    height: 65px;
    width: auto;
    transition: all 0.3s ease;
    transform-origin: left center;
}

.brand-text {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .navbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .navbar-left img {
    height: 50px;
    width: auto;
    transform: scale(1);
    margin: 0;
  }

  .brand-text {
    font-size: 1.2rem;
    white-space: nowrap;
  }
}

.resources {
  padding: 3rem 5%;
  background-color: var(--clean-white);
}

.resources .section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card h3 i {
  color: var(--primary-blue);
}

.service-card h3 a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-card h3 a:hover {
  color: var(--accent-orange);
}

.service-card p {
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .resources {
    padding: 2rem 1rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
  }

  .service-card {
    padding: 1.25rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background-color: var(--primary-blue);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0.5rem 0 1.5rem;
  transition: all 0.3s ease;
}

.back-button i {
  font-size: 0.9rem;
}

.back-button:hover {
  background-color: #2C5282;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-button {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}

.service-page {
  padding: 2rem;
  max-width: 800px;
  margin: 2rem auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-page h1 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.service-page p {
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.service-page ul {
  margin-bottom: 1.5rem;
  padding-left: 1.2rem;
}

.service-page li {
  margin-bottom: 0.5rem;
  color: var(--dark-gray);
}

@media (max-width: 768px) {
  .service-page {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .service-page h1 {
    font-size: 1.5rem;
  }
  
  .back-button {
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* Add these styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
}

/* Make WhatsApp modal close button visible on white background */
#whatsappModal .close-modal {
    color: #888 !important; /* A darker gray color */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .modal.show {
        padding: 15px;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-header {
        padding: 0.8rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .plan-features {
        padding: 1rem;
    }
    
    .modal-buttons {
        padding: 0.8rem 1rem;
    }
}

/* Blog Article Page Styling (for pages like Winning SOP, Top 5 Countries) */
.blog-article-page {
    display: none; /* Hidden by default */
    padding: 20px 0; /* Padding for the entire page section */
    background-color: #f0f2f5; /* Light grey background as seen in screenshot */
    min-height: calc(100vh - 120px); /* Adjust based on header/footer height */
    box-sizing: border-box; /* Include padding in element's total width and height */
}

.blog-article-page .blog-content-wrapper {
    background-color: #fff;
    max-width: 800px; /* Max width for the content box */
    margin: 20px auto; /* Center the content box and add vertical margin */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow */
    line-height: 1.7; /* Better readability */
    color: #333;
}

.blog-article-page h2 {
    color: #337ab7; /* Blue color for main title */
    margin-bottom: 20px;
    text-align: center; /* Center the title */
    font-size: 28px; /* Adjust font size for main title */
}

.blog-article-page h3 {
    color: #337ab7; /* Blue color for subheadings */
    margin: 25px 0 15px;
    font-size: 22px; /* Adjust font size for subheadings */
}

.blog-article-page p {
    margin-bottom: 15px;
}

.blog-article-page ul {
    list-style-type: disc; /* Use discs for lists */
    margin-left: 20px;
    margin-bottom: 20px;
}

.blog-article-page ul li {
    margin-bottom: 8px; /* Spacing between list items */
}

.blog-article-page .back-to-blog {
    display: block;
    text-align: center;
    margin-bottom: 20px;
    color: #337ab7;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
}

.blog-article-page .back-to-blog:hover {
    text-decoration: underline;
}

/* Ensure existing blog section styles are maintained for consistency if they are used */
.blog-post h3 {
    color: #337ab7;
    margin-bottom: 10px;
}
.blog-post p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
}