/* General body styling */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100%;
    color: #333;
    background: url('wave.png') no-repeat center top; /* Set the wave image as the background */
    background-size: cover; /* Make the image cover the entire section */
    overflow-x: auto; /* Allow horizontal scrolling for full-width content */
        
}



@media (max-width: 768px) {
    body {
        background-size: cover;
    }
}

/* Navigation bar styling */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    height: 70px;
    width: 100vw;
    background-image: linear-gradient(to right, #0403F1, #C57917);
    display: flex;
    justify-content: center; /* Centers the entire navbar */
    
    align-items: center;
}

/*@media (max-width: 768px) {
    nav .navbar a {
        margin: 5px 0;
        padding: 10px 15px;
        font-size: 0.9em;
    }
}*/



/* White strips above and below the navigation bar */
nav::before,
nav::after {
    content: '';
    position: absolute;
    width: 100vw;
    height: 3px;
    background-color: white;
    z-index: -1; /* Place behind other elements */
}

nav::before {
    top: 0px;
}

nav::after {
    bottom: 0px;
    
}



/* Navigation links container */

/* Styling for the navbar logo container */
.nav-logo-container {
    position: absolute;
    left: 20px; /* Aligns to the far left */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
}

@media (max-width: 768px) {
    
}

/* White square box around the logo */
.nav-logo-box {
    background-color: #fff; /* White background */
    padding: 10px; /* Adds spacing inside the container */
    border-radius: 5px; /* Optional: rounded corners */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Logo styling */
.nav-logo {
    height: 50px; /* Adjust size as needed */
    width: auto;
}

/* Hidden state */
.nav-logo-container.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Visible state */
.nav-logo-container.visible {
    opacity: 1;
    visibility: visible;
}


nav .navbar {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between the links */
    padding: 0 20px; /* Adjusted side padding */
}

/*@media (max-width: 768px) {
    nav .navbar a {
        margin: 5px 0;
        padding: 10px 15px;
        font-size: 0.7em;
    }
}*/

/* Centered Logo Styling with Reduced Section Height */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px 0; /* Reduced padding for a smaller white section */
    background-color: #fff; /* White background for the section */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for separation from the navbar */
}

