@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf')
        format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto/Roboto-Italic-VariableFont_wdth,wght.ttf')
        format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --color-white: #d7d5da;

    --color-black: #2e2e30;
    --color-yellow: #dbc119;
    --color-red: #d63a46;
}

* {
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: var(--color-white);
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

header {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 10px;
    text-align: center;
    display: flex;
    justify-content: center; /* center the header elements as a group */
    align-items: center;
    gap: 40px; /* space between left/center/right blocks */
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* create stacking context for full-width background */
    z-index: 0;
    animation: slideDown 0.5s ease-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

/* Make header background stretch full viewport width while keeping inner content centered */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--color-black);
    z-index: -1;
    border-radius: 0 0 30px 30px; /* match header rounded bottom */
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#nav-left,
#nav-center,
#nav-right {
    width: auto;
    flex: 0 0 auto;
    align-content: center;
}

#nav-left {
    text-align: center;
}

#nav-center {
    text-align: center;
}

#nav-right {
    text-align: center;
}

.logo-img {
    width: 100px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-img:hover {
    transform: rotate(5deg) scale(1.1);
    filter: brightness(1.2);
}

nav a {
    color: var(--color-white);
    margin: 0 15px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

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

nav a:hover {
    color: var(--color-yellow);
    text-decoration: none;
}

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

main {
    padding: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#welcome {
    text-align: center;
    padding: 40px 20px;
}

#welcome h2 {
    animation: bounce 2s ease-in-out infinite;
    color: var(--color-red);
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

#welcome p {
    font-size: 1.3em;
    color: var(--color-black);
    animation: fadeIn 1s ease-in 0.5s both;
}

#why-choose-us {
    text-align: center;
    padding: 50px 30px;
    margin: 40px auto;
    max-width: 900px;
    background: linear-gradient(135deg, var(--color-yellow) 0%, #f0d842 100%);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--color-black);
    position: relative;
    overflow: hidden;
    animation: slideInLeft 1s ease-out;
}

#why-choose-us::before {
    content: '🥋';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 120px;
    opacity: 0.15;
    transform: rotate(15deg);
}

#why-choose-us::after {
    content: '🥋';
    position: absolute;
    bottom: -20px;
    left: -20px;
    font-size: 120px;
    opacity: 0.15;
    transform: rotate(-15deg);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#why-choose-us h2 {
    color: var(--color-red);
    font-size: 2.3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: wiggle 2.5s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes wiggle {
    0%,
    100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-2deg) scale(1.02);
    }
    75% {
        transform: rotate(2deg) scale(1.02);
    }
}

#why-choose-us p {
    font-size: 1.2em;
    line-height: 1.8;
    color: var(--color-black);
    font-weight: 500;
    animation: fadeIn 1.2s ease-in 0.3s both;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

#gallery {
    padding: 40px 0;
}

#gallery h2 {
    text-align: center;
    font-size: 2.2em;
    color: var(--color-black);
    margin-bottom: 30px;
    animation: fadeIn 1s ease-in;
}

.gallery-container {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.gallery-img {
    width: 300px;
    height: auto;
    transition: all 0.4s ease;
    border-radius: 15px;
    object-fit: cover;
    filter: brightness(0.95);
}

.gallery-img:hover {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1);
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

form {
    /* Allow the form to fill its grid column (wider on desktop) */
    max-width: none;
    /* width: 100%; */
    margin: 0; /* remove centering so it aligns with grid cell */
    padding: 30px;
    background: linear-gradient(135deg, var(--color-white) 0%, #e8e6eb 100%);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.5s ease-out;
    border: 2px solid var(--color-yellow);
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

form h3 {
    text-align: center;
    color: var(--color-red);
    font-size: 2em;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    color: var(--color-black);
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

input,
textarea {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 12px 15px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    transition: all 0.3s ease;
    background-color: white;
    box-sizing: border-box;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-yellow);
    box-shadow: 0 0 0 3px rgba(219, 193, 25, 0.2);
    transform: translateY(-2px);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button {
    display: block;
    width: 100%;
    margin: 20px 0 10px 0;
    padding: 14px;
    background: linear-gradient(135deg, var(--color-red) 0%, #b8303a 100%);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #b8303a 0%, var(--color-red) 100%);
}

button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.gallery-track {
    display: flex;
    animation: scroll 20s linear infinite;
}

.gallery-container:hover .gallery-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.gallery-img {
    width: 300px;
    height: auto;
    flex-shrink: 0;
    margin: 0 10px;
    transition: transform 0.3s;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

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

footer {
    background-color: var(--color-black);
    color: var(--color-white);
    text-align: center;
    padding: 10px 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* stacking context for full-width background */
    z-index: 0;
}

/* Footer full-width background behind centered content */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--color-black);
    z-index: -1;
}

#cta {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, var(--color-red) 0%, #b8303a 100%);
    color: var(--color-yellow);
    border-radius: 12px;
    margin: 20px 0 40px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    animation: ctaPulse 3s ease-in-out infinite;
    border: 3px solid var(--color-yellow);
}

@keyframes ctaPulse {
    0%,
    100% {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 10px 35px rgba(219, 193, 25, 0.5),
            0 0 20px rgba(219, 193, 25, 0.3);
    }
}

#cta h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--color-white);
}

#cta p {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--color-yellow);
}

#cta button {
    background-color: var(--color-black);
    color: var(--color-yellow);
    padding: 15px 35px;
    border: 3px solid var(--color-yellow);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#cta button:hover {
    background-color: var(--color-yellow);
    color: var(--color-red);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

#cta button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Facebook CTA styles - section uses site yellow/red palette; button is Facebook-blue */
.facebook-cta {
    text-align: center;
    padding: 36px 20px;
    background: linear-gradient(
        135deg,
        var(--color-yellow) 0%,
        var(--color-red) 100%
    );
    color: white;
    border-radius: 12px;
    margin: 20px 0 40px 0;
    box-shadow: 0 10px 25px rgba(214, 58, 70, 0.15);
    border: 3px solid rgba(0, 0, 0, 0.06);
}

.facebook-cta h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--color-black);
}

