@charset "utf-8";
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #b1d4e0;
    --secondary-color: #f3fadc;
    --text-color: #000000;
    --focus-color: #4b8fa3;
}

html {
    font-size: 16px;
}

html, body {
    height: 100%;
    width: 100%;
    background: #ffffff;
    font-family: "Faustina", serif;
}

h2 {
    font-family: "Alegreya Sans", sans-serif;
    font-size: 2rem;
    padding: 0.625rem 0;
    margin: 2rem 0 1rem;
    position: relative;
    color: var(--text-color);
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    left: 50%;
    transform: translateX(-50%);
}


@media screen and (max-width: 768px) {
    h2 {
        font-size: 1.75rem;
        padding: 0.5rem 0;
        margin: 1.5rem 0 0.75rem;
    }

    h2::after {
        width: 50px;
        height: 2.5px;
    }
}

@media screen and (max-width: 480px) {
    h2 {
        font-size: 1.5rem;
        padding: 0.4rem 0;
        margin: 1.25rem 0 0.5rem;
    }

    h2::after {
        width: 40px;
        height: 2px;
    }
}

/* Navbar Styles */
nav {
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(177, 212, 224, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4.375rem;
    font-family: "Alegreya", sans-serif;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    height: 3.75rem;
    background: rgba(177, 212, 224, 0.98);
}

nav ul {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav ul li {
    list-style-type: none;
    position: relative;
}

nav li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

nav li a:hover::after {
    width: 100%;
}

nav li a:hover {
    color: #000000;
}

nav li.active a {
    color: #000000;
    font-weight: 700;
}

nav li.active a::after {
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 6rem;
    width: auto;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
}

nav.scrolled .logo img {
    max-height: 3.5rem;
}

.menu-icon {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-icon i {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

/* Add margin to main content to account for fixed navbar */main {    margin-top: 3.5rem;}

@media screen and (max-width: 768px) {
    nav {
        padding: 0 1rem;
    }

    .menu-icon {
        display: block;
    }

    .menu-icon.active i {
        transform: rotate(90deg);
    }

    nav ul {
        display: none;
        position: fixed;
        top: 4.375rem;
        left: 0;
        right: 0;
        background: rgba(177, 212, 224, 0.98);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        transform: translateY(-100%);
    }

    nav ul.active {
        display: flex;
        transform: translateY(0);
    }

    nav.scrolled ul {
        top: 3.75rem;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav li a {
        display: block;
        padding: 1rem 0;
        font-size: 1.2rem;
    }

    nav li a::after {
        display: none;
    }

    nav li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .logo img {
        max-height: 3.5rem;
    }
}

@media screen and (max-width: 480px) {
    nav {
        height: 3.75rem;
    }

    .logo img {
        max-height: 3.25rem;
    }

    nav ul {
        top: 3.75rem;
    }

    nav li a {
        font-size: 1.1rem;
        padding: 0.875rem 0;
    }
}

#home {    width: 100%;    max-width: 1200px;    margin: 0 auto;    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.__home {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;  
    flex-direction: column;
    gap: 0.625rem;
}

#home .mainPic {
    flex: 1;
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    #home {
        padding: 1rem;
    }

    #home .mainPic {
        max-width: 100%;
        margin-top: 1rem;
    }

    .__home img {
        max-width: 200px;
    }
}

@media screen and (max-width: 480px) {
    .__home img {
        width: 200px;
        height: auto;
    }

    #home-thumbnails {
        gap: 0.5rem;
        padding: 0.375rem;
    }

    #home-thumbnails img {
        flex: 0 0 calc(50% - 0.25rem);
        max-width: calc(50% - 0.25rem);
        height: 100px;
        padding: 0.3rem;
    }

    #home-thumbnails::-webkit-scrollbar {
        height: 4px;
    }

    #home img[src*="mH.png"] {
        max-width: 150px;
        height: auto;
    }
}

main {
    padding: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

main p {
    background-color: var(--secondary-color);
    padding: 1.25rem;
    line-height: 1.6;
    color: #333333;
}

.quote-form {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 10px 10px;
  width: 100%;
  margin: 10px auto;
}

.quote-form iframe {
  width: 100%;
  min-height: 1000px;
  border: none;
  border-radius: 8px;
  background: transparent;
}

.horizontal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 0.625rem;
}

.gallery-item {
    border: 1px solid var(--secondary-color);
    border-radius: 0.5rem;
    padding: 0.5rem;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.25rem;
}

#home-thumbnails {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
    background: var(--secondary-color);
    border-radius: 0.5rem;
}

#home-thumbnails::-webkit-scrollbar {
    height: 8px;
}

#home-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

#home-thumbnails::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
}

