.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo-img {
    height: 42px; /* Adjust as needed */
    width: auto;
    margin-right: 12px;
    display: block;
}

.navbar-site-name {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 1;
}

@media (max-width: 700px) {
    .navbar-logo-img {
        height: 42px;
        margin-right: 8px;
    }
    .navbar-site-name {
        font-size: 1.6rem;
    }
}



/* ===== Base Styles ===== */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

/* Dojo Section - Perfect Horizontal Line */
.dojo-section {
    background-color: rgb(225, 225, 225);
    /* width: 100vw; */
     /* Full viewport width */
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    overflow-x: auto; /* Allows scrolling if needed */
    white-space: nowrap; /* Prevents wrapping */
    scrollbar-width: none; /* Hide scrollbar */
}

.dojo-section::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
}

.dojo-container {
    display: inline-block; /* Makes container fit content */
    white-space: nowrap;
    padding: 0 20px;
}

.dojo-item {
    display: inline-block; /* Ensures straight line */
    padding: 8px 20px;
    margin-right: 5px;
    font-weight: bold;
    color: #2c3e50;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-right: 1px solid #ddd;
    transition: all 0.2s ease;
    background-color: rgba(255,255,255,0.7);
    border-radius: 3px;
}

.dojo-item:last-child {
    border-right: none;
    margin-right: 0;
}