.facebook-cta p {
    color: rgba(46, 46, 48, 0.95);
    margin-bottom: 18px;
    font-size: 16px;
}

.btn-facebook {
    display: inline-block;
    background: #1877f2; /* Facebook blue */
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-facebook i {
    margin-right: 10px;
}

.btn-facebook:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .facebook-cta {
        margin-bottom: 120px;
    }
}

#reviews {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--color-white);
}

#reviews h2 {
    font-size: 2.2em;
    color: var(--color-black);
    margin-bottom: 30px;
    animation: fadeIn 1s ease-in;
}

.reviews-container {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.review-card {
    background: linear-gradient(135deg, var(--color-yellow) 0%, #f0d842 100%);
    border: 3px solid var(--color-black);
    border-radius: 12px;
    padding: 25px;
    width: 30%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 0 10px;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 70%
    );
    transform: scale(0);
    transition: transform 0.6s ease;
}

.review-card:hover::before {
    transform: scale(1);
}

.review-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.review-card p:first-child {
    font-style: italic;
    color: var(--color-black);
    margin-bottom: 15px;
    line-height: 1.6;
}

.review-card p:last-child {
    font-weight: bold;
    color: var(--color-black);
    text-align: right;
    margin-top: 10px;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    #nav-left,
    #nav-center,
    #nav-right {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .gallery-track {
        flex-direction: column;
        animation: none;
    }

    .gallery-img {
        width: 100%;
        margin: 10px 0;
        border-radius: 25px;
    }

    /* Hide duplicate images on mobile (show only first 6) */
    .gallery-img:nth-child(n + 7) {
        display: none;
    }

    .reviews-container {
        flex-direction: column;
        align-items: center;
    }

    .review-card {
        width: 80%;
        margin: 10px 0;
    }

    #cta {
        padding: 20px;
        margin-bottom: 140px;
    }

    footer {
        flex-direction: column;
        padding: 10px 20px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        margin: 5px 0;
    }

    .map {
        height: 300px;
    }
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    animation: slideUp 0.6s ease-out;
    box-sizing: border-box;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.footer-left {
    margin-left: 20px;
}

.footer-left a {
    text-decoration: none;
    color: var(--color-white);
    transition: all 0.3s ease;
    position: relative;
}

.footer-left a:hover {
    color: var(--color-yellow);
    transform: translateX(5px);
}

.footer-center {
    margin: 0 auto;
}

.footer-right {
    margin-right: 20px;
}

.footer-right a {
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-right a:hover {
    color: var(--color-yellow);
    transform: scale(1.3) rotate(5deg);
}

/* Contact Page Styles */
.contact-hero {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(135deg, var(--color-red) 0%, #b8303a 100%);
    margin: -20px -20px 40px -20px;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.8s ease-out;
}

.contact-hero h2 {
    color: var(--color-white);
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    animation: bounce 2s ease-in-out infinite;
}

.contact-hero p {
    color: var(--color-yellow);
    font-size: 1.4em;
    font-weight: 500;
    animation: fadeIn 1s ease-in 0.3s both;
}

.contact-grid {
    display: grid;
    /* Keep the contact-info column a fixed comfortable width,
       let the form take the remaining space so it's wider */
    grid-template-columns: 380px 1fr;
    gap: 24px; /* reduce horizontal gap between columns */
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: linear-gradient(135deg, var(--color-white) 0%, #e8e6eb 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.phone-card:hover {
    border-color: var(--color-yellow);
}

.address-card:hover {
    border-color: var(--color-red);
}

.hours-card:hover {
    border-color: var(--color-black);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-red) 0%, #b8303a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(214, 58, 70, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(214, 58, 70, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 5px 25px rgba(214, 58, 70, 0.6);
    }
}

.icon-wrapper i {
    font-size: 2.2em;
    color: var(--color-white);
}

.info-card h3 {
    font-size: 1.5em;
    color: var(--color-black);
    margin-bottom: 12px;
    font-weight: bold;
}

.info-card p {
    font-size: 1.1em;
    color: var(--color-black);
    margin: 0;
    line-height: 1.6;
}

.info-card a {
    color: var(--color-red);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.info-card a:hover {
    color: var(--color-black);
    transform: scale(1.05);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--color-red);
    font-size: 1em;
}

.map-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--color-white) 0%, #e8e6eb 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--color-yellow);
    animation: fadeInUp 1.2s ease-out;
}

