* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #4891ff;
    --light-color: #e2e2e2;
    --dark-color: #333;
    --black: #000;
    --white: #fff;
}

body {
    font-family: 'Poppins',sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--dark-color)
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.logo {
    max-height: 65px;
}

/* Navbar */
.navbar {
    padding: 20px;
    z-index: 100;
    transition: transform 0.5s ease-in-out;
    position: fixed;
    width: 100%;
    top: 0;
    -webkit-transition: transform 0.5s ease-in-out;
    -moz-transition: transform 0.5s ease-in-out;
    -ms-transition: transform 0.5s ease-in-out;
    -o-transition: transform 0.5s ease-in-out;
}

.navbar-hidden {
    transform: translateY(-100px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .main-menu ul {
    display: flex;
}

.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;
}

/* Hero */ 
.hero { 
    margin: 170px 0 50px; 
} 

.hero .hero-image { 
    margin: 0 auto; margin-top: 50px; width: 65%; 
} 

.hero .hero-content { 
    width: 70%; 
} 

.hero .hero-text { 
    width: 70%; margin-bottom: 20px; 
}

/* Projects */
.projects {
    padding: 40px 0;
    scroll-margin-top: 100px;
}

.projects .projects-heading {
    width: 700px;
}

.projects .container div {
    margin: 0 10px;
}

.projects .projects-line-text {
    display: flex;
    align-items: center;
    text-align: center;
}

.projects .projects-line-text::before,
.projects .projects-line-text::after {
      content: "";
      flex: 1;
      border-bottom: 2px solid var(--dark-color);
      /* margin: 0 10px; */
}

.projects .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 20px;
}

.projects .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.projects .card p:nth-child(2) {
    margin-top: 30px;
    margin-bottom: 30px;
}

.projects .card p:last-child {
    font-style: italic;
    margin-top: 30px;
}

/* About */
.about {
    align-items: center;
    padding:  10px 0 40px;
    scroll-margin-top: 90px;
}

.about .about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: center;
}

.about .about-text {
    margin: 0 10px;
    width: 100%;
    text-align: justify;
}

.about .about-logo {
    margin: 0 10px;
}

.about {
    color: var(--secondary-color);
}

/* Services */
.services {
    padding: 40px 0;
    scroll-margin-top: 150px;
}

.services .container div {
    margin: 0 10px;
}

.services .services-buttons a {
    margin: 30px 0;
}

.services .services-subheading h4 {
    margin-top: 40px;
    font-weight: 400;
}

.services .services-text p {
    text-align: left;
    margin: 30px 15px;
}

.services .services-points ul li p {
    margin: 10px 30px;
    text-align: left;
    font-weight: 400;
}

/* Video */
.video {
    padding:  10px 0 40px;
    display: none;
}

.video .video-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video .video-preview {
    margin-bottom: 20px;
}

.video .video-text {
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
    padding: 40px 0;
    scroll-margin-top: 100px;
}

.testimonials .testimonials-heading {
    width: 700px;
    margin-bottom: 50px;
}

.testimonials .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 20px;
}

.testimonials .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonials .card p:nth-child(2) {
    margin-top: 30px;
    margin-bottom: 30px;
}

.testimonials .card p:last-child {
    font-style: italic;
    margin-top: 30px;
}

/* Pricing */
.pricing {
    padding-top: 40px;;
    scroll-margin-top: 100px;
    text-align: left;
}

.pricing .pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 0 10px;
    margin-top: 40px;
}

.pricing .pricing-card-subheading {
    margin: 50px 10px;
}

.pricing .bg-light .pricing-card-price {
    margin-bottom: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--dark-color);
}

.pricing .bg-black .pricing-card-price {
    margin-bottom: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--light-color);
}

.pricing ul {
    margin: 20px 0;
}

.pricing ul li {
    margin-bottom: 5px;
}

.pricing ul li i {
    color: var(--primary-color);
}

.pricing .pricing-footer {
    margin: 20px 10px;
}

/* Social */
.social {
    padding: 40px 0 40px;
    border: 3px solid var(--text-color);
}

.social #subscribe,
.social #contact {
    scroll-margin-top: 150px;
}

.social .social-heading {
    width: 700px;
    margin-bottom: 20px;
}

.social .social-text {
    margin: 20px 10px 20px;
    text-align: justify;
}

.social .subscribe {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -10px 10px 0;
}

.social .subscribe input::placeholder {
    font-weight: 600;
}

.social .subscribe .btn-primary {
    text-align: center;
    width: 20%;
    color: var(--light-color);
    font-weight: 600;
}

.social .contact {
    margin: 0 10px;
}

.social .contact .line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social .contact .line label {
    background: var(--primary-color);
    color: var(--input-color);
    font-weight: 600;
    width: 50%;
}

.social .contact .line input[type="file"] {
    display: none;
}

.social .contact input::placeholder {
    color: var(--input-color);
    font-weight: 600;
}