/* Phone Icon Styling */
.phone-icon {
    position: absolute;
    left: 20px; /* Position the phone icon in the top left corner */
    top: 50%;
    transform: translateY(-50%); /* Center vertically within the section */
    font-size: 1.5em;
    color: #000; /* Black color for the phone icon */
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-icon:hover {
    color: green; /* Electric blue on hover */
}


/* Logo Styling */
.logo {
    height: 60px; /* Adjusted size for a smaller section */
    width: auto; /* Maintain aspect ratio */
    
}

@media (max-width: 768px) {
    .nav-logo,
    .logo {
        height: 30px;
    }
    .phone-icon,
    .social-icon {
        font-size: 1.2em;
    }
}

/* Social Media Icon Styling */
.logo-container .social-icon {
    position: absolute;
    right: 2vw; /* Position the icon in the top right corner */
    top: 50%;
    transform: translateY(-50%); /* Center vertically within the section */
    font-size: 1.5em;
    color: #000; /* Black color for the icon */
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo-container .social-icon:hover {
    color: #0403F1; /* Change to electric blue on hover */
}

/* Navigation links */
nav .navbar a {
    color: #FEFEFE;
    text-decoration: none;
    font-size: 1.0em;
    font-weight: bold;
    margin: 0 15px; /* Adjust margin for spacing between links */
    padding: 15px 25px;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Navigation links hover effect */
nav .navbar a:hover {
    background-color: #0403F1;
    color: #FEFEFE;
    transform: scale(1.03);
}

/* Social Media Icon Styling */
nav .navbar .social-icon {
    font-size: 1.5em;
    color: #000; /* Black color for icon */
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Hamburger Menu for Mobile */
.hamburger {
    display: none;
    font-size: 1.5em;
    color: rgb(0, 0, 0);
    cursor: pointer;
}

@media (max-width: 768px) {
    nav {
        position: relative; /* Ensure the navbar retains a proper stacking context */
        height: auto; /* Flexible height for stacked layout */
        justify-content: flex-start; /* Align items to the left */
        flex-direction: column; /* Stack items vertically */
    }

    nav::before,
    nav::after {
        /* Reaffirm white strips for smaller screens */
        position: absolute;
        content: '';
        width: 100%;
        height: 3px;
        background-color: white;
    }

    nav::after {
        bottom: -3px; /* Ensure line appears below the nav container */
    }

    nav .navbar {
        display: none; /* Hidden by default */
        flex-direction: column; /* Stack links vertically for responsive layout */
        width: 100vw;
        padding: 10px 0;
    }

    nav .navbar.open {
        display: flex; /* Show links when toggled */
    }

    nav .navbar a {
        margin: 5px 0; /* Add space between stacked links */
        padding: 8px 12px; /* Adjust padding */
        font-size: 1em;
    }

    .hamburger {
        display: block; /* Show hamburger menu on mobile */
        font-size: 1.5em;
        color: white;
        cursor: pointer;
        position: absolute;
        left: 20px;
        top: 15px;
    }
}

/* navbar adjustments when hamburger menu clicked*/



/* Parallax image at top of page */
.parallax {
    overflow: hidden;
    opacity: 0.8;
    min-height: 80vh;
    width: 100vw;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: whitesmoke;
}
.parallax-content {
    font-size: 2vw;
    text-align: center; 
    text-transform: uppercase;
    
}

@media (max-width: 768px) {
    .parallax {
        min-height: 50vh; /* Reduce height for smaller screens */
        background-attachment: scroll; /* Improve performance on mobile */
    }
    .parallax-content {
        font-size: 1.5em;
        padding: 10px; /* Add padding for better readability */
    }
}

/* Swiper Styles */
.swiper-container {
    width: 100vw; 
    height: 600px; /* Maintain the original height */
       
    position: relative;
    overflow: hidden;
    margin: 0 auto; /* Center the slideshow horizontally */
    /* Maintain overlap effect, if necessary */
    /*border-radius: 20px;  Add rounded corners */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for a soft, clean look */
}

@media (max-width: 768px) {
    .swiper-container {
        height: 300px; /* Reduce height for mobile */
    }
}

/* Adjusting Slides to Match Rounded Edges */
.swiper-slide {
    background-size: cover;
    background-position: center;
    height: 100%; /* Maintain full height of the container */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
   /* border-radius: inherit; Inherit rounded corners from the container */
}




.slide-content {
    color: #FEFEFE; /* White text for contrast */
    text-align: center;
}

.slide-title {
    font-size: 2.5em;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.slide-button {
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #0403F1; /* Electric blue button */
    color: white;
    border: none;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-button:hover {
    background-color: #68474E; /* Muted mauve hover effect */
}

/* Info Cards Section */
#info-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px;
    padding-bottom: 30px;
    margin: 0 auto;
    gap: 20px;
}

.card {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 50vw;
    perspective: 1000px;
    cursor: pointer;
}

.card-content {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.card-content.is-flipped {
    transform: rotateY(180deg);
}

/* Tooltip styling */
.tooltip {
    position: absolute;
    top: 0vw; /* Move tooltip higher to accommodate multi-line text */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.9em;
    white-space: normal; /* Allow text to wrap */
    max-width: 200px; /* Limit width to avoid excessive stretching */
    opacity: 0;
    pointer-events: none; /* Prevent interaction blocking */
    transition: opacity 0.3s ease-in-out;
    z-index: 10;
}

.card.show-tooltip .tooltip {
    opacity: 1; /* Make the tooltip visible */
}
/*.card:hover .card-content {
    transform: rotateY(180deg); 
}*/

/* Front and Back Styles */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
    padding: 5px;
    border-radius: 10px;
}

.card-back {
    transform: rotateY(180deg);
    font-size: 1.2em;
    line-height: 1.4em;
}

/* Card Colors */
.blue-card .card-front {
    background-color: #0403F1;
}

.green-card .card-front {
    background-color: #4CAF50;
}

.yellow-card .card-front {
    background-color: #FFEB3B;
    color: #333; /* Darker text for better contrast */
}

.blue-card .card-back, 
.green-card .card-back, 
.yellow-card .card-back {
    background-color: #f9f9f9; /* Light color for the back of the card */
    color: #333;
    box-shadow: inset 0px 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

/* Responsive Styling for Smaller Screens */
@media (max-width: 768px) {
    #info-cards {
        flex-direction: column; /* Stack cards vertically */
        align-items: center; /* Center align stacked cards */
        padding-bottom: 15vw;
        margin-right: 10vw;
    }

    .card {
        width: 250px; /* Retain the same size as on larger screens */
        max-width: none; /* Allow full width if necessary */
        margin: 30px 0px; /* Add vertical spacing between cards */
    }

    .card-content {
        padding: 15px; /* Adjust padding slightly for smaller screens */
    }

    .card-front, .card-back {
        font-size: 1.2em; /* Reduce font size slightly for readability */
        padding: 10px; /* Ensure padding is consistent */
    }

    .tooltip {
        font-size: 0.6em;
    }
}

/* Subtle 3D Pop-Out Effect */
.card-content {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover .card-content {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.03);
}

.is-flipped {
    transform: rotateY(180deg);
}

/* Home Section Styling */
#home {
    text-align: center;
    padding: 80px 20px;
    
    color: #333; /* Dark text for good readability */
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.home-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6; /* Better spacing for readability */
}

.home-title {
    font-size: 3em; /* Large, bold title */
    font-weight: 900; /* Extra bold for emphasis */
    margin-bottom: 10px;
    color: #0403F1; /* Electric blue for a vibrant look */
    text-transform: uppercase; /* Make the title stand out */
}

.home-subtitle {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #C57917; /* Gold accent color for warmth */
}

@media (max-width: 768px) {
    .home-title {
        font-size: 1.5em;
    }
    .home-subtitle {
        font-size: 1.2em;
    }
}

.home-text {
    font-size: 1.2em;
    font-weight: 500; /* Slightly bolder for readability */
    margin-bottom: 40px;
    color: #555; /* Muted dark color for inviting tone */
}

/* Adjusted CTA Button Styling for the Welcome Section */
#home .cta-button {
    background-color: #0403F1; /* Electric blue for the button */
    border: none;
    color: white;
    padding: 15px 35px;
    font-size: 1.2em;
    font-weight: bold; /* Bold text for emphasis */
    border-radius: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex; /* Flex container for icon and text */
    align-items: center; /* Center content vertically */
    gap: 10px; /* Space between the icon and text */
}

/* Open Book Icon Styling */
#home .cta-button .fa-book-open {
    font-size: 1.5em; /* Adjust size for balance */
    transform: rotate(-15deg); /* Slant the icon */
}

/* Hover effect for Welcome CTA Button */
#home .cta-button:hover {
    transform: scale(1.05);
    background-color: #68474E; /* Soft mauve on hover */
}

/* Decorative Elements */
.decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none; /* Make elements non-clickable */
}