#home-thumbnails img {
    flex: 0 0 calc(25% - 0.75rem); /* Show exactly 4 images */
    max-width: calc(25% - 0.75rem);
    height: 150px;
    object-fit: cover;
    border-radius: 0.25rem;
    border: 1px solid var(--secondary-color);
    padding: 0.625rem;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

#home-thumbnails img:hover {
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    #home-thumbnails {
        gap: 0.75rem;
        padding: 0.5rem;
    }

    #home-thumbnails img {
        flex: 0 0 calc(33.333% - 0.5rem); /* Show 3 images on tablets */
        max-width: calc(33.333% - 0.5rem);
        height: 120px;
        padding: 0.4rem;
    }
}

footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    text-align: center;
    padding: 1.25rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 0.625rem;
}

.footer-icon {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-icon:hover {
    transform: scale(1.2);
}

.footer-icon[href^="tel:"]:hover {
    color: #4CAF50;
}

.footer-icon[href*="wa.me"]:hover {
    color: #25D366;
}

.footer-icon[href*="facebook"]:hover {
    color: #1877f2;
}

.footer-icon[href*="instagram"]:hover {
    color: #e4405f;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 12px;
    }

    .horizontal-gallery {
        grid-template-columns: 1fr;
    }

    .footer-icons {
        gap: 0.625rem;
    }
}

#about {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

#about h2 {
    color: var(--text-color);
    margin: 2rem 0 1rem;
    position: relative;
    padding-bottom: 0.5rem;
    text-align: center;
}

#about h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

#about p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    background: none;
    padding: 0;
}

#about ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

#about ul li {
    padding: 1rem;
    background-color: var(--secondary-color);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#about ul li::before {
    content: '✓';
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

#about ul li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media screen and (max-width: 768px) {
    #about {
        padding: 1.5rem;
    }

    #about ul {
        grid-template-columns: 1fr;
    }
    .quote-form {
    padding: 8px;
    }
    .quote-form iframe {
    min-height: 1200px;
    width: 100%;
    }
}

@media screen and (max-width: 480px) {
    #about {
        padding: 1rem;
    }

    #about h2 {
        margin: 1.5rem 0 0.75rem;
    }

    #about ul li {
        padding: 0.75rem;
    }
}

/* Services Page Styles */
.services-section {
    padding-top: 4rem;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.service-card {
    background: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

.service-cta {
    text-align: center;
    padding: 3rem 0;
}

.cta-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
    color: var(--text-color);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #9ac2d1;
    color: var(--text-color);
}

.gallery-section {
    padding: 2rem 0;
}

.gallery-section h3 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Contact/Quote Page Styles */
.quote-container {
    width: 100%;
    margin: 0 auto;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
    justify-items: center;
}

.quote-info {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: left;
    height: fit-content;
    position: sticky;
    top: 5rem;
}

.quote-info h2, .quote-info h3 {
    margin-bottom: 1rem;
    padding-left: 0;
    text-align: center;
    font-size: 1.5rem;
}

.quote-info p {
    margin-bottom: 1.5rem;
    background: none;
    padding: 0;
}

.contact-info {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    transition: background-color 0.3s ease;
    border-radius: 0.5rem;
}

.contact-item:hover {
    background-color: rgba(177, 212, 224, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 1.5rem;
    text-align: center;
}

.contact-item p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--primary-color);
}
/*
.quote-form {
    background: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(177, 212, 224, 0.2);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-button:hover {
    background-color: #9ac2d1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
*/
/* Mobile Styles */
@media screen and (max-width: 768px) {
    .quote-container {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1.5rem;
        margin-top: 1rem;
    }

    .quote-info {
        padding: 1.5rem;
        position: static;
    }

    .quote-info h2, .quote-info h3 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }

    .contact-info {
        margin-top: 1.25rem;
        padding: 1rem;
        gap: 0.75rem;
    }

    .contact-item {
        padding: 0.75rem;
    }

    .contact-item i {
        font-size: 1.25rem;
        min-width: 1.25rem;
    }

    
}

@media screen and (max-width: 480px) {
    .quote-container {
        padding: 0.75rem;
        gap: 1rem;
        margin-top: 0.75rem;
    }

    .quote-info {
        padding: 1.25rem;
    }

    .quote-info h2, .quote-info h3 {
        font-size: 1.3rem;
    }

    .quote-info p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .contact-info {
        padding: 0.875rem;
        gap: 0.5rem;
    }

    .contact-item {
        padding: 0.625rem;
    }

    .contact-item i {
        font-size: 1.2rem;
    }

}

/* Fix for iOS input zoom */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Floating Quote Button */
.floating-quote-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.floating-quote-btn:hover {
    transform: translateY(-2px);
    background-color: #9ac2d1;
}

.floating-quote-btn i {
    font-size: 1.2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 2rem auto;
    max-width: 1000px;
    width: 90%;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1000;
}