/* Responsive font sizing */
@media (max-width: 768px) {
    .dojo-item {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .dojo-item {
        padding: 5px 12px;
        font-size: 0.7rem;
    }
}

/* Header Section - Made more compact */
header {
    background-color: #333;
    color: white;
    padding: 1rem; /* Reduced from 2rem */
    text-align: center;
    height: 120px; /* Reduced from 200px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

header h1 {
    margin: 0;
    font-size: 1.8rem; /* Reduced from 2.5rem */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Main Content - Made more compact */
main {
    max-width: 800px;
    margin: -20px auto 20px; /* Reduced overlap */
    padding: 20px; /* Reduced from 30px */
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
    /* align-items: center; */
}

/* ===== Image Section ===== */
.content-image {
    max-width: 1200px;
    margin: 0 auto 40px;
    text-align: center;
    padding: 0 20px;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* Content Image - Ensure first image is visible */
.content-image:first-of-type {
    margin-top: 0;
}

/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-item {
        padding: 8px 0;
        width: 100%;
        text-align: center;
    }
    
    header {
        height: 100px; /* Reduced from 150px */
        padding: 0.8rem; /* Reduced from 1.5rem */
    }
    
    header h1 {
        font-size: 1.5rem; /* Reduced from 2rem */
    }
    
    main {
        margin: -15px 15px 20px; /* Reduced overlap */
        padding: 15px; /* Reduced from 20px */
    }
    
    .content-image {
        margin: 0 15px 30px;
        padding: 0;
    }
}

/* Events Section */
.events-section {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 20px;
    text-align: center;
}

.events-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.events-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto; /* Natural height based on images */
}

.events-track {
    display: flex;
    position: relative;
    transition: transform 0.5s ease;
    width: 100%;
}

.event-image-container {
    min-width: 100%;
    flex-shrink: 0;
}

.event-image {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    max-height: 500px; /* Optional: prevent extremely tall images */
    object-fit: contain; /* Ensure full image is visible */
}

.carousel-nav {
    margin-top: 15px;
}

.carousel-nav button {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 8px 15px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-nav button:hover {
    background-color: #e74c3c;
}



/* Center images only in mobile view */
@media (max-width: 768px) {
    .events-track {
        justify-content: center;
        align-items: center;
    }
    
    .event-image-container {
        display: flex;
        justify-content: center;
    }
    
    .event-image {
        max-width: 90vw; /* Slightly smaller than viewport */
        height: auto;
        margin: 0 auto; /* Center horizontally */
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .event-image {
        max-width: 85vw;
    }
}

/* Admin Controls */
.upload-section {
    margin-top: 30px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.upload-section h3 {
    margin-top: 0;
    color: #2c3e50;
}

.upload-section form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.upload-section input[type="text"],
.upload-section input[type="file"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.delete-form {
    position: absolute;
    top: 10px;
    right: 10px;
}

.delete-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.delete-btn:hover {
    background-color: #c0392b;
}

/* About Section */
.about-section {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* Responsive layout */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-image {
        order: 2; /* Moves image after text */
    }
    
    .about-content {
        order: 1;
    }
}

/* Master Section - Similar to about but with different styling */
.master-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    display: flex;
    align-items: flex-start; /* Align items to top */
    gap: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.master-details {
    flex: 2; /* Takes more space than image */
}

.master-image {
    flex: 1;
    text-align: center;
}

.master-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    border: 3px solid #2c3e50;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.master-name {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 5px;
    display: inline-block;
}

.master-title {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

/* Responsive layout */
@media (max-width: 768px) {
    .master-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .master-image {
        order: 2;
        margin-top: 20px;
    }
    
    .master-details {
        order: 1;
    }
    
    .master-image img {
        max-width: 100%;
    }
}

/* Footer Styles */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    color: #e74c3c;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #e74c3c;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #e74c3c;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #e74c3c;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
    
    .footer-column:last-child {
        margin-bottom: 0;
    }
}

/* Google Map Section */
.map-section {
    /* width: 100%; */
    padding: 40px 20px;
    background-color: #f8f9fa;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.map-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

/* Responsive Map */
@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
    
    .map-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .map-container iframe {
        height: 250px;
    }
}

/* Teachers Section */
.teachers-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.teachers-title {
    text-align: center;
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
}

.teachers-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #e74c3c;
    margin: 15px auto 0;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.teacher-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-5px);
}

.teacher-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.teacher-info {
    padding: 20px;
    text-align: center;
}

.teacher-name {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.teacher-rank {
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.teacher-bio {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .teachers-grid {
        grid-template-columns: 1fr;
    }
    
    .teacher-image {
        height: 200px;
    }
}

/* Dojos Section */
.dojos-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.dojos-title {
    text-align: center;
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
}

.dojos-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #e74c3c;
    margin: 15px auto 0;
}

.dojos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.dojo-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.dojo-card:hover {
    transform: translateY(-5px);
}

.dojo-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.dojo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    padding-top: 40px; /* Extra space for gradient */
}

.dojo-name {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: white;
}

.dojo-location {
    font-size: 1rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.dojo-location i {
    margin-right: 8px;
    color: #e74c3c;
}

.dojo-hours {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .dojos-grid {
        grid-template-columns: 1fr;
    }
    
    .dojo-image {
        height: 250px;
    }
}

/* Black Belt Section */
.blackbelt-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.blackbelt-title {
    text-align: center;
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
}

.blackbelt-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #e74c3c;
    margin: 15px auto 0;
}

.blackbelt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.blackbelt-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.blackbelt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.blackbelt-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 3px solid #e74c3c;
}

.blackbelt-info {
    padding: 15px;
}

.blackbelt-name {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.blackbelt-rank {
    color: #e74c3c;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
}

.blackbelt-achievement {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .blackbelt-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .blackbelt-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .blackbelt-grid {
        grid-template-columns: 1fr;
    }
    
    .blackbelt-image {
        height: 220px;
    }
}

/* Gallery Section Styles */
.gallery-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.gallery-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.gallery-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #d82a1b;
    bottom: -10px;
    left: 25%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 1 / 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: white;
    font-size: 1.1rem;
    text-align: left;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-button-container {
    margin-top: 40px;
}

.see-more-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #d82a1b;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #d82a1b;
}

.see-more-button:hover {
    background-color: transparent;
    color: #d82a1b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* Navbar Styles */
.navbar {
    background-color: #222;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.navbar-logo a {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
}

.navbar-logo a:hover {
    color: #d82a1b;
    transition: color 0.3s ease;
}

.navbar-menu {
    display: flex;
    transition: all 0.3s ease;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #d82a1b;
}

.nav-link.active {
    color: #d82a1b;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #d82a1b;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Button */
.navbar-toggler {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    outline: none;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar-toggler {
        display: block;
    }
    
    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #222;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .navbar-menu.active {
        max-height: 500px; /* Adjust based on your content */
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
    }
    
    .nav-link::after {
        display: none;
    }
}


.navbar-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1.5rem;
}

.social-icon {
    color: #fff;
    font-size: 1.3rem;
    transition: color 0.2s, transform 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.social-icon:hover {
    color: #f39c12;
    transform: scale(1.15);
}

/* Responsive: hide icons or stack if needed */
@media (max-width: 700px) {
    .navbar-social {
        gap: 0.7rem;
        margin-left: 0.5rem;
    }
    .social-icon {
        font-size: 1.1rem;
    }
}

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


/* About Page Specific Styles */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.section-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* History Section */
.history-section {
    padding: 60px 0;
}

.history-content {
    margin-bottom: 40px;
}

.history-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.history-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.timeline {
    margin-top: 40px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #d10000;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    background: #d10000;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.timeline-content {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    margin-top: 0;
    color: #d10000;
}

/* Philosophy Section */
.philosophy-section {
    background: #f5f5f5;
    padding: 60px 0;
    text-align: center;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.philosophy-card {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-5px);
}

.philosophy-card i {
    font-size: 2.5rem;
    color: #d10000;
    margin-bottom: 20px;
}

.philosophy-card h3 {
    margin: 15px 0;
    color: #333;
}

/* Lineage Section */
.lineage-section {
    padding: 60px 0;
    text-align: center;
}

.lineage-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.lineage-item {
    text-align: center;
    margin-bottom: 20px;
}

.lineage-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid #d10000;
}

.lineage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lineage-info h3 {
    margin: 10px 0 5px;
    color: #333;
}

.lineage-info p {
    margin: 5px 0;
    color: #666;
}

.lineage-arrow {
    font-size: 1.5rem;
    color: #d10000;
    margin: 10px 0;
}

/* Testimonials Section */
.testimonials-section {
    background: #f5f5f5;
    padding: 60px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h4 {
    margin: 0 0 5px;
    color: #333;
}

.testimonial-author p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .history-section .section-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }
    
    .history-content {
        margin-bottom: 0;
    }
    
    .lineage-chart {
        flex-direction: row;
        justify-content: center;
    }
    
    .lineage-arrow {
        margin: 0 20px;
        align-self: center;
    }
}

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(120deg, #f39c12 0%, #f7d774 100%);
    padding: 3rem 0 2rem 0;
    text-align: center;
    color: #fff;
}
.contact-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}
.contact-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: #fffbe6;
}

