:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --accent: #f59e0b;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    background-color: var(--light);
    padding-top: 80px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* ========== Navbar ========== */
.navbar {
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.8rem;
}

.navbar-brand img {
    height: 40px;
    border-radius: 50%;
}


.navbar-toggler {
    border: none;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: var(--primary);
    z-index: 1001;
}

.navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3);
    padding: 3rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
}

.navbar-collapse.show {
    left: 0;
}

.navbar-collapse::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar-collapse.show::before {
    opacity: 1;
}

.navbar-nav {
    margin-top: 2rem;
}

.nav-item {
    margin-bottom: 1rem;
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.navbar-collapse.show .nav-item {
    transform: translateX(0);
    opacity: 1;
}

.navbar-collapse.show .nav-item:nth-child(1) {
    transition-delay: 0.1s;
}

.navbar-collapse.show .nav-item:nth-child(2) {
    transition-delay: 0.15s;
}

.navbar-collapse.show .nav-item:nth-child(3) {
    transition-delay: 0.2s;
}

.navbar-collapse.show .nav-item:nth-child(4) {
    transition-delay: 0.25s;
}

.navbar-collapse.show .nav-item:nth-child(5) {
    transition-delay: 0.3s;
}

.navbar-collapse.show .nav-item:nth-child(6) {
    transition-delay: 0.35s;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.nav-link::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: white;
    font-size: 1.5rem;
    background: none;
    border: none;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.close-menu:hover {
    opacity: 1;
}

.menu-header {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.menu-header .navbar-brand {
    color: white;
    font-size: 1.5rem;
}

.nav-buttons {
    margin-top: 2rem;
}

.nav-buttons .btn {
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-buttons .btn-primary {
    background: var(--primary);
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.nav-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.nav-buttons .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ========== Hero Section ========== */
.hero {
    background: var(--gradient);
    color: white;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-img {
    max-height: 500px;
    width: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ========== Features Section ========== */
.features {
    padding: 6rem 0;
    background-color: white;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
    font-size: 2rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(15deg) scale(1.1);
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #64748b;
}

/* ========== Showcase Section ========== */
.showcase {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.showcase-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.showcase-img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    object-fit: contain;
}

.showcase-img:hover {
    transform: scale(1.02);
}

.showcase-content ul {
    list-style: none;
    padding-left: 0;
}

.showcase-content li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.showcase-content li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
}

/* ========== Testimonials ========== */
.testimonials {
    padding: 6rem 0;
    background-color: white;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(37, 99, 235, 0.1);
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author h5 {
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.testimonial-author small {
    color: #64748b;
    font-size: 0.85rem;
}

/* ========== CTA Section ========== */
.cta {
    padding: 6rem 0;
    background: var(--gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/cta-pattern.png') center/cover no-repeat;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========== Footer ========== */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-links h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* ========== Responsive Adjustments ========== */
@media (max-width: 1199px) {
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 991px) {
    .hero {
        padding: 5rem 0 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-img {
        max-height: 400px;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 70px;
    }

    .navbar {
        padding: 0.75rem 1rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar-brand img {
        height: 35px;
    }

    .hero {
        padding: 4rem 0 2rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-img {
        max-height: 300px;
        margin-top: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .showcase-img {
        max-height: 350px;
        margin-bottom: 2rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 575px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}
@media (min-width: 992px) {
    .navbar-collapse {
      position: static !important;
      left: auto !important;
      width: auto !important;
      max-width: none !important;
      height: auto !important;
      background: transparent !important;
      box-shadow: none !important;
      padding: 0 !important;
      overflow: visible !important;
      display: flex !important;
      flex-direction: row !important;
      align-items: center;
    }
  
    .navbar-collapse::before {
      display: none !important;
    }
  
    .nav-item {
      transform: none !important;
      opacity: 1 !important;
      margin: 0 0.75rem;
    }
  
    .nav-link {
      color: var(--dark) !important;
      background: transparent !important;
      transform: none !important;
    }
  
    .nav-link:hover,
    .nav-link.active {
      color: var(--primary-dark) !important;
      background: none !important;
      transform: none !important;
    }
  
    .nav-link::before {
      display: none !important;
    }
  
    .close-menu {
      display: none !important;
    }
  
    .nav-buttons {
      display: flex;
      gap: 1rem;
      margin-top: 0 !important;
    }
  
    .nav-buttons .btn {
      width: auto;
      margin-bottom: 0;
    }
  }
  .btn-close-white {
    color: white;
    background: none;
    border: none;
    font-weight: bold;
    font-size: 2rem;
    cursor: pointer;
  }
    