.circle {
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: #FFEB3B; /* Bright yellow */
    border-radius: 50%;
    top: -30px;
    left: -40px;
    opacity: 0.7;
}

.triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #C57917; /* Gold color */
    bottom: -50px;
    right: -30px;
    opacity: 0.7;
}

/*.wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url('wave.png'); 
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    pointer-events: none;
    z-index: 1;
}*/

/* Other Sections */
section {
    padding: 40px 20px;
}

#contact {
    background-color: #FEFEFE;
    color: #0F0909; /* Blackish color for strong contrast */
    margin-bottom: 20px;
}

/* Mission Section Styling */
#mission {
    text-align: center;
    padding: 80px 20px;
    color: #333; /* Dark text for good readability */
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background-color: transparent; /* Transparent background */
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6; /* Better spacing for readability */
}

.mission-title {
    font-size: 3em; /* Large, bold title */
    font-weight: 900; /* Extra bold for emphasis */
    margin-bottom: 10px;
    color: #0403F1; /* Electric blue for a vibrant look */
    text-transform: uppercase; /* Make the title stand out */
}

.mission-text {
    font-size: 1.2em;
    font-weight: 500; /* Slightly bolder for readability */
    margin-bottom: 40px;
    color: #555; /* Muted dark color for inviting tone */
}

