/* General Styles */
html {
    scroll-behavior: smooth;
}

:root{
    --main-color: #401750;
    --secondary-color: #486c8f;
    --tertiary-color: #ebb626;
    --text-color: #333;
    --padding-small-screen: 3px;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--text-color);
    background-color: #f9f9f9;
}
p{
    font-family: 'montserrat';
}
.main-color{
    color: var(--main-color);
    font-family: "Imprima", sans-serif;
    font-size: xx-large;
}
.secondary-color{
    color: var(--secondary-color);
    font-family: "imprima", sans-serif;
    font-weight: normal;
    font-size: x-large;
}
.tertiary-color{
    color:var(--tertiary-color);
}
.no-decoration{
    text-decoration: none;
    color: var(--text-color);
}
.f-horizontal{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.fj-center{
    justify-content: center;
    align-items: center;
}
header {
    /* background: linear-gradient(to right, #713c94, #9732e9); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: "Imprima", sans-serif;
}
.header-overlay{
    color: #333;
    padding: 20px 0;
    text-align: center;
}
.header-wrapper{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}
.logo-image img{
    height: 7rem;
}
.logo h1 {
    margin: 0;
    font-size: 32px;
    color: var(--main-color);
}

.logo p {
    margin: 5px 0 0;
    font-size: 18px;
    color: var(--secondary-color);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
}

nav li {
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}


.center-items{
    display: flex;
    justify-content:center !important;
}

/* General Styles */
.container {
    max-width: 80%;
    margin: 0 auto;
}

/* Header */

.logo h1 {
    margin: 0;
}

nav {
    text-align: right;
    padding-top: 1rem;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
    margin-left: 20px;
}

nav a {
    text-decoration: none;
    color: #333;
}
a{
    color: var(--main-color);
    font-weight: bold;
}
.f-vertical{
    flex-direction: column;
}
/* Hero Section */
.hero {
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
}
.hero-overlay{
    background-color: rgba(0, 0, 0, 0.6); 
    color: #fff;
    text-align: center;
    padding: 100px 0;
}
.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-family: 'Montserrat';
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 40px;
    font-family: "Imprima", sans-serif;
}

/* About Us Section */
.about-us {
    padding: 80px 0;
    background-color: #fff;
}

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

.about-us-content h2 {
    color: var(--main-color);
    font-family: "Imprima", sans-serif;
    font-size: 36px;
    margin-bottom: 40px;
}

.about-us-text {
    text-align: left;
    padding: 0 40px;
}

.intro-text {
    
    padding: 0 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-us-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
    color: var(--text-color);
}

/* Content wrapper with image */
.content-wrapper {
    background-color: rgba(64, 23, 80, 0.05);
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    border-radius: 10px;
}

.image-container {
    flex: 0 0 300px;
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-container {
    flex: 1;
}

.text-container h3 {
    margin-top: 0;
}

.text-container p {
    margin-bottom: 0;
}
.text-right{
    text-align: right;
}

.about-us-text p:last-child {
    margin-bottom: 0;
}
.small-container{
    max-width: 50%;
}
.cta-button {
    background-color: var(--secondary-color);
    font-family: sans-serif;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: box-shadow ease 0.2s;
}
.cta-button:hover{
    box-shadow: 6px 7px 12px -5px rgba(92, 39, 128, 0.79);
    -webkit-box-shadow: 6px 7px 12px -5px rgba(92, 39, 128, 0.79);
    -moz-box-shadow: 6px 7px 12px -5px rgba(92, 39, 128, 0.79);
    transition: box-shadow ease 0.2s;
}

/* About Me */
#about {
    padding: 60px 0;
}
#about .container{
    width: 100%;
    display: flex;
    justify-content:center;
    align-items:center;
}

.about-content {
    display: flex;
    align-items: center;
    max-width: 1000px;
}

.about-content img {
    max-width: 300px;
    margin-right: 40px;
    border-radius: 10px;
}

.about-text h3 {
    margin-top: 0;
}

.about-text p {
    line-height: 1.6;
}


/* Brainblocks */
#brainblocks {
    padding: 60px 0;
    background-color: #fff;
    line-height: 1.8;
}
#brainblocks .container{
    width: 100%;
    display: flex;
    justify-content:center;
    align-items:center;
}