.close-modal:hover {
    color: #000;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 2rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    max-width: 800px;
    width: 90%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
}

.lightbox-caption h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.lightbox-caption p {
    margin: 0;
    padding: 0;
    background: none;
    font-size: 1.1rem;
    line-height: 1.4;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav.prev {
    left: 2rem;
}

.lightbox-nav.next {
    right: 2rem;
}

/* Gallery Page Styles */
#gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-header h2 {
    margin-bottom: 1rem;
}

.gallery-header p {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
    background: none;
    padding: 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--text-color);
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-item .item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 1.5rem;
    color: #ffffff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item .item-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    color: #ffffff;
}

.gallery-item .item-overlay p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    background: none;
    opacity: 1;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    color: #ffffff;
}

.gallery-item:hover .item-overlay {
    transform: translateY(0);
}

/* Accessibility Styles */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--text-color);
    padding: 8px;
    z-index: 1001;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
*:focus {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
}

/* Ensure sufficient touch target size */
button,
a,
input[type="submit"],
input[type="button"],
.footer-icon {
    min-height: 44px;
    min-width: 44px;
}

/* Improve form field contrast */
input,
select,
textarea {
    border: 2px solid #4b4e4e;
    color: #000000;
}

/* Add focus styles for form elements */
input:focus,
select:focus,
textarea:focus {
    border-color: var(--focus-color);
    box-shadow: 0 0 0 2px rgba(75, 143, 163, 0.2);
}

/* Error states for form validation */
input:invalid,
select:invalid,
textarea:invalid {
    border-color: #dc3545;
}

/* Required field indication */
.form-group label[for*="required"]::after,
.form-group label[for*="Modal"]::after {
    content: "*";
    color: #dc3545;
    margin-left: 4px;
}

/* Improve text readability */
body {
    line-height: 1.6;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* Ensure sufficient color contrast for links */
a {
    color: #4b8fa3;
    text-decoration: underline;
}

a:hover,
a:focus {
    color: #2c5461;
    text-decoration: none;
}

/* Add motion preferences support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    * {
        border-color: currentColor;
    }
}

.view-more-btn {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.view-more-btn:hover {
    background-color: #9ac2d1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.hero-image {
    flex: 1;
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
}

#home-thumbnails {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
    background: var(--secondary-color);
    border-radius: 0.5rem;
}

#home-thumbnails img {
    flex: 0 0 calc(25% - 0.75rem);
    max-width: calc(25% - 0.75rem);
    height: 150px;
    object-fit: cover;
    border-radius: 0.25rem;
    border: 1px solid var(--secondary-color);
    padding: 0.625rem;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

@media screen and (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
        gap: 1.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-logo {
        max-width: 250px;
        margin-bottom: 0.5rem;
    }

    .hero-image {
        max-width: 100%;
        max-height: 400px;
        object-fit: contain;
    }

    #home-thumbnails {
        gap: 0.75rem;
        padding: 1rem;
    }

    #home-thumbnails img {
        flex: 0 0 calc(33.333% - 0.5rem);
        max-width: calc(33.333% - 0.5rem);
        height: 120px;
        padding: 0.4rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-logo {
        max-width: 200px;
    }

    .hero-image {
        max-height: 300px;
    }

    #home-thumbnails {
        gap: 0.5rem;
        padding: 0.75rem;
    }

    #home-thumbnails img {
        flex: 0 0 calc(50% - 0.25rem);
        max-width: calc(50% - 0.25rem);
        height: 100px;
        padding: 0.3rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-text {
        font-size: 1rem;
    }
}

.features-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    margin: 2rem 0;
    background-color: var(--secondary-color);
    border-radius: 0.5rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: #333333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: none;
}

@media screen and (max-width: 768px) {
    .features-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card i {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .features-section {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-card i {
        font-size: 1.75rem;
    }
}

.hero-section {    display: flex;    align-items: center;    justify-content: space-between;    gap: 2rem;    padding: 1rem 0;
}

.hero-content {
    flex: 1;
    max-width: 50%;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #333333;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.cta-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
    color: var(--text-color);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #9ac2d1;
    color: var(--text-color);
}

@media screen and (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
        gap: 1.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-text {
        font-size: 1rem;
    }

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

    .cta-button {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
}

.contact-section {
    padding: 6rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-section h2 {
    margin-bottom: 3rem;
    text-align: center;
}

.contact-section h2::after {
    left: 50%;
    transform: translateX(-50%);
}

@media screen and (max-width: 768px) {
    .contact-section {
        padding: 5rem 1.5rem 3rem;
    }
    
    .contact-section h2 {
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-section {
        padding: 4rem 1rem 2rem;
    }
    
    .contact-section h2 {
        margin-bottom: 1.5rem;
    }
}