/* CTA Button Styling */
/* CTA Button Styling with Icon */
.cta-button {
    background-color: #0403F1; /* Electric blue for the button */
    border: none;
    color: white;
    padding: 15px 35px;
    font-size: 1.2em;
    font-weight: bold; /* Bold text for emphasis */
    border-radius: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex; /* Make it a flex container */
    align-items: center; /* Center icon and text vertically */
    gap: 10px; /* Space between the icon and text */
}

/* Icon Styling */
.cta-button .fa-graduation-cap {
    font-size: 1.5em; /* Adjust icon size */
    transform: rotate(-15deg); /* Slant the icon */
}

/* Hover effect */
.cta-button:hover {
    transform: scale(1.05);
    background-color: #68474E; /* Soft mauve on hover */
}

/* Decorative elements for the Mission section */
#mission .decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none; /* Make elements non-clickable */
    z-index: -1; /* Place behind the content */
}

/* Styling for circles */
.mission-circle1,
.mission-circle2 {
    position: absolute;
    border-radius: 50%;
    opacity: 0.7; /* Semi-transparent */
}

.mission-circle1 {
    width: 100px;
    height: 100px;
    background-color: #FFEB3B; /* Bright yellow */
    top: 30px;
    left: 20px;
}

.mission-circle2 {
    width: 80px;
    height: 80px;
    background-color: #4CAF50; /* Light green */
    bottom: 50px;
    right: 40px;
}

/* Styling for triangles on home page */
.mission-triangle1,
.mission-triangle2 {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    opacity: 0.7; /* Semi-transparent */
}

.mission-triangle1 {
    border-bottom: 80px solid #C57917; /* Gold color */
    top: 120px;
    right: 60px;
}

.mission-triangle2 {
    border-bottom: 60px solid #0403F1; /* Electric blue */
    bottom: 100px;
    left: 50px;
}

/* What We're About Section */
.what-were-about {
    text-align: center;
    padding: 80px 20px;
    color: #333; /* Dark text for readability */
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background-color: #f9f9f9; /* Light background for contrast */
}

.what-were-about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6; /* Spacing for readability */
}

.what-were-about-title {
    font-size: 3em; /* Large, bold title */
    font-weight: 900; /* Extra bold for emphasis */
    margin-bottom: 10px;
    color: #0403F1; /* Electric blue for vibrancy */
    text-transform: uppercase; /* Standout title style */
}

.what-were-about-subtitle {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #C57917; /* Gold accent color */
}

.what-were-about-text {
    font-size: 1.2em;
    font-weight: 500; /* Slightly bold for readability */
    margin-bottom: 40px;
    color: #555; /* Muted dark color for inviting tone */
}

/* Meet the Family Section */
.meet-the-family {
    text-align: center;
    font-family: Arial, sans-serif;
    padding: 2rem;
    position: relative;
}

.meet-the-family h1 {
    font-size: 3em;  /* Large, bold title */
    font-weight: 900;  /* Extra bold for emphasis */
    color: #0403F1;  /* Electric blue */
    text-transform: uppercase;  /* Make the title stand out */
    margin-bottom: 10px;
}

.meet-the-family p {
    font-size: 1.8em;  /* Larger subtitle text */
    font-weight: 700;  /* Bold weight */
    color: #000000;  /* Gold accent color */
    margin-bottom: 20px;
}


/* Profile Cards Styling */
.profile-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap; /* Allows cards to wrap to the next line on smaller screens */
    padding: 1rem;
}

.profile-card {
    width: 200px;
    background-color: #fff;
    padding: 1rem;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.profile-card:hover {
    transform: scale(1.05);
}

.profile-card img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 1rem;
}

.profile-cards p {
    font-size: 1.2em;  /* Slightly larger font for readability */
    font-weight: 500;  /* Medium weight */
    color: #555;  /* Muted dark color for an inviting tone */
    line-height: 1.5;
    margin-bottom: 1rem;
}

