* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #fbf9f0;
    --secondary-color: #cddef4;
    --tertiary-color: #317ED5;
    --text-color: #2a2a2a;
    --input-color: rgba(42, 42, 42, 0.5);
}

body {
    font-family: 'Poppins',sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: var(--primary-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.logo {
    font-family: "Bangers", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-style: italic;
    color: var(--tertiary-color);
    text-shadow: -1px -1px 0 var(--text-color), 1px -1px 0 var(--text-color), -1px 1px 0 var(--text-color), 1px 1px 0 var(--text-color);
    letter-spacing: 0.2rem;
    font-weight: 400;
    transform: rotate(-10deg);
}

/* Navbar */
.navbar {
    background: var(--secondary-color);
    padding: 20px 0;
    border: 3px solid var(--text-color);
    z-index: 1000;
    transition: transform 0.5s ease-in-out;
    position: fixed;
    width: 100%;
    -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 ul li a {
    padding:  10px 20px;
    display: block;
    font-weight: 600;
    transition: 0.5s;
}

.navbar .logo a {
    text-decoration: none;
    color: var(--tertiary-color);
}

.navbar ul li a i {
    margin-right: 10px;
}

.navbar .logo {
    margin: 0;
}

/* Hero */
.hero {
    margin-top: 150px;
    margin-bottom: 50px;
}

.hero .hero-heading {
    color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
}

.hero .hero-text {
    color: var(--text-color);
    margin: 30px auto;
    text-align: center;
}

.hero .hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Projects */
.projects {
    padding: 5px 0;
    border: 3px solid var(--text-color);
    scroll-margin-top: 150px;
}

.projects .projects-heading {
    width: 700px;
    margin-bottom: 20px;
}

.projects .projects-text {
    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: 3px solid var(--text-color);
      margin: 0 10px;
}

.projects .text-lg {
    font-weight: 500;
}

.projects .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 10px;
}

.projects .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--primary-color);
    margin-bottom: 40px;
    border: 3px solid var(--text-color);
    text-align: left;
}

.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: 150px;
}

.about .about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: center;
}

.about .about-text {
    /* margin: 0 20px; */
    width: 100%;
    text-align: justify;
}

.about .about-logo {
    margin: 0 auto;
}

.about {
    color: var(--secondary-color);
}

/* Services */
.services {
    padding-bottom: 20px;
    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;
}

/* Pricing */
.pricing {
    padding-bottom: 20px;
    scroll-margin-top: 150px;
    text-align: left;
}

.pricing .pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 0 10px;
    margin-top: 40px;
}

.pricing .pricing-subheading {
    margin: 0 10px;
}

.pricing .card {
    border: 3px solid var(--text-color);
    text-align: left;
}

.pricing .pricing-card-subheading {
    margin: 50px 0;
}

.pricing .pricing-card-price {
    margin-bottom: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--text-color);
}

.pricing ul {
    margin: 20px 0;
}

.pricing ul li {
    margin-bottom: 5px;
}

.pricing .pricing-footer {
    margin: 20px 10px;
}

/* Social */
.social {
    padding-bottom: 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-left: 10px;
}

.social .subscribe {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 10px;
}

.social .subscribe input::placeholder {
    font-weight: 600;
}

.social .subscribe .btn-tertiary {
    text-align: center;
    width: 20%;
    color: var(--primary-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-tertiary {
    text-align: center;
    width: 50%;
    color: var(--primary-color);
    font-weight: 600;
}

.social .btn-tertiary:hover {
    color: var(--text-color);
}

/* FAQ */
.faq {
    padding-bottom: 40px;
    scroll-margin-top: 150px;
}

.faq .faq-content {
    margin: 0 20px;
}

.faq .faq-group {
    border-bottom:  3px solid var(--text-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;
    padding-left: 20px;
}

.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: #ddd;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
}

.faq ul.faq-menu li {
    padding: 10px 20px;
    text-align: center;
}

.faq ul.faq-menu li.active {
    background: var(--primary-color);
    color: #fff;
}

.faq i {
    color: var(--tertiary-color);
}

/* 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;
    text-align: center;
}

.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: #fff;
    color: #000;
    padding: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 13px 20px;
    font-weight: 600;
    text-decoration: none;
    border: 3px solid var(--text-color);
    cursor: pointer;
    transition: 0.5s;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-color);
}

.btn-primary:hover {
    opacity: 0.8;
    background: var(--tertiary-color);
    color: var(--primary-color);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    opacity: 0.8;
    background: var(--tertiary-color);
    color: var(--primary-color);
}

.btn-tertiary {
    background: var(--tertiary-color);
    color: var(--primary-color);
}

.btn-tertiary:hover {
    opacity: 0.8;
    background: var(--secondary-color);
    color: var(--text-color);
}

/* Text Classes */
.text-xxl-logo {
    font-size: 7rem;
    line-height: 0.85;
    font-weight: 600;
    margin: 40px 0;
}

.text-xl-logo {
    font-size: 2.2rem;
    line-height: 0.85;
    font-weight: normal;
    margin: 20px 0;
}

.text-xxl {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 600;
    margin: 20px 0;
    color: var(--text-color);
}

.text-xl {
    font-size: 2.2rem;
    line-height: 1.4;
    /* font-weight: normal; */
    margin: 20px 0;
    color: var(--text-color);
    font-weight: 600;
    font-style: italic;
}

.text-lg {
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 20px 0;
    color: var(--text-color);
}

.text-md {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 10px 0;
    color: var(--text-color);
}

.text-sm {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 5px 0;
    color: var(--text-color);
    text-align: justify;
}

.text-center {
     text-align: center;
}

/* Background */
.bg-primary {
    background: var(--primary-color);
    color: var(--text-color);
}

.bg-secondary {
    background: var(--secondary-color);
    border: 3px solid var(--text-color);
}

.bg-black {
    background: #000;
    color: #fff;
}

/* Hamburger Button */
.hamburger-button {
    display: block;
    background: rgba(255, 0, 0, 0);
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.hamburger-button .hamburger-line {
    width: 30px;
    height: 3px;
    background: var(--text-color);
    margin: 6px 0;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100%;
    z-index: 100;
    background: var(--tertiary-color);
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    transition: right 0.5s ease-in-out;
    border: 3px solid var(--text-color);
    -webkit-transition: right 0.5s ease-in-out;
    -moz-transition: right 0.5s ease-in-out;
    -ms-transition: right 0.5s ease-in-out;
    -o-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;
    border: 3px solid var(--text-color);
    background: var(--primary-color);
}

.mobile-menu ul li a {
    font-size: 20px;
    transition: 0.3s;
    color: var(--text-color);
}

/* Media Queries */
@media (max-width: 960px) {
    .text-xxl-logo {
        font-size: 6rem;
    }

    .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 {
        max-width: 100%;
        text-align: center;
    }

    .pricing .pricing-heading {
        max-width: 100%;
        text-align: center;
    }

    .faq .faq-header {
        max-width: 100%;
        text-align: center;
    }

    .projects .projects-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;
    }

    .social .subscribe .btn-tertiary {
        width: 50%;
    }
}

@media (max-width: 500px) {
    .text-xxl-logo {
        font-size: 5rem;
    }

    .text-xxl {
        font-size: 2rem;
    }
}