/* Main Contact Section */
.contact-main-section {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    max-width: 1100px;
    margin: 2.5rem auto 2rem auto;
    padding: 2.5rem 2rem;
}
.contact-main-container {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
}
.contact-details, .contact-form-box {
    flex: 1 1 320px;
    min-width: 300px;
}
.contact-details h2 {
    font-size: 1.2rem;
    color: #f39c12;
    margin: 1.2rem 0 0.2rem 0;
}
.contact-details p, .contact-details a {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 0.7rem;
    text-decoration: none;
}
.contact-details a:hover {
    color: #f39c12;
    text-decoration: underline;
}
.contact-details i {
    margin-right: 0.5rem;
    color: #f39c12;
}
.contact-form-box {
    background: #f9f5ef;
    border-radius: 12px;
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    box-shadow: 0 2px 10px rgba(243,156,18,0.06);
}
.contact-form-box h2 {
    color: #f39c12;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.contact-form .form-group {
    margin-bottom: 1.1rem;
    width: 90%;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #e3b96a;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    color: #222;
    transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border: 1.5px solid #f39c12;
    outline: none;
}
.contact-form textarea {
    min-height: 110px;
    resize: vertical;
}
.submit-btn {
    background: #f39c12;
    color: #fff;
    border: none;
    padding: 0.7rem 2.2rem;
    border-radius: 22px;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(243,156,18,0.10);
    transition: background 0.18s, color 0.18s;
}
.submit-btn:hover {
    background: #222;
    color: #f39c12;
}

/* Map Section */
.contact-map-section {
    max-width: 1100px;
    margin: 2rem auto 2.5rem auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    padding: 2rem 2rem 2.5rem 2rem;
    text-align: center;
}
.contact-map-section h2 {
    color: #f39c12;
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
}
.map-container {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(243,156,18,0.09);
    margin: 0 auto;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .contact-main-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    .contact-main-section,
    .contact-map-section {
        padding: 1.2rem 0.3rem;
    }
}
@media (max-width: 600px) {
    .contact-hero-content h1 {
        font-size: 1.4rem;
    }
    .contact-main-section,
    .contact-map-section {
        padding: 0.7rem 0.1rem;
    }
    .map-container {
        height: 200px;
    }
}



--------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/* gallery  */

/* body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
}

.navbar {
    background: #222;
    padding: 0.5rem 0;
} */

/* .navbar-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
} */

/* .navbar-logo a {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
} */

/* .navbar-menu .navbar-nav {
    list-style: none;
    display: flex;
    gap: 1.5rem;
} */
/* 
.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s;
} */

/* .nav-link.active,
.nav-link:hover {
    background: #f39c12;
    color: #222;
} */

.masonry-gallery-section {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.gallery-title {
    text-align: center;
    font-size: 2.2rem;
    color: #f39c12;
    margin-bottom: 2rem;
    font-weight: 700;
}

.masonry-gallery {
    column-count: 3;
    column-gap: 1.5rem;
    padding: 0 1rem;
}

.masonry-gallery img {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}

.masonry-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Lightbox Modal Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    text-align: center;
}

.lightbox-content {
    margin-top: 4%;
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-caption {
    color: #fff;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Responsive Masonry */
@media (max-width: 900px) {
    .masonry-gallery { column-count: 2; }
}
@media (max-width: 600px) {
    .masonry-gallery { column-count: 1; }
    .gallery-title { font-size: 1.5rem; }
    .navbar-logo a { font-size: 1.3rem; }
}



----------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------


/* ================================
   Dojos / Classes Section Styles
   ================================ */
.dojos-section {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.dojos-title {
    text-align: center;
    font-size: 2.2rem;
    color: #f39c12;
    margin-bottom: 2rem;
    font-weight: 700;
}

.dojo-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.dojo-card {
    background: #fafafa;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dojo-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0,0,0,0.13);
}

.dojo-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 0.5rem;
}

.dojo-address {
    color: #555;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.location-link {
    display: inline-block;
    background: #f39c12;
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.location-link:hover {
    background: #222;
    color: #f39c12;
}

/* Responsive for Dojos Section */
@media (max-width: 700px) {
    .dojos-title {
        font-size: 1.5rem;
    }
    .dojo-list {
        gap: 1rem;
    }
    .dojo-card {
        padding: 1rem;
    }
}

.dojo-image1 {
    width: 100%;
    max-width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.10);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

-----------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------



.dojo-navbar {
    width: 100%;
    background: #f9f5ef;
    border-bottom: 1px solid #f3e2c2;
    padding: 0.3rem 0;
    box-shadow: 0 1px 4px rgba(243,156,18,0.06);
    position: sticky;
    top: 56px; /* Adjust if your main navbar is taller */
    z-index: 999;
    overflow-x: auto;
}

.dojo-navbar-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.dojo-navbar-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.dojo-navbar-list li {
    position: relative;
    display: flex;
    align-items: center;
}

.dojo-navbar-list li:not(:first-child)::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 18px;
    background: #272727;
    margin: 0 1.2rem;
    vertical-align: middle;
}

.dojo-navbar-link {
    color: #121212c7;
    font-weight: 600;
    font-size: 1.02rem;
    text-decoration: none;
    padding: 0.2rem 0.8rem;
    border-radius: 16px;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}

.dojo-navbar-link:hover,
.dojo-navbar-link.active {
    background: #222222c3;
    color: #fff;
}

@media (max-width: 900px) {
    .dojo-navbar {
        display: none;
    }
}