.profile-card h2 {
    font-size: 1.5em;  /* Larger name font for emphasis */
    font-weight: bold;
    color: #333;
    margin: 0.5rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-cards {
        gap: 1rem;
    }

    .profile-card {
        width: 90%;
    }
}

/* General collapsible section styling */
.collapsible {
    max-width: 80%;
    margin: 30px auto;
    padding: 20px;
    text-align: justify;
    background-color: #f7f7f7;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Individual accordion item styling */
.accordion-item {
    margin-bottom: 10px;
}

/* Accordion header (clickable part) */
.accordion-header {
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
    color: #007bff;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: background-color 0.3s, color 0.3s;
}

.accordion-header:hover {
    background-color: #007bff;
    color: #ffffff;
}

/* Active state for expanded accordion */
.accordion-header.active {
    background-color: #ff7f50;
    color: #ffffff;
}

/* Accordion content */
.accordion-content {
    display: none;
    padding: 15px;
    border: 1px solid #ddd;
    border-top: none;
    background-color: #ffffff;
    border-radius: 0 0 6px 6px;
    color: #333;
    animation: slideDown 0.3s ease-in-out;
}

/* Keyframes for smooth content expansion */
@keyframes slideDown {
    from {
        max-height: 0;
    }
    to {
        max-height: 300px;
    }
}

.accordion-content h2 {
    text-align: center;
    color: #007bff;
    margin-bottom: 10px;
}

/* Lists in accordion content */
.accordion-content ul {
    padding-left: 20px;
}

.accordion-content ul li {
    margin: 5px 0;
    color: #555;
}
/*back-to-top button stylling*/
#back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
    display: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

/* Media Tiles Section */
.media-tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; /* Increased gap for spacing */
    margin: 20px;
    padding: 20px;
}

/* Media Tile */
.media-tile {
    cursor: pointer;
    text-align: center;
    max-width: 300px; /* Increased size for larger tiles */
    border-radius: 15px; /* Smooth corners for a modern look */
    overflow: hidden; /* Ensures hover effects stay inside the tile */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    background-color: white; /* Background for contrast with images */
}

.media-tile img {
    width: 100%; /* Full-width image */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures image maintains aspect ratio */
    transition: transform 0.3s ease; /* Smooth hover effect for images */
    border-bottom: 2px solid #0403F1; /* Accent border for separation */
}

.media-tile:hover img {
    transform: scale(1.05); /* Slight zoom-in effect on hover */
}

.media-tile p {
    margin: 15px;
    font-size: 1.2em; /* Slightly larger text */
    font-weight: bold;
    color: #333; /* Dark text for readability */
    text-transform: uppercase; /* Makes the title stand out */
}

/* Hover Effects */
.media-tile:hover {
    transform: scale(1.1); /* Tile grows slightly on hover */
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
    background-color: #f3f3f3; /* Subtle background change on hover */
}

/* Slideshow Page */
.back-arrow {
    font-size: 1.2em;
    margin: 10px;
    cursor: pointer;
    color: #0403F1;
    display: inline-block;
}

.slideshow-container {
    text-align: center;
    margin: 20px;
}

.slideshow-container img, .slideshow-container video {
    max-width: 90%;
    margin-bottom: 20px;
    border-radius: 5px;
}

#media-description {
    margin: 20px;
    font-size: 1em;
    color: #555;
}