.social .contact .btn-primary {
    text-align: center;
    width: 50%;
    color: var(--light-color);
    font-weight: 600;
}

.social .btn-tertiary:hover {
    color: rgba(var(--text-color), 0.8);
}

/* FAQ */
.faq {
    padding: 40px 0;
    scroll-margin-top: 100px;
}

.faq .faq-content {
    margin: 0 20px;
}

.faq .faq-group {
    border-bottom:  2px solid var(--dark-color);
    padding-bottom: 20px;
}

.faq .faq-group .faq-group-header {
    padding: 20px 0;
    margin-bottom: 15px;
    position: relative;
}

.faq .faq-group .faq-group-header h4 {
    font-weight: 600;
    width: 95%;
}

.faq .faq-group .faq-group-header i {
    position: absolute;
    right: 0;
    top: 35px;
    font-size: 1.3rem;
    cursor: pointer;
}

.faq .faq-group .faq-group-body {
    display: none;
}

.faq .faq-group .faq-group-body.open {
    display: block;
}

.faq ul.faq-menu {
    max-width: 400px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-color);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.faq ul.faq-menu li {
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
}

.faq ul.faq-menu li.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Footer */
.footer {
    padding: 20px 0;
}

.footer a {
    color: var(--text-color);
    text-decoration: underline;
}

.footer .container {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    text-align: center;      
    gap: 0rem;            
}

.footer .container .text-sm {
    margin: 20px 40px
}

.footer .logo a {
    text-decoration: none;
    color: var(--tertiary-color);
}

/* Utility Classes */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Card */
.card {
    background: var(--white);
    color: var(--black);
    border-radius: 10px;
    padding: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 13px 20px;
    background: var(--light-color);
    color: var(--dark-color);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;
}

.btn:hover {
    opacity: 0.8;
    background: rgb(124, 124, 124);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-dark {
    background: var(--dark-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Text Classes */
.text-xxl {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 600;
    margin: 40px 0 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: 1rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 10px 0 5px;
}

.text-center {
     text-align: center;
}

/* Background */
.bg-primary {
    background: var(--primary-color);
    color: var(--light-color);
}

.bg-light {
    background: var(--light-color);
    color: var(--dark-color);
}

.bg-light i {
    color: var(--primary-color);
}

.bg-dark {
    background: var(--dark-color);
    color: var(--white);
}

.bg-black {
    background: var(--black);
    color: var(--light-color);
}

.bg-white {
    background: var(--white);
    color: var(--dark-color);
}

/* Hamburger Button */
.hamburger-button {
    display: block;
    background: rgba(255, 0, 0, 0);
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10000;
}

.hamburger-button .hamburger-line {
    width: 30px;
    height: 3px;
    background: var(--white);
    margin: 6px 0;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100%;
    z-index: 100;
    background: var(--light-color);
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    transition: right 0.5s ease-in-out;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    margin-top: 100px;
    padding-right: 10px;
}

.mobile-menu ul li {
    margin: 10px 0;
}

.mobile-menu ul li a {
    font-size: 20px;
    transition: 0.3s;
}

/* Media Queries */
@media (max-width: 960px) {
    .text-xxl {
        font-size: 2.5rem;
    }
}

@media (max-width: 900px) {
    .projects .projects-grid,
    .testimonials .testimonials-grid,
    .pricing .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .social .subscribe,
    .social .contact {
        flex-direction: column;
        align-items: stretch;
    }
    .social .subscribe .btn-primary,
    .social .contact .btn-primary {
        width: 100%;
    }
}

@media (max-width: 670px) {
    .navbar .main-menu {
        display: none;
    }

    .navbar .hamburger-button {
        display: block;
    }

    .hero .hero-content, 
    .hero .hero-text{
        width: 100%;
        text-align: center;
    }

    .hero .hero-buttons .btn  {
        margin-bottom: 10px;
        display: block;
        width: 100%;
    }

    /* Text */
    .text-xl {
        font-size: 1.9rem;
    }

    .text-lg {
        font-size: 1.5rem;
    }

    .text-md {
        font-size: 1.1rem;
    }

    .about .about-heading {
        max-width: 100%;
        text-align: center;
    }

    .about .about-text {
    margin: 0 10px;
    width: auto;
    text-align: justify;
    }

    .projects .projects-heading,
    .testimonials .testimonials-heading,
    .social .social-heading {
    max-width: 100%;
    width: auto;
    text-align: center;
    }

    .projects .projects-grid,
    .testimonials .testimonials-grid, 
    .pricing .pricing-grid,
    .footer .footer-grid,
    .about .about-grid {
        grid-template-columns: 1fr;
    }

    .footer .card {
        margin-right: 0;
    }

    .footer .footer-grid > div {
        text-align: center;
    }

    .footer .bottom-icons {
        margin: 0 auto;
    }
}

@media (max-width: 500px) {
    .text-xxl {
        font-size: 2rem;
    }

}
