/* General Styles */

:root {
    --headerbackground:#fff;
    --textColor:rgba(0, 0, 0, 0.8);
    --buttonBG:rgb(251,129,0);
    --herobackground:rgb(42,171,226);
    /* Previously --ezyellow: A strong purple for primary elements done*/
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    /* padding: 0 20px; */
    max-width: 1200px;  /* Optional:  Sets a maximum width for large screens */
}


a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Header Styles */
header {
    background: var(--headerbackground);
    color: black;
    padding: 1rem 0;
    position: relative;
    top:0;
    z-index:100;

}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav {
    display: flex;
    flex-grow: 1;
}

header nav .main-nav {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    align-items: center;
}

header nav .contact-nav {
    margin-left: auto;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

header .logo img {
    width: 50px; /* Adjust as needed */
    margin-right: 10px;
    border-radius: 5px;
/*    background-color: #fff;*/
}

header nav ul {
    display: flex;
    justify-content: center;
    
}

header nav ul:last-child {
    margin-left: auto; /* Push the last ul to the right */
}

header nav ul li {
    margin-left: 50px;
    display: flex;
    align-items: center;
    height: 100%;
}

header nav ul li a:hover {
    color: var(--buttonBG); /* Green color on hover */
}

header nav ul li a {
    color: var(--textColor);
}

    header nav ul li a.contact-btn {
        background-color: var(--buttonBG);
        color: #fff;
        padding: 0.5rem 1rem;
        border-radius: 5px;
    }

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 100;
    margin-left: auto;
}

/* Update the nav-menu styles */
.nav-menu {
    display: flex;
    flex-grow: 1;
}

/* Hero Section Styles */
.hero {
    position: relative;
    color: var(--textColor);
/*    padding: 2rem 0;*/
    text-align: center;
/*    min-height: 80vh;*/
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem; /* Add gap between columns */
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 0; /* Adjust padding */
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    padding: 0 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 100%;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 1rem;
}

.hero-form {
    display: flex;
    margin: 0 auto 2rem;
    padding: 4px;
    border-radius: 25px;
    width: fit-content;
}

.hero-form input[type="email"] {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: #fff;
    width: 300px;
    outline: none;
}

.hero-form input[type="email"]::placeholder {
    color: #999;
}

.hero-form .cta-button {
    background-color:var(--buttonBG);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

        .hero-form .cta-button:hover {
            background-color: var(--herobackground);
        }

.hero img {
    display: none;
}

/* Quote Section Styles */
.quote-section {
    position: relative;
    color: #fff;
    padding: 3rem 0;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(42 171 226 / 79%);
}

.quote-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.quote {
    font-size: 2.5rem;
    font-weight: bold;
    max-width: 600px;
    text-align: left;
    margin: 0;
}

.stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    min-width: 200px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
}

/* Feature Section Styles */
.feature-section {
    padding: 0rem 0;
    background-color: #f9f9f9;
}

.feature-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-content h2 {
    color: var(--buttonBG);
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.feature-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.feature-content h3 span {
    color: #2ecc71;
}

.feature-content > p {
    color: #666;
    margin-bottom: 2rem;
}

.feature-content ul {
    list-style: none;
    padding: 0;
}

.feature-content ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-content ul li i {
    color: #2ecc71;
    margin-right: 1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
}

.feature-image {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.feature-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.introduction-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.introduction-button:hover {
    background-color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(46, 204, 113, 0.3);
}

.introduction-button i {
    color: var(--buttonBG);
    font-size: 2rem;
    transition: all 0.3s ease;
    margin-left: 5px; /* Slight offset for visual balance */
}

.introduction-button:hover i {
    color: var(--herobackground);
}

@media (max-width: 768px) {
    .introduction-button {
        width: 60px;
        height: 60px;
    }
    
    .introduction-button i {
        font-size: 1.5rem;
    }
}

/* Pricing Section Styles */
.pricing-section {
    background-color: #f9f9f9;
    padding: 4rem 0;
    text-align: center;
}

.pricing-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    color: var(--buttonBG);
}

.pricing-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px; /* Added to control overall width */
    margin-left: auto;
    margin-right: auto;
}

