/* Global Styles */
/* Reset any unwanted word or letter spacing */
body, .md-section-content p, .md-header-text h1 {
    letter-spacing: normal;
    word-spacing: normal;
    margin: 0;
    padding: 0;
}

/* Ensure justified text does not create large gaps */
.md-section-content p {
    text-align: justify;
    word-break: break-word; /* Break long words if needed */
    hyphens: auto; /* Allow hyphenation to avoid big gaps in justified text */
}

/* Header Styles */
/* Header Styles */
/* Header Styles */
.md-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(97, 97, 97, 0.8);
    padding: 10px 5%; /* Reduced padding to accommodate larger logo without increasing header height */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    height: 70px; /* Set a fixed height for the header */
}

.md-logo img {
    height: 60px; /* Increased height for larger logo */
    width: auto;  /* Maintain aspect ratio */
}

.md-header-text h1 {
    margin: 0;
    font-size: 20px; /* Adjusted font size to fit with larger logo */
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2; /* Adjust line-height to better align text */
}

.md-header-text {
    flex: 1; /* Allow the text to take up remaining space */
    text-align: center; /* Center the text */
    padding: 0 10px; /* Add horizontal padding to prevent text from getting cut off */
}

/* Hero Section */
.md-hero {
    background-color: #424242;
    color: white;
    margin-top: 0; /* Ensure there's no gap */
    padding-top: 0;
    padding: 50px 5%;
    text-align: center;
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 0px;
}

.md-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.md-hero-content {
    position: relative;
    z-index: 1;
}

.md-hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.md-hero p {
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.md-hero-features {
    margin-top: 20px;
    text-align: center;
}

.md-hero-features ul {
    list-style-type: none;
    padding: 0;
}

.md-hero-features li {
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
}

.md-hero-features li strong {
    color: #ffcb05; /* Highlight feature labels */
}

/* Slider Section Styles */
/* Slider Section Styles */
/* Slider Section Styles */
/* Adjust slider styles to avoid gaps */
/* Slider Section Styles */
/* Slider Section Styles */
/* Slider Section Styles */
/* Slider Section Styles */
.md-slider {
    position: relative;
    width: 100%;
    height: 60vh; /* Adjust as needed */
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slide-container {
    display: flex;
    width: 1000%; /* 100% for each slide, 10 slides in total */
    animation: slide 100s infinite linear; /* Increase animation duration as needed */
    height: 100%;
}

.slide {
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fixed Shadow Layer Styles */
.slider-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Adjust width as needed */
    height: 100%;
    background: radial-gradient(circle at top left, rgba(97, 97, 97, 0.7) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 10; /* Ensure it's above the slides */
}

/* Keyframes for smooth sliding effect */
@keyframes slide {
    0% { transform: translateX(0%); }
    10% { transform: translateX(-10%); }
    20% { transform: translateX(-20%); }
    30% { transform: translateX(-30%); }
    40% { transform: translateX(-40%); }
    50% { transform: translateX(-50%); }
    60% { transform: translateX(-60%); }
    70% { transform: translateX(-70%); }
    80% { transform: translateX(-80%); }
    90% { transform: translateX(-90%); }
    100% { transform: translateX(-100%); }
}


/* Fixed Shadow Layer Styles */


/* Fixed Overlay Text Styles */
.slider-overlay {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 20; /* Ensure it is above the slides and shadow */
}

.slider-overlay h2 {
    font-size: 36px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.slider-overlay p {
    font-size: 18px;
    line-height: 1.5;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}


/* Keyframes for smooth sliding effect */



/* 

/* Content Section Styles */
.md-content-section {
    display: flex;
    padding: 40px 5%;
    align-items: center; /* Center the image vertically */
    background-color: #ffffff;
    box-sizing: border-box;
}

.md-section-content {
    flex: 2;
    padding-right: 20px;
    text-align: justify; /* Justifies the section text */
}

.md-section-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.md-section-content p {
    font-size: 14px;
    line-height: 1.6;
}

.md-section-image img {
    width: 100%; /* Increase the width to cover the entire available space */
    height: auto; /* Ensure the image maintains its aspect ratio */
    border-radius: 8px;
    object-fit: cover; /* Makes sure the image covers the container while maintaining its aspect */
}

/* Adjust content section styles to balance the image size */
.md-content-section {
    display: flex;
    padding: 40px 5%;
    align-items: center;
    background-color: #ffffff;
    box-sizing: border-box;
    min-height: 400px; /* Optional: Set a minimum height for each section */
}

.md-section-content {
    flex: 1.5; /* Reduce space for text content to give more room to the image */
    padding-right: 20px;
    text-align: justify;
}

.md-section-image {
    flex: 1; /* Increase the space for the image */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Alternating Background Colors */
.md-content-section:nth-child(even) {
    background-color: #000000;
    color: white;
}

.md-content-section:nth-child(odd) {
    background-color: #ffffff;
    color: #212121;
}

/* Button Styles */
.md-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s;
}

.md-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Footer Styles */
.md-footer {
    background-color: #424242;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

.md-footer p {
    margin: 0;
}

/* WhatsApp Ribbon Styles */
/* WhatsApp Ribbon Styles */
/* WhatsApp Ribbon Styles */
/* WhatsApp Vertical Ribbon Styles */
/* WhatsApp Vertical Ribbon Styles */
/* WhatsApp Vertical Ribbon Styles */
.whatsapp-ribbon {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #25D366; /* WhatsApp green color */
    padding: 10px;
    border-radius: 8px 0 0 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.whatsapp-ribbon:hover {
    transform: translateY(-50%) scale(1.05); /* Slightly enlarge on hover */
}

.whatsapp-ribbon a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.whatsapp-logo {
    width: 32px;
    height: 32px;
    margin-bottom: 10px; /* Space between the logo and text */
}

.whatsapp-ribbon span {
    font-size: 14px;
    color: white;
    font-weight: bold;
    writing-mode: vertical-rl; /* Makes the text vertical */
    text-orientation: mixed; /* Ensures the characters are upright */
    line-height: 1.2;
    transform: rotate(180deg); /* Rotates the text to display correctly */
    text-align: center;
    white-space: nowrap;
}


