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

    :root {
        --primary-color: #4891ff;
        --light-color: #f4f4f6;
        --dark-color: #111;
        --black-color: #000; /* Added black color variable */
    }
    body {
        font-family: 'Poppins', sans-serif; 
        font-size: 16px;
        line-height: 1.5;
        background: #fff;
        overflow-x: hidden;
    }

    a {
        text-decoration: none;
        color: #333;
    }

    ul {
        list-style: none;
    }

    /* Responsive images */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .logo img {
        height: 56px;
        width: auto;
        max-width: 100%;
        display: block;
    }

.footer-logo {
    height: 24px;
    width: auto;
    max-width: 100%;
    display: block;
}

/* Navbar */
    .navbar {
        background-color: #fff;
        padding: 0px;
    }

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

    .navbar .main-menu ul {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .navbar ul li a {
        padding: 10px 20px;
        display: block;
    font-weight: 600;
    transition: 0.5s;
}
.navbar ul li a:hover {
    color: var(--primary-color);
}

.navbar ul li a i {
    margin-right: 10px;
}

.navbar ul li:last-child a {
    margin-left: 10px;
}

.navbar .social-media i {
    font-size: 1.8em;
    margin: 0 8px;
    color: #d32f2f;
    vertical-align: middle;
}
.navbar .social-media i:hover {
    color: #333;
}

/* Hero */
.hero {
   margin-bottom: 0px;
}

.hero .container {
    height: auto;
}

.hero .hero-content {
    width: 70%;
}

.hero .hero-text {
    width: 70%;
    margin-bottom: 20px;
}

.hero .hero-content h1 {
    margin-bottom: 20px;
}

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

.hero-content {
    flex: 1;
    padding-right: 0px;
}

.hero .hero-image img {
    width: 400px;
    height: auto;
    border-radius: 10px;
}

/*--Video--*/
.video {
    padding: 10px 0 40px;
}

.video-content {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.video .video-preview {
    margin-bottom: 20px;
    
}

/* Footer */ 
.footer {
    padding: 40px 0;
}

.footer h4 {
    margin-bottom: 10px;
}

.footer ul li {
    line-height: 2.5;
}

.footer ul li a {
    color: #ccc;
}

.footer i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.footer .card {
  margin: 20px 30px 30px 0;
}

.footer input{
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 20px 0;
}

/* Social Media Icons in Footer */
footer .social-media i {
    font-size: 2.2em;
    margin: 0 12px;
    color: #d32f2f; /* Optional: make them red for highlight */
    transition: color 0.2s;
}
footer .social-media i:hover {
    color: #333; /* Optional: change color on hover */
}

/* Utility Classes */
.container, .container-sm {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 13px 20px;
    background: var(--light-color);
    color: #333;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    transition: 0.5s;
}

.btn:hover {
    opacity: 0.8;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff
}

.btn-dark {
    background: var(--dark-color);
    color: #333;
}

.btn-block {
    display: block;
    width: 100%;
}
/* Text Classes */
.text-xxl {
    font-size: 2em;     /* Reduce from 3em or larger */
    margin-top: 20px;   /* Less space above */
    margin-bottom: 20px;
}

.text-xl {
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 40px 0 20px;
}

.text-lg {
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 30px 0 20px;
}

.text-md {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 20px 0 10px;
}

.text-sm {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 10px 0 0.5px;
}

.text-center {
    text-align: center;
}

/* Background */
.bg-primary {
    background: var(--primary-color);
    color: #fff;
}

.bg-light {
    background: var(--light-color);
    color: #f4f4f4;
}

.bg-dark {
    background: var(--dark-color);   /* or any dark color you prefer */
    color: #fff;        /* make text white for contrast */
    padding: 40px 0;    /* optional: add vertical padding */
}

.bg-black {
    background: var(--black-color);
    color: #080808;
}
/* Card */
.card {
    background: #fff;
    color: #000;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

/* FAQ */
.faq-answer {
    display: none;
    padding: 10px 0;
}

.faq-item.active .faq-answer {
    display: block;
}
.faq-question {
    cursor: pointer;
    transition: color 0.2s;
}
.faq-question:hover {
    color: var(--primary-color);
}
.faq-heading {
    margin-top: 40px;   /* Adds space below the navbar/hero */
    margin-bottom: 24px; /* Space before questions */
    font-size: 2em;      /* Smaller heading */
}
.faq-item {
    margin-bottom: 20px; /* Adjust value as needed */
}

.about.bg-light {
    padding: 40px 0;
}

/* Newsletter */
.newsletter-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.newsletter-image img {
    max-width: 180px;
    height: auto;
    border-radius: 10px;
    display: block;
}

.newsletter-content {
    flex: 1;
}

@media (max-width: 768px) {
    .newsletter-flex {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .newsletter-image img {
        max-width: 100%;
    }
}

/* Responsive Layout */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .main-menu ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .logo img {
        height: 40px; /* Keep the same height on mobile */
        width: auto;
    }
    .hero-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero .hero-content,
    .hero .hero-text {
        width: 100%;
        padding-right: 0;
    }
    .hero .hero-image img {
        width: 100%;
        max-width: 350px;
        margin: 20px 0 0 0;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .about.bg-light,
    .bg-dark,
    .contact-section,
    .services-section {
        padding: 20px 10px;
    }
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.3em;
    }
    .btn, button {
        width: 100%;
        max-width: 300px;
        margin: 10px auto;
        display: block;
        font-size: 1em;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .about-section,
    .services-section,
    .contact-section {
        padding: 10px 5px;
    }
    h1 {
        font-size: 1.3em;
    }
    h2 {
        font-size: 1em;
    }
}