.pricing-plan {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* .pricing-plan.best-price {
    border: 3px solid #2ecc71;
} */

.plan-header {
    margin-bottom: 1.5rem;
}

.plan-header .header-title,
.plan-header .price-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-header i {
    color: var(--buttonBG);
    font-size: 1.2rem;
}

.plan-header h4,
.plan-header .price {
    margin: 0;
}

.best-price-label{
    color: #2ecc71;
}
.plan-header h4 {
    font-size: 2rem;
    
}

.plan-header .price {
    font-size: 2rem;
    font-weight: bold;
    word-break: break-word;
}

.pricing-plan .price span {
    font-size: 1rem;
    font-weight: normal;
}

.pricing-plan ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.pricing-plan ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.pricing-plan ul li i {
    color: #2ecc71;
    margin-right: 0.5rem;
}

.choose-plan-btn {
    background-color: var(--buttonBG);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    display: block;
    width: calc(100% - 1rem);
    text-align: center;
    margin: 1rem 0.5rem;
    transition: background-color 0.3s;
    box-sizing: border-box;
}

.choose-plan-btn:hover {
    background-color: var(--herobackground);
    color:#fff;
}

.pricing-plan .feature-content {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.pricing-plan .feature-content ul {
    list-style: none;
    padding: 0;
}

.pricing-plan .feature-content ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    line-height: 1.4;
}

.pricing-plan .feature-content ul li:before {
    content: "•";
    color: var(--buttonBG);
    margin-right: 1rem;
    font-size: 1.5rem;
    line-height: 1;
}

.pricing-plan .feature-content ul li span {
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.2rem;
}

/* Testimonials Section Styles */
.testimonials-section {
    padding: 4rem 0;
}

.testimonials-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--buttonBG);
}

.testimonials-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    text-align: center;
}

.testimonials-section p {
    text-align: center;
    margin-bottom: 2rem;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.testimonial img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.testimonial h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}
.testimonial .testimonial-title {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: #777;
}

.testimonial p {
    text-align: left;
    font-style: italic;
    margin-bottom: 0;
}

/* Call to Action Section Styles */
.cta-section {
    /* background: url('../img/cta-bkg.jpg') no-repeat center center/cover; */
    position: relative;
    color: #fff;
    padding: 3rem 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(251 129 0 / 75%);
    color: var(--textColor);
}

.cta-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form {
    display: flex;
    justify-content: center;
    padding: 4px;
    border-radius: 25px;
    width: fit-content;
    margin: 0 auto;
}

.cta-form input[type="email"] {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: #fff;
    width: 300px;
    outline: none;
}

.cta-form input[type="email"]::placeholder {
    color: #999;
}

