/* --- Styles specific to o-nas.html --- */

/* Make about section behave like training/contact/map */
.about-content-section {
    padding: 0;
    background-color: transparent;
}

/* Base style for about cards (like training cards) */
.about-content-section .about-card {
    padding: 3rem 0;
    background-color: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 1px;
    border-radius: 0;
    box-shadow: none;
}

/* Radius/border overrides for stacked about cards */
.about-content-section .about-card:first-of-type {
    border-top: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.about-content-section .about-card:last-of-type {
    border-bottom: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-bottom: 0;
}

/* Case for only one card */
.about-content-section .about-card:first-of-type:last-of-type {
    border-radius: 8px;
}

/* Adjustments for headings inside about cards */
.about-content-section .about-card h2 {
    margin-top: 0;
    /* Assuming .center-header handles alignment and ::after */
}

/* Services Grid */
.about-content-section .services-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    /* Mobile default */
    margin-top: 1.5rem;
}

.about-content-section .service-item {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #eee;
}

.about-content-section .service-item h3 {
    font-size: 1.15em;
    color: #002855;
    margin-bottom: 0.8rem;
    margin-top: 0;
}

.about-content-section .service-item ul {
    padding-left: 0;
    list-style: none;
}

.about-content-section .service-item li {
    margin-bottom: 0.5rem;
    font-size: 0.95em;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.about-content-section .service-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0056b3;
    font-weight: bold;
    top: 1px;
}

.about-content-section .service-item li a {
    color: #0056b3;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.about-content-section .service-item li a:hover,
.about-content-section .service-item li a:focus {
    color: #003d82;
    text-decoration-thickness: 2px;
}

/* Why Us Card */
.about-content-section .about-card.why-us-card {
    background-color: #f0f8ff;
    border-left: 5px solid #0056b3;
    padding: 2rem 1.5rem;
    /* Adjust internal padding if needed */
}

.about-content-section .about-card.why-us-card .benefits-list {
    padding-left: 0;
    list-style: none;
    column-count: 1;
    /* Mobile default */
    margin-top: 1.5rem;
}

.about-content-section .about-card.why-us-card .benefits-list li {
    margin-bottom: 0.7rem;
    font-size: 1em;
    position: relative;
    padding-left: 25px;
    break-inside: avoid;
}

.about-content-section .about-card.why-us-card .benefits-list li::before {
    content: '⭐';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9em;
}

.about-content-section .about-card.why-us-card .benefits-list strong {
    color: #002855;
}

/* Instructors Section */
.about-content-section .instructors-section-card h2 {
    margin-bottom: 2rem;
}

.about-content-section .instructors-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    /* Mobile default */
}

.about-content-section .instructor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.2s ease;
}

.about-content-section .instructor-card:hover {
    box-shadow: 0 4px 8px rgba(0, 40, 85, 0.1);
}

.about-content-section .instructor-photo {
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.about-content-section .instructor-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    background-color: #ccc;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-content-section .instructor-info h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.2em;
    color: #0056b3;
}

.about-content-section .instructor-info p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 0;
}

/* Complex Footer Styles (from student.php) */
.main-footer {
    background-color: #1a202c;
    /* bg-gray-900 */
    color: #a0aec0;
    /* text-gray-400 - default */
    padding: 3rem 0 1.5rem 0;
    /* py-12 pb-6 */
    margin-top: auto;
    /* Push to bottom */
    font-size: 0.95em;
}

/* Container rules assumed from main style.css */
/* .main-footer .container { ... } */

.main-footer a {
    color: #a0aec0;
    transition: color 0.3s ease;
    text-decoration: none;
}

.main-footer a:hover {
    color: #fff;
    /* hover:text-white */
    text-decoration: underline;
}

.footer-grid {
    /* --- NO display:grid here (default stacking for mobile) --- */
    gap: 2rem;
    /* gap-8 - spacing between items */
    margin-bottom: 2rem;
    /* mb-8 */
    text-align: left;
    /* Default alignment */
}

.footer-col {
    margin-bottom: 1.5rem;
    /* Spacing when stacked on mobile */
}