.map-section h2 {
    font-size: 2.2em;
    color: var(--color-red);
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

#contact-map-iframe {
    display: flex;
    justify-content: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

#contact-map-iframe:hover {
    transform: scale(1.02);
}

#contact-map-iframe iframe {
    border-radius: 15px;
    width: 100%;
    max-width: 900px;
    height: 450px;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero h2 {
        font-size: 2.2em;
    }

    .contact-hero p {
        font-size: 1.2em;
    }

    .map-section {
        margin-bottom: 120px;
    }
}

.map {
    margin: 20px auto;
    max-width: 800px;
    width: 100%;
    height: 400px;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 1;
    background-color: var(--color-white);
    padding: 0;
    border: 1px solid var(--color-black);
    transition: all 0.3s;
}

.map:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
    transition: all 0.3s;
}

/* About Page Styles */
.about-hero {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(135deg, var(--color-yellow) 0%, #f0d842 100%);
    margin: -20px -20px 40px -20px;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.8s ease-out;
    border-bottom: 4px solid var(--color-red);
}

.about-hero h2 {
    color: var(--color-red);
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: bounce 2s ease-in-out infinite;
}

.about-hero p {
    color: var(--color-black);
    font-size: 1.4em;
    font-weight: 600;
    animation: fadeIn 1s ease-in 0.3s both;
}

.about-content {
    animation: fadeInUp 1s ease-out;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.about-story,
.about-philosophy {
    background: linear-gradient(135deg, var(--color-white) 0%, #e8e6eb 100%);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--color-yellow);
    transition: all 0.4s ease;
}

.about-story:hover,
.about-philosophy:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.about-story h3,
.about-philosophy h3 {
    color: var(--color-red);
    font-size: 1.8em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-story h3 i,
.about-philosophy h3 i {
    font-size: 1.1em;
}

.about-photo {
    float: left;
    width: 280px;
    height: auto;
    margin: 0 25px 20px 0; /* float left: add right margin */
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 4px solid var(--color-yellow);
    transition: all 0.4s ease;
    display: block;
    object-fit: cover;
    /* Enable a nicer flow around the image where supported */
    -webkit-shape-outside: circle(50%);
    shape-outside: circle(50%);
}

.about-photo:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.about-story p,
.about-philosophy p {
    color: var(--color-black);
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* clearfix so floated image doesn't collapse container and paragraphs wrap */
.about-story::after {
    content: '';
    display: table;
    clear: both;
}

.philosophy-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.philosophy-list li {
    color: var(--color-black);
    font-size: 1.1em;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.philosophy-list li:hover {
    transform: translateX(10px);
}

.philosophy-list li i {
    color: var(--color-red);
    font-size: 1.2em;
}

.credentials-section {
    background: linear-gradient(135deg, var(--color-red) 0%, #b8303a 100%);
    padding: 50px 35px;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s ease-out;
}

.credentials-section h3 {
    color: var(--color-white);
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.credential-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.credential-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.credential-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-yellow) 0%, #f0d842 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(219, 193, 25, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.credential-icon i {
    font-size: 2.2em;
    color: var(--color-red);
}

.credential-card h4 {
    color: var(--color-red);
    font-size: 1.4em;
    margin-bottom: 12px;
}

.credential-card p {
    color: var(--color-black);
    font-size: 1em;
    line-height: 1.6;
}

.why-train-section {
    background: linear-gradient(135deg, var(--color-white) 0%, #e8e6eb 100%);
    padding: 50px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--color-yellow);
    margin-bottom: 50px;
}

.why-train-section h3 {
    color: var(--color-red);
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.benefit-item i {
    font-size: 3em;
    color: var(--color-red);
    margin-bottom: 15px;
    display: block;
}

.benefit-item h4 {
    color: var(--color-black);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.benefit-item p {
    color: var(--color-black);
    font-size: 1em;
    line-height: 1.6;
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .about-hero h2 {
        font-size: 2.2em;
    }

    .about-hero p {
        font-size: 1.2em;
    }

    .about-content {
        margin-bottom: 120px;
    }

    .about-photo {
        float: none;
        display: block;
        width: 100%;
        max-width: 350px;
        margin: 0 auto 20px auto;
    }
}