.cta-form .cta-button {
    background-color: #fff;
    color: black;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-form .cta-button:hover {
    background-color: var(--herobackground);
    color:#fff
}

/* Footer Section Styles */
footer {
    background-color: #fff;
    /* padding: 4rem 0 2rem; */
}

footer .container {
    max-width: 1200px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-logo {
    padding-top: 20px;
    max-width: 300px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 10px;
}

.footer-logo span {
    font-weight: bold;
    font-size: 2rem;
    vertical-align: middle;
    display: inline-block;
}

.footer-logo p {
    color: #666;
    margin-top: 4rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    color: #000;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column ul li a {
    color: #666;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color:var(--buttonBG);
}

.copyright {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    /* Container adjustments */
    .container {
        width: 95%;
    }

    /* Header responsive styles */
    header .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    header nav ul {
        margin-top: 1rem;
        flex-direction: column;
    }

    header nav ul li {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }

    /* Hero section responsive styles */
    .hero .container {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        gap: 1rem;
    }

    .hero-content {
        padding: 1rem 0;
    }

    .hero h1 {
        font-size: 2rem;
        padding: 0 0.5rem;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-form {
        margin: 0 auto 2rem;
    }

    /* Quote section responsive styles */
    .quote-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .quote {
        text-align: center;
        font-size: 2rem;
    }
    
    .stats {
        flex-direction: column;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }

    .feature-section .container {
        grid-template-columns: 1fr;
    }

    .pricing-plans {
        grid-template-columns: 1fr;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    .cta-form {
        align-items: center;
    }

    .cta-form input[type="email"] {
        border-radius: 5px;
        width: 100%;
    }

    .cta-form .cta-button {
        flex: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-logo {
        text-align: left;
        max-width: 100%;
    }

    .copyright {
        text-align: center;
    }

    .menu-toggle {
        display: block;
        position: relative;
        right: 20px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem;
        z-index: 99;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu .main-nav,
    .nav-menu .contact-nav {
        flex-direction: column;
        align-items: center;
        background-color:#ffffff;
    }
    header nav ul li a {
        color: black;
    }
    .nav-menu li {
        margin: 1rem 0;
/*        width: 100%;*/
    }

    .nav-menu li a {
        padding: 0.5rem 0rem;
        width: 100%;
        display: block;
        text-align: center;
    }

    .nav-menu .contact-nav {
        margin: 1rem 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-menu .contact-nav li {
        width: auto;
        margin: 0;
    }

    header nav ul li a.contact-btn {
        display: inline-block;
        padding: 0.5rem 1.5rem;
        margin: 0 auto;
        width: auto;
    }

    .pricing-plan {
        padding: 1.5rem;
    }
    
    .plan-header .price {
        font-size: 1.5rem;
    }
}

.story-section {
    background: url('../img/app-cover.png') no-repeat center center/cover;
    position: relative;
    color: #fff;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.story-section .container {
    position: relative;
    z-index: 2;
}

.story-section .feature-content h2,
.story-section .feature-content h3,
.story-section .feature-content p {
    color: #fff;
}

.story-section .feature-content h3 span {
    color: #2ecc71;
}

.contact-section {
    background: url('../img/contact-bg.jpg') no-repeat center center/cover;
    position: relative;
    color: #fff;
    min-height: 40vh; /* Easily adjust this value to change the height */
    display: flex;
    align-items: center;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--herobackground); /* Dark overlay for better text visibility */
}

.contact-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.contact-section p {
    font-size: 1.2rem;
    color: #fff;
}

.contact-form-section {
    /* padding: 4rem 0; */
    background-color: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.contact-info {
    display: flex;
    gap: 2rem;
    height: 100%;
}

.contact-info .map {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.contact-info .map iframe {
    width: 100%;
    height: 100%;
    min-height: 250px;
}

.contact-info .reach-us {
    flex: 1;
    padding: 1rem;
}

.contact-form h2,
.contact-info h2 {
    color: #21293c;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .submit-btn {
    background-color: var(--buttonBG);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    width: fit-content;
}

.contact-form .submit-btn:hover {
    background-color: var(--herobackground);
    color:#fff
}

.contact-info .reach-us {
    margin-bottom: 2rem;
}

.contact-info h3 {
    color: #21293c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
}

.contact-info ul li i {
    color: #2ecc71;
    font-size: 1.2rem;
}

.map {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 10px;
}

.reach-us {
    padding: 1rem;
}

.reach-us h3 {
    color: #21293c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Update responsive design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map iframe {
        height: 300px;
    }
}

.sales-inquiry {
    text-align: center;
    max-width: 1024px;
    margin: 0 auto;
}

.sales-inquiry p {
    font-size: 1.25rem;
    line-height: 1.875rem;
    color: #333;
    letter-spacing: -0.025em;
}

.sales-inquiry a {
    display: inline-flex;
    align-items: center;
    color: var(--buttonBG);
    transition: color 0.3s;
    font-weight: 500;
}

.sales-inquiry a:hover {
    color: var(--herobackground);
}

.sales-inquiry .arrow-icon {
    width: 0.68em;
    height: 0.68em;
    margin-left: 0.3em;
    margin-top: 0;
}

@media (min-width: 768px) {
    .sales-inquiry p {
        font-size: 1.5rem;
        line-height: 1.875rem;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 0rem 0;
    background-color: #f9f9f9;
}

.faq-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.faq-category {
    padding: 0.75rem 1.5rem;
    border: none;
    background: none;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-category.active {
    color: #2ecc71;
    position: relative;
}

.faq-category.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: #2ecc71;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.faq-question i {
    color: #2ecc71;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-categories {
        flex-wrap: wrap;
    }
    
    .faq-category {
        padding: 0.5rem 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 1rem;
    }
}

/* Resource Categories */
.resource-categories {
    background: #fff;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
}

.category-tab.active {
    color: #2ecc71;
    position: relative;
}

.category-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2ecc71;
}

/* Featured Resource */
.featured-resource {
    padding: 4rem 0;
    background: #f9f9f9;
}

.featured-resource .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.featured-content {
    padding-right: 2rem;
}

.resource-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--buttonBG);
    color:#fff;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.featured-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.resource-meta {
    display: flex;
    gap: 2rem;
    color: #666;
    margin: 1rem 0;
}

.resource-meta i {
    margin-right: 0.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--buttonBG);
    font-weight: 500;
    gap: 0.5rem;
    margin-top: 1rem;

}

.featured-image img {
    width: 100%;
    border-radius: 10px;
}

/* Resource Grid */
.resource-grid {
    padding: 4rem 0;
}

.resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.resource-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-image {
    position: relative;
}

.resource-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.resource-image .resource-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.resource-content {
    padding: 1.5rem;
}

.resource-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.load-more {
    text-align: center;
}

.load-more-btn {
    background: none;
    border: 2px solid #2ecc71;
    color: #2ecc71;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.load-more-btn:hover {
    background: #2ecc71;
    color: #fff;
}

/* Newsletter Section */
.newsletter-section {
    background: url('../img/cta-bkg.jpg') no-repeat center center/cover;
    
    padding: 4rem 0;
    text-align: center;
    position: relative;
    color: #fff;
    padding: 3rem 0;
}

.newsletter-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 2rem auto 0;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
}

.newsletter-form button {
    background: #2ecc71;
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background: #27ae60;
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-resource .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .featured-content {
        padding-right: 0;
    }

    .featured-content h2 {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
        padding: 0 1rem;
    }

    .category-tabs {
        gap: 1rem;
    }
}

.feature-detailed-section {
    background-color: #f9f9f9; /* Light grey background */
    padding: 2rem 0;
    text-align: center;
}

.feature-detailed-section h2 {
    font-size: 2.5rem;
    color: var(--buttonBG); /* Green color for heading */
    margin-bottom: 1rem;
}

.feature-detailed-section p {
    font-size: 1.1rem;
    color: #fff; /* Dark grey for paragraph text */
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.detailed-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid layout */
    gap: 2rem;
}

.feature-item {
    background-color: var(--herobackground);
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    text-align: left; /* Align text to the left within feature items */
}

.youtube-video {
    border-radius: 10px;
}

.feature-content div[ng-bind-html] ul {
    list-style: none;
    padding: 0;
}

.feature-content div[ng-bind-html] ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-content div[ng-bind-html] ul li:before {
    content: "•";
    color: var(--buttonBG);
    margin-right: 1rem;
    font-size: 2rem;
}

/* Resource Detail Styles */
.resource-detail {
    padding: 4rem 0;
}

.resource-detail .resource-content {
    max-width: 800px;
    margin: 0 auto;
}

.resource-detail .resource-image {
    margin-bottom: 2rem;
    position: relative;
}

.resource-detail .resource-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.resource-detail h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.resource-detail .short-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.resource-detail .full-description {
    line-height: 1.8;
}

.resource-detail .resource-meta {
    color: #666;
    margin: 1rem 0 2rem;
}

/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: 400ms;
    z-index: 999;
}

.cookie-consent-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-header i {
    font-size: 1.5rem;
    color: var(--buttonBG);
}

.cookie-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.cookie-content p {
    margin-bottom: 1.5rem;
    color: #666;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons .button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.cookie-buttons #acceptBtn {
    background: var(--buttonBG);
    color: var(--textColor);
}

.cookie-buttons #acceptBtn:hover {
    background: var(--headerbackground);
    color:#fff;
}

.cookie-buttons #declineBtn {
    background: #f1f1f1;
    color: #666;
}

.cookie-buttons #declineBtn:hover {
    background: #e5e5e5;
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons .button {
        width: 100%;
    }
}

/* Hero Right Slideshow Styles */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem 0;
}

.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.slide:first-child {
    opacity: 1;
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #fff;
}

/* Fade Animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: 0.4} 
    to {opacity: 1}
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slideshow-container {
        height: fit-content;
        width: 100%;
        margin: 0 auto;
        max-width: 400px;
    }

    .slide {
        position: relative;
        width: 100%;
        height: auto;
    }

    .slide img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }

    .hero-right {
        padding: 1.5rem 0;
    }

    .dots {
        bottom: 10px;
    }
}

.contact-form {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.submission-success {
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.submission-success i {
    color: #2ecc71;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.submission-success h3 {
    color: #21293c;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.submission-success p {
    color: #666;
    font-size: 1.1rem;
}

/* Update header nav styles to handle mid-range breakpoints */
header nav ul li a.contact-btn {
    white-space: nowrap;  /* Prevent button text from wrapping */
    display: inline-block;  /* Maintain button shape */
    min-width: max-content;  /* Ensure button width fits content */
}

/* Add new mid-range breakpoint */
@media (max-width: 962px) {
    header nav ul li {
        margin-left: 30px;  /* Reduce spacing between nav items */
    }
    
    header .container {
        padding: 0 0rem;  /* Add some padding on the sides */
    }
}

.custom-select {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg fill='%23666' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

    .custom-select:focus {
        outline: none;
        border-color: #007BFF;
        box-shadow: 0 0 0 3px rgba(0,123,255,0.2);
    }

.main-nav li a.active {
    color: var(--buttonBG);
}

