html {
scroll-behavior: smooth;
}

:root {
    /* --primary-color: rgba(5, 54, 69, 1); */
    --primary-color: rgba(14, 28, 46, 1);
    --accent-color: #01B28B;
    /* --accent-color: #3498db; */
    /* --light-bg: rgba(8, 45, 57, 1); */
    --light-bg: #f5f5f5;
    --white: rgba(249, 250, 251, 1);
    /* --white: #ffffff; */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--primary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
  
/* Hide mobile buttons by default */
.mobile-buttons {
    display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
    .desktop-buttons {
        display: none; /* Hide desktop buttons */
    }

    .nav-menu.active .mobile-buttons {
        display: flex; /* Show buttons ONLY when menu is active */
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }

    .nav-menu.active .mobile-buttons .btn {
        width: 100%;
        text-align: center;
        margin: 0;
    }
}

/* .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-btn {
    cursor: pointer;
    font-size: 24px;
} */

/* Modal Styling */
/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(14, 28, 46, 0.92); /* Dark blue overlay */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.modal {
    background-color: #ffffff;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 20px #01B28B;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); */
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.modal-overlay.active {
    display: flex;
}

.modal-overlay.active .modal {
    transform: scale(1);
    opacity: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: var(--primary-color);
    border-radius: 12px 12px 0 0;
}

.modal-title {
    margin: 0;
    font-size: 22px;
    color: white;
    font-weight: 600;
}

.close-btn {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    background: none;
    border: none;
    padding: 0 10px;
    line-height: 1;
}

.close-btn:hover {
    color: white;
    transform: scale(1.1);
}

.modal-content {
    padding: 25px;
    color: #444;
    line-height: 1.7;
    font-size: 16px;
}

.modal-content p {
    margin-bottom: 15px;
}

.modal-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.modal-content li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.modal-content li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-content {
        padding: 20px;
        font-size: 15px;
    }
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-btn {
    display: flex;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-demo {
    background-color: var(--primary-color);
    color: var(--white);
    margin-right: 20px;
   
}
.btn-demo1 {
    background-color: var(--accent-color);
    color: var(--white);
    /* margin-right: 10px; */ margin-top: 10px;
}

.btn-get {
    background-color: #01B28B;
    color: var(--white);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background-color: var(--light-bg);
}

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

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.hero-text h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-text h1 span {
    color: var(--accent-color);
}

.hero-text p {
    margin-bottom: 30px;
    font-size: 16px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.client-info {
    margin-bottom: 20px;
}

.client-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.client-info p {
    font-size: 14px;
    color: #666;
}

.rating {
    color: #ffc107;
    font-size: 20px;
    margin-top: 10px;
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card.recommended {
    border-top: 5px solid #01B28B;
}

.recommended-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #01B28B;
    color: var(--white);
    padding: 5px 15px;
    font-size: 14px;
    border-bottom-left-radius: 10px;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* Contact */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.contact-info {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: grid;
    gap: 10px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

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

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

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

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

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

.footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

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

/* Responsive */
@media (max-width: 991px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

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

    .nav-menu li {
        margin: 15px 0;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}
