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

html {
    font-size: 62.5%;
    overflow-x: hidden;
   scroll-behavior: smooth;
}

body {
    font-family: "Tinos", sans-serif;
    line-height: 1;
    font-weight: 400;
    color: #555;
    overflow-x: hidden;
}

/*===========================================
Genral reusable components
===========================================*/

.heading-primary,
.heading-secondary,
.heading-tertiary {
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #333;
}

.heading-primary {
    font-size: 5.2rem;
    line-height: 1.05;
    margin-bottom: 3.2rem;
}

.heading-secondary {
    font-size: 4.4rem;
    line-height: 1.2;
    margin-bottom: 9.6rem;
}

.heading-tertiary {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 3.2rem;
}

.subheading {
    display: block;
    font-size: 1.6rem;
    font-weight: 500;
    color: #9402d2;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
    letter-spacing: 0.75px;
}


.btn, .btn:link, .btn:visited {
    display: inline-block;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
    padding: 1.6rem 3.2rem;
    border-radius: 4px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn--full:link, .btn--full:visited {
    background-color: #9402d2;
    color: #fff;
}

.btn--full:hover, .btn--full:active {
    background-color: #7602a8;
}

.btn--outline:link, .btn--outline:visited {
    color: inherit;
    background-color: inherit;
}

.btn--outline:hover, .btn--outline:active {
    color: inherit;
    background-color: #f3f0ff;
    box-shadow: inset 0 0 0 3px #9402d2;
}

.margin-right-sm {
    margin-right: 1.6rem !important;
}

.container {
    max-width: 120rem;
    padding: 0 3.2rem;
    margin: 0 auto;
}

.grid {
    display: grid;
    row-gap: 9.6rem;
    column-gap: 6.4rem;
}

.grid--3-cols {
    grid-template-columns: repeat(3, 1fr);
}


/*===========================================
Header
===========================================*/

.header {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    background-color: #f3f0ff;
    height:9.6rem;
    padding: 0 4.8rem;
}

.logo {
    height: 5.2rem;
}

/*===========================================
Navigation
===========================================*/

.main-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4.8rem;
}

.main-nav-link:link, .main-nav-link:visited {
    display: inline-block;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.8rem;
}

.main-nav-link:hover, .main-nav-link:active {
    box-shadow: 1px 11px 0px -7px rgba(148,2,210,0.49);
    -webkit-box-shadow: 1px 11px 0px -7px rgba(148,2,210,0.49);
    -moz-box-shadow: 1px 11px 0px -7px rgba(148,2,210,0.49);
}

.btn-mobile-nav {
    border: none;
    background: none;
    cursor: pointer;
    display: none;
}

.icon-mobile-nav {
    height: 4.8rem;
    width: 4.8rem;
    color: #333;
}

.icon-mobile-nav[name="close-outline"] {
    display: none;
}


.sticky .header {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    z-index: 9999;
    height: 8rem;
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, .03);
}

.sticky .section-hero {
    margin-top: 9.6rem;
}

/*===========================================
Hero Section
===========================================*/


.section-hero {
    padding: 4.8rem 0 9.6rem 0;
    background-color: #f3f0ff;
}

.hero {
    max-width: 130rem;
    margin: 0 auto;
    padding: 0 3.2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    column-gap: 9.6rem;
}

.hero-description {
    font-size: 2rem;
    line-height: 1.6;
    margin-bottom: 4.8rem;
}

.hero-img-box {
    border-radius: 20px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    border-radius: 10px;
}


/*===========================================
About Section
===========================================*/

.section-about {
    padding: 4.8rem 0 9.6rem 0;
}

.about {
    max-width: 130rem;
    margin: 0 auto;
    padding: 0 3.2rem;
    align-items: center;
    column-gap: 9.6rem;
}

.about p {
  text-align: center;
  max-width: 80rem;
  margin: 0 auto 4rem auto;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #555;
}

.about-figure-card {
  background-color: #fff;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: -1;
}

.about-figure-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.about-figure-card ion-icon {
  font-size: 3rem;
  color: #9402d2; /* Primary brand color */
  margin-bottom: 1rem;
}

.about-figure-card h3 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.about-figure-card p {
  font-size: 1.6rem;
  color: #666;
}


/*===========================================
Gallery Section
===========================================*/


.section-gallery {
  padding: 4.8rem 0 9.6rem 0;
}

.section-gallery h2 {
  line-height: 1.2;
  margin-bottom: 3.2rem;
  color: #333;
}

/* Simple responsive image grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.4rem;
}

.gallery-grid img {
  width: 20rem;
  height: 20rem;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}


/*===========================================
Contact Section
===========================================*/

.section-contact {
    padding: 4.8rem 0 9.6rem 0;
}

.section-contact h2 {
    text-align: center;
    font-size: 5.2rem; /* Matches heading-primary */
    font-weight: 700;
    margin-bottom: 3.2rem;
    color: #333;
}

.section-contact p {
    text-align: center;
    max-width: 80rem;
    margin: 0 auto 4rem auto;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #555;
}

/* Contact Wrapper */
.contact-wrapper {
    max-width: 130rem;
    margin: 0 auto;
    padding: 0 3.2rem;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 3.2rem;
}

/* Contact Form Styling */
.contact-form {
    background-color: #fff;
    padding: 3.2rem 2.4rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.contact-form label {
    font-weight: 600; /* Semi-bold */
    font-size: 1.6rem;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    padding: 1.2rem 1.6rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1.6rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #9402d2; /* Primary brand color */
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    margin-top: 1.6rem;
    padding: 1.6rem 3.2rem;
    font-size: 2rem;
    font-weight: 600;
    background-color: #9402d2;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background-color: #7602a8;
    transform: translateY(-2px);
}

/*===========================================
Footer
===========================================*/

.footer {
  padding: 4.8rem 3.2rem;
  background-color: #f3f0ff;
  text-align: center;
  color: #555;
  font-size: 1.6rem;
  line-height: 1.6;
}

.footer-container {
  max-width: 120rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.footer-logo img {
  height: 5.2rem;
  margin-bottom: 1.6rem;
}

.footer-copy {
  font-size: 1.4rem;
  color: #333;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
  padding: 0;
  margin: 0.8rem 0;
}

.footer-links a {
  text-decoration: none;
  color: #9402d2; /* Primary brand color */
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #7602a8;
}

.footer-social {
  display: flex;
  gap: 2rem;
  margin-top: 0.8rem;
}

.footer-social ion-icon {
  font-size: 2.4rem;
  color: #9402d2;
  transition: color 0.3s ease;
}

.footer-social ion-icon:hover {
  color: #7602a8;
}


/*===========================================
Querys
===========================================*/


/* BELOW 1344px (smaller desktops */

@media (max-width: 79em) {
    .hero {
        max-width: 120rem;
    }
}

@media (max-width: 71em) {
    
    html {
        font-size: 56.25%;
    }

}

@media (max-width: 64em) {
    
    html {
        font-size: 50%;
    }

}

@media (max-width: 62em) {
    
    html {
        font-size: 43.75%;
    }

}

@media (max-width: 49em) {

    .btn-mobile-nav {
        display: block;
        z-index: 9999;
    }

    .main-nav {
        background-color: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;

        display: flex;
        justify-content: center;
        align-items: center;

        transition: all .5s ease-in;

        opacity: 0;
        pointer-events: none;
        visibility: hidden;

        transform: translateX(100%)
    }

    .nav-open .main-nav {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: translateX(0%)
    }

    .nav-open .icon-mobile-nav[name="close-outline"] {
        display: block;
    }

    .nav-open .icon-mobile-nav[name="menu-outline"] {
        display: none;
    }

    .main-nav-list {
        flex-direction: column;
        gap: 4.8rem;
    }

    .main-nav-link:link, .main-nav-link:visited {
        font-size: 3rem;
    }

    .btn-mobile-nav {
        display: block;
    }

    .hero {
        display: flex;
        flex-direction: column;
    }

    .hero-text-box {
        max-width: 60rem;
        text-align: center;
    }

    .hero-img {
        margin-top: 4.8rem;
    }
    
   .hero, .grid--2-cols, .grid--3-cols, .grid--4-cols, .grid--5-cols {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr 1fr;
        justify-items: center;
    }

}

@media (max-width: 36em) {
    
   .hero, .grid--2-cols, .grid--3-cols, .grid--4-cols, .grid--5-cols {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        justify-items: center;
    }

}