.footer-col-logo .footer-logo {
    display: inline-block;
    max-width: 160px;
    margin-bottom: 1rem;
    /* mb-4 */
    height: auto;
}

.footer-col-logo p {
    color: #a0aec0;
    /* text-gray-400 */
    margin-bottom: 0;
}

.main-footer .footer-col h4 {
    font-size: 1.125rem;
    /* text-lg */
    font-weight: 700;
    /* font-bold */
    margin-bottom: 1rem;
    /* mb-4 */
    color: #fff;
    /* text-white */
}

.main-footer .footer-col ul.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-footer .footer-col ul.footer-links li {
    margin-bottom: 0.5rem;
    /* space-y-2 */
}

.main-footer .footer-col address {
    font-style: normal;
    color: #a0aec0;
    /* text-gray-400 */
    line-height: 1.6;
}

.main-footer .footer-col address p {
    margin-bottom: 0.5rem;
    /* space-y-2 */
    color: inherit;
    display: flex;
    align-items: center;
    /* Align icon with text */
}

.main-footer .footer-col address i {
    margin-right: 0.5rem;
    /* mr-2 */
    width: 1em;
    /* Adjust as needed */
    text-align: center;
    color: #718096;
    /* text-gray-500 */
    \n flex-shrink: 0;
}

.main-footer .social-media-icons {
    display: flex;
    gap: 1rem;
    /* space-x-4 */
    margin-top: 1rem;
    /* mt-4 */
}

.main-footer .social-media-icons a {
    color: #a0aec0;
    /* text-gray-400 */
    font-size: 1.25rem;
    /* text-xl */
}

.main-footer .social-media-icons a:hover {
    color: #fff;
    /* hover:text-white */
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    /* border-t border-gray-800 */
    margin-top: 2rem;
    /* mt-8 */
    \n padding-top: 2rem;
    /* pt-8 */
    text-align: center;
    color: #718096;
    /* text-gray-500 */
    font-size: 0.875rem;
    /* text-sm */
}


/* --- Responsive Adjustments specific to o-nas.html --- */

/* Tablet Breakpoint */
@media (min-width: 768px) {
    .about-content-section .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content-section .about-card.why-us-card .benefits-list {
        column-count: 2;
    }

    .about-content-section .instructors-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-content-section .instructor-card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .about-content-section .instructor-photo {
        margin-right: 1.5rem;
        margin-bottom: 0;
    }

    /* Complex Footer Grid Layout */
    .footer-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        text-align: left;
    }

    .footer-col {
        margin-bottom: 0;
    }

    .main-footer .social-media-icons {
        justify-content: flex-start;
    }
}

/* Small Desktop Breakpoint */
@media (min-width: 992px) {
    .about-content-section .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Footer grid often remains the same as tablet */
}

/* Large Desktop Breakpoint */
@media (min-width: 1200px) {

    /* Footer grid often remains the same */
    .main-footer .container {
        max-width: 1200px;
        /* Optional: Constrain footer width */
    }
}

/* Mobile Breakpoint */
@media (max-width: 767px) {

    /* Styles for stacking/centering the footer columns */
    .footer-grid {
        /* No grid display - defaults to stacking */
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .main-footer .footer-col h4 {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 10px;
        display: inline-block;
    }

    .main-footer .footer-col address {
        text-align: center;
    }

    .main-footer .footer-col address p {
        justify-content: center;
    }

    .main-footer .social-media-icons {
        justify-content: center;
    }

    /* Ensure grids stack correctly */
    .about-content-section .services-grid,
    .about-content-section .instructors-grid {
        grid-template-columns: 1fr;
    }

    .about-content-section .about-card.why-us-card .benefits-list {
        column-count: 1;
    }

    .about-content-section .instructor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-content-section .instructor-photo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Small Mobile Breakpoint */
@media (max-width: 480px) {
    .about-content-section .instructor-photo img {
        width: 100px;
        height: 100px;
    }

    .about-content-section .service-item {
        padding: 1.2rem;
    }

    .main-footer {
        font-size: 0.9rem;
    }
}

/* Utilities possibly needed for footer alignment/icons */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.inline-block {
    display: inline-block;
}

.mb-4 {
    margin-bottom: 1rem;
}