.about-content {
    display: flex;
    align-items: center;
    max-width: 1000px;
}

.about-content img {
    max-width: 300px;
    margin-right: 40px;
    border-radius: 10px;
}

.about-text h3 {
    margin-top: 0;
}

.about-text p {
    line-height: 1.6;
}
.brainblocks-logo-container{
    display: flex;
    justify-content: center;
    align-items: center;
}
#brainblocks .multiple-columns{
    text-align: left;
    column-count: 2;
    column-gap: 4rem;
}
#brainblocks .small-container{
    max-width: 80%;
}
#brainblocks .text-center{
    text-align: center;
}
#brainblocks .brainblocks-logo{
    width: 25%;
}

/* Contact */
#contact {
    padding: 60px 0;
}

form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background-color: #007BFF;
    color: #fff;
    padding: 15px 30px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
}

.contact-info {
    text-align: center;
    margin-top: 40px;
}

.contact-info p {
    margin: 5px 0;
    color: var(--main-color);
    font-weight: 500;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}
.reverse{
    flex-direction: row-reverse;
}
.shadow-right{
    filter: drop-shadow(5px 0px 0px var(--main-color));
}
.shadow-left{
    filter: drop-shadow(-5px 0px 0px var(--main-color));
}
.more-left{
    margin-left: -100px;
    margin-right: 90px;
}
.more-right{
    margin-left: 90px;
    margin-right: 0px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        max-width: 99%;
        padding: var(--padding-small-screen);
        flex-direction: column;
    }

    .small-container {
        max-width: 100%;
        padding: var(--padding-small-screen);
    }

    .more-left {
        margin-left: 0;
        margin-right: 0;
    }

    .more-right {
        margin-left: 0;
        margin-right: 0;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: var(--padding-small-screen);
        width: 100%;
    }

    .image-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        order: -1;
    }

    .text-container {
        width: 100%;
        text-align: center;
        padding: var(--padding-small-screen);
    }

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

    .about-content {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .about-content img {
        margin-right: 0;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .about-text {
        width: 100%;
        padding: var(--padding-small-screen);
    }

    .about-content, .service-list, .gallery-grid {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    #about .container {
        width: 100%;
        padding: var(--padding-small-screen);
    }

    .about-content img, .service-item, .gallery-item {
        width: 100%;
        margin-bottom: 20px;
    }

    nav {
        text-align: center;
    }

    nav ul {
        display: flex;
        flex-direction: column;
    }

    nav li {
        margin: 10px 0;
    }

    .about-us-text {
        padding: var(--padding-small-screen);
    }

    .intro-text {
        padding: var(--padding-small-screen);
    }

    .quote blockquote {
        padding: 15px;
        margin: 0 5px;
    }
    #brainblocks .multiple-columns{
        text-align: left;
        column-count: 1;
        column-gap: 20px;
    }
    .content-block{
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
}

.quote {
    margin: 40px 0;
    padding: 0 20px;
}

.quote blockquote {
    background-color: rgba(64, 23, 80, 0.05);
    border-left: 4px solid var(--main-color);
    margin: 0;
    padding: 30px;
    position: relative;
    font-style: italic;
    border-radius: 0 10px 10px 0;
}

.quote blockquote h3 {
    color: var(--main-color);
    margin-top: 0;
    font-family: "Imprima", sans-serif;
    font-size: 24px;
}

.quote blockquote p {
    margin-bottom: 0;
    line-height: 1.6;
}

.brainblocks-content {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.content-block {
    background-color: rgba(64, 23, 80, 0.05);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
    flex: 1;
    min-width: 300px;
    max-width: calc(33.333% - 1.33rem);
}

.content-block:hover {
    transform: translateY(-5px);
}

.content-block h3 {
    color: var(--main-color);
    font-family: "Imprima", sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--tertiary-color);
    padding-bottom: 0.5rem;
}

.content-block p {
    line-height: 1.8;
    margin: 0;
}

.brainblocks-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
    .brainblocks-content {
        flex-direction: column;
        padding: 0;
        gap: 10px;
    }
    
    .content-block {
        padding: 1rem;
        max-width: 100%;
        min-width: 100%;
    }
    
    .brainblocks-logo {
        width: 150px;
    }
}