/* Tabs Navigation */
.tabs-container {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-link {
    background-color: #f1f1f1;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px 25px;
    margin: 0 5px;
    font-size: 1.1em;
    color: #555;
    transition: background-color 0.3s ease;
}

.tab-link:hover {
    background-color: #ddd;
}

.tab-link.active {
    background-color: #09324B;
    color: #fff;
}

/* Tabs Content */
.tab-content {
    display: none;
    padding: 20px;
}

.active-tab {
    display: block;
}

/* Services Content */
.service-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.service-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.product-description {
    text-align: left;
}

.product-description h3 {
    font-size: 1.8em;
    color: #09324B;
    margin-bottom: 10px;
}

.product-description ul {
    list-style-type: none;
    padding-left: 0;
}

.product-description ul li {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 5px;
}

/* Appointment Section */
.appointment-section {
    text-align: center;
    background-color: #f8f8f8;
    color: #09324B;
    padding: 30px;
    margin-top: 40px;
}

.appointment-button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.appointment-button:hover {
    background-color: #0056b3;
}

/* contact Container styling */
.form-container {
    flex: 1; /* Allow it to grow/shrink evenly */
    max-width: 45%; /* Limit the width to less than half */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* Form group styling */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

.form-group textarea {
    height: 100px;
    resize: none;
}

/* Button styling */
button[type="submit"] {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Responsive adjustments */
/* Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column; /* Stack sections vertically */
        align-items: center; /* Center-align the sections */
    }

    .contact-info, .form-container {
        max-width: 100%; /* Full width on small screens */
    }
}


/* General container styling */
.contact-content {
    display: flex; /* Use flexbox for side-by-side alignment */
    flex-wrap: wrap; /* Ensure it wraps on smaller screens */
    gap: 1vw; /* Spacing between the two sections */
    justify-content: center; /* Center-align the content */
    max-width: 200vw; /* Limit width for better appearance */
    margin: 0 auto; /* Center the container */
    padding: 40px 5px;
}


.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Heading styling */
.contact-info h2 {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

/* Contact Info Styling */
/* Contact Information Section */
.contact-info {
    flex: 1; /* Allow it to grow/shrink evenly */
    max-width: 45%; /* Limit the width to less than half */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    font-size: 24px;
    color: #09324B;
    margin-bottom: 20px;
    text-align: center;
}

.contact-details {
    margin: 10px 0;
    line-height: 1.8;
}

.contact-details h3 {
    margin: 10px 0 5px;
    font-size: 18px;
    color: #09324B;
}

.contact-details p {
    font-size: 16px;
    color: #555;
}

.contact-details a {
    color: #09324B;
    text-decoration: none;
    font-weight: bold;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Media queries for responsiveness */
@media (max-width: 720px) {
    .contact-info{
        padding: 10vw;
    }
    .contact-info h2 {
        font-size: 28px;
    }

    .contact-details p {
        font-size: 14px;
    }
}



/* Footer Styling */
footer {
    background-color: #0403F1; /* Consistent with the blue theme */
    color: #FEFEFE; /* White text for contrast */
    padding: 20px 0;
}

.footer-content {
    display: flex;
    flex-direction: column; /* Stack items vertically by default */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

/* Footer logo box styling */
.footer-logo-box {
    background-color: #fff; /* White background */
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    height: 50px; /* Adjust as needed */
    width: auto;
}

.footer-contact {
    display: flex; /* Ensure horizontal structure */
    flex-direction: row; /* Align items horizontally */
    gap: 15px; /* Space between items */
    justify-content: center;
    align-items: center;
    font-size: 0.9em; /* Default font size */
    font-weight: bold; /* Make text bold */
    margin-top: 10px;
    color: #D9D9D9; /* Muted white */
}

/* Footer links in a horizontal line */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Allows wrapping on narrow screens */
    margin-top: 10px; /* Space above the links */
    width: 100%; /* Ensure it spans the available width */
}

/* Footer social media styling */
.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials .social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff; /* White circle background */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0403F1; /* Blue color for the icon */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-socials .social-icon:hover {
    background-color: #C57917; /* Gold color on hover */
    color: #fff;
}

.footer-socials i {
    font-size: 1.2em;
}

.footer-links a {
    color: #FEFEFE;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #C57917; /* Accent color for hover */
}

/* Footer bottom text styling */
.footer-bottom {
    margin-top: 20px;
    font-size: 1em;
    font-weight: bold; /* Make it more bold */
    text-align: center;
    color: #D9D9D9; /* Muted white */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Ensure stacking on smaller screens */
        align-items: center;
    }

    .footer-contact {
        justify-content: center;
        flex-wrap: nowrap; /* Prevent wrapping */
        font-size: 0.5em; /* Adjust size for smaller screens */
    }

    .footer-links {
        margin-top: 15px;
    }
}
