/* General Styles */
body {
    font-family: 'Roboto', Arial, sans-serif; /* Use Roboto for body text */
    margin: 0;
    padding: 0;
    background-color: #f5f5f5; /* Off-white */
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', Arial, sans-serif; /* Use Poppins for headings */
    color: #333; /* Darker color for better emphasis */
    margin-bottom: 10px;
}
/* Font Weights for Emphasis */
h1 {
    font-size: 2em; /* Largest for main headings */
    font-weight: 700; /* Bold for prominence */
}

h2 {
    font-size: 1.8em;
    font-weight: 600;
}

h3 {
    font-size: 1.75em;
    font-weight: 500;
}

h4 {
    font-size: 1.50em;
    font-weight: 500;
}

h5 {
    font-size: 1.30em;
    font-weight: 500;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

ul > li > strong {
    font-weight: bold; /* Make the labels bold */
    /*display: inline;   /* Ensure the label stays inline with the description */
}

ul > li {
    font-weight: normal; /* Default font weight for list items */
}

ul > li > strong + span, 
ul > li > strong + text {
    font-weight: normal; /* Ensure descriptions are not bold */
}

ul > li > strong + text {
    margin-left: 5px; /* Add spacing between label and description */
    margin-top: 5px; /* Add spacing between label and description */
}

/* Add top margin to <li><strong> */
ul > li > strong {
    display: block; /* Make it behave like a block element */
    margin-top: 10px; /* Add 10px margin above */
}

/* Buttons and Links */
button, a {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #fff; /* Assume buttons/links have a white color on a colored background */
    text-transform: uppercase; /* Optional for uniformity */
}

/* Footer Text */
footer {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.5rem; /* Slightly smaller for less emphasis */
    color: #999; /* Subtle color for footer content */
}

/* Header Styles */
header {
    background-color: #021526; /* Dark background */
    color: #fff;
    width: 100%;
    z-index: 1001; /* Ensure header is above ticker */
    position: relative; /* Changed to relative to avoid overlap */
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.hr {
    height: 2px; /* Thickness of the divider */
    background: #333; /* Divider color */
    width: 80%; /* Length of the divider */
    margin: 20px auto; /* Center it and add spacing */
    border-radius: 5px; /* Rounded edges for a modern look */
}

/* Stock Ticker Wrapper */
.ticker-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* Ensure ticker is below header */
}

.stock-ticker {
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #F4F7FF;
    /*background: linear-gradient(to right, white 30%, #D8A43E 190%);*/
    color: #000;
    padding: 0px;
    margin-bottom: 10px; /* Space between ticker and header */
}

.ticker-content {
    display: flex;
    animation: tickerMove 20s linear infinite;
}

.stock-item {
    margin-right: 50px;
    white-space: nowrap;
}

.stock-item::after {
    content: '|';
    margin-left: 10px;
    color: #bbb;
}

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

/* Navigation Styles */
nav {
    background-color: #FFF; /* Same dark background for consistency */
    color: #000;
    padding: 10px 20px;
    position: fixed;
    top: 40px; /* Adjusted to ensure space for ticker */
    left: 0;
    right: 0;
    z-index: 1001; /* Ensure menu is above ticker */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 250px;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 21px;
    width: 25px;
}

.hamburger div {
    width: 100%;
    height: 3px;
    background-color: #000; /* Off-white */
}

/* Responsive Navbar */
.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: #161615; /* Off-white */
    text-decoration: none;
    font-weight: bold;
}

/* Hide dropdown by default */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #021526; /* Background color */
    padding: 10px;
    list-style: none;
    z-index: 1002; /* Ensure dropdown is above ticker */

    box-shadow: 0 4px 8px #fff; /* Shadow around the background */
}

.dropdown-menu li {
    margin: 5px 0;
    padding: 2px;
    margin: 5px;
}

.dropdown-menu a {
    color: white;
    text-decoration: none;

}

/* Show dropdown when active */
.dropdown.active .dropdown-menu {
    display: block;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .stock-item {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .stock-item {
        font-size: 0.8rem;
        margin-right: 30px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%; /* Start with menu off-screen to the left */
        top: 0;
        width: 100%; /* Full width */
        background-color: #1b3838; /* Background color #008473 */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease; /* Smooth transition */
        z-index: 1000; /* Ensure menu is above other content */
    }

    .nav-links.active {
        left: 0; /* Slide menu into view */
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        color: #fff;
        font-size: 18px;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 1001;
    }
}

/* Login Button Styles */
.login-button button {
    background-color: #b29562; /* Gold */
    color: #333;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
}

.login-button button:hover {
    background-color: #c0c0c0; /* Silver */
    color: #fff;
}

/* Slider Styles */
.slider {
    margin: 100px 20px !important; /* 70px top margin, 20px on the left and right */
    position: relative;
    width: calc(100% - 40px); /* Adjust width to account for side margins */
    height: 470px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px; /* Optional: add rounded corners */
    background-color: #fff; /* 🔹 Keep header white */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers entire area without distortion */
    display: block; /* Ensures proper centering when using margin: auto */
}

/* For Active Slides */
.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    display: block;
    opacity: 1;
}

.navigation {
    position: absolute;
    top: 50%;
    left: 20px; /* Maintain 20px margin */
    right: 20px; /* Maintain 20px margin */
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 2;
}

.prev, .next {
    background: rgb(2, 21, 38);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5em;
    padding: 0.5em;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.dots {
    text-align: center;
    position: absolute;
    bottom: 15px;
    left: 20px;
    right: 20px;
    z-index: 2;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.dot.active {
    background: #fff;
    opacity: 1;
    transform: scale(1.2);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .slider {
        margin: 90px 20px;
        height: 300px; /* Adjust height for tablets */
    }
    .slide img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .slider {
        margin: 90px 20px;
        height: 250px !important; /* Adjust height for smaller screens */
    }
    .slide img {
        height: 200px;
    }
}


/* hero Styles */
.hero {
    position: relative;
    text-align: center;
    /*padding: 5px 10px;*/
    background-color: #fff;
    color: #1b3838; /* Gold */
    margin: -70px 20px 20px 20px;
    box-sizing: border-box; /* Ensures padding and borders are included in width/height */
    
}

/* Heading in Hero Section */
.hero h1 {
    font-size: 2.5em;
    text-transform: uppercase;
    margin: 10px 0; /* Add spacing around the heading */
    color: #1b3838; /* Main color for the heading */
    position: relative;
    display: inline-block;
}

/* Highlight Effect */
.hero h1::after {
    content: ''; 
    position: absolute;
    bottom: -5px; /* Position below the text */
    left: 0;
    width: 100%;
    height: 3px; /* Height of the highlight */
    background-color: #35cb33; /* Highlight color (change as needed) */
    border-radius: 2px; /* Smooth rounded corners */
}

/* Optional Text Shadow for Extra Highlight */
.hero h1 {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}


/* Paragraph in Hero Section */
.hero p {
    font-size: 1.5em;
    margin-bottom: 20px;
    padding: 0 10px; /* Prevents text from touching edges on small screens */
}

/* Image in Hero Section */
.hero img {
    max-width: 50%; /* Adjusted for responsive scaling */
    height: auto; /* Maintain aspect ratio */
    margin: 20px auto; /* Center the image horizontally with spacing above/below */
    display: block; /* Ensures proper centering when using margin: auto */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8em; /* Adjust font size for smaller screens */
    }
    .hero p {
        font-size: 1.2em; /* Adjust font size for smaller screens */
    }
    .hero img {
        max-width: 90%; /* Allow more space for smaller screens */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5em; /* Further reduce font size for very small screens */
    }
    .hero p {
        font-size: 1em; /* Further reduce font size for very small screens */
    }
    .hero img {
        max-width: 95%; /* Ensure the image is nearly full-width on small screens */
    }
}


/* Courses Section */
.courses {
    padding: 60px 20px;
    background-color: #F5F5F5;
    text-align: center; /* Center the content inside the section */
}

/* Centered Heading */
.courses h1 {
    font-size: 2em;
    text-transform: uppercase;
    margin: 10px 0;
    color: #1b3838;
    position: relative;
    display: inline-block;
}

/* Highlight Effect */
.courses h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #35cb33;
    border-radius: 2px;
}

/* Optional Text Shadow for Extra Highlight */
.courses h1 {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Course Section Layout */
.course-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center items horizontally */
    gap: 20px; /* Adds space between the course cards */
    margin-bottom: 40px;
}

/* Course Card Style */
.course-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image inside Course Card */
.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Heading inside Course Card */
.course-card h3 {
    font-size: 1.5em;
    color: #333;
    padding: 15px;
}

/* Description inside Course Card */
.course-card p {
    font-size: 1em;
    color: #666;
    padding: 0 15px 15px;
}

/* Hover Effect for Course Card */
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .courses h1 {
        font-size: 1.8em; /* Smaller heading font size for tablets */
    }

    .course-section {
        justify-content: center;
    }

    .course-card {
        width: 100%; /* Make course card full width for small screens */
        max-width: 500px; /* Limit the width */
    }
}

@media (max-width: 480px) {
    .courses h1 {
        font-size: 1.6em; /* Even smaller heading for smaller screens */
    }

    .course-section {
        flex-direction: column; /* Stack course cards vertically */
        align-items: center; /* Center the cards */
    }

    .course-card {
        width: 100%;
        max-width: 350px; /* Limit the width for small screens */
    }
}

/* Partners Section */
.partners {
    margin: 30px 20px 20px;
    background-color: #FFF;
    text-align: center; /* Center the content inside the section */
}

/* Centered Heading */
.partners h1 {
    font-size: 2em;
    text-transform: uppercase;
    margin: 10px 0;
    color: #1b3838;
    position: relative;
    display: inline-block;
}

/* Highlight Effect */
.partners h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #35cb33;
    border-radius: 2px;
}

/* Optional Text Shadow for Extra Highlight */
.partners h1 {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Partner Section Layout */
.partner-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center items horizontally */
    gap: 20px; /* Adds space between the partner cards */
    margin-top: 20px;
}

/* Partner Card Style */
.partner-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 200px; /* Reduced width for smaller card */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center; /* Center content inside the card */
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive Image in Partner Card */
.partner-card img {
    width: 100%; /* Makes the image responsive */
    height: auto; /* Maintain aspect ratio */
    max-width: 150px; /* Set a max width to prevent image stretching */
    object-fit: cover; /* Ensure the image is well-fitted inside the card */
    margin-bottom: 10px; /* Space between image and text */
}

/* Partner Name Text Below Image */
.partner-name {
    font-size: 1em;
    color: #333;
    margin: 0;
}

/* Hover Effect for Partner Card */
.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .partners h1 {
        font-size: 1.8em; /* Smaller heading font size for tablets */
    }

    .partner-section {
        justify-content: center;
    }

    .partner-card {
        width: 100%; /* Make partner card full width for small screens */
        max-width: 300px; /* Limit the width */
    }
}

@media (max-width: 480px) {
    .partners h1 {
        font-size: 1.6em; /* Even smaller heading for smaller screens */
    }

    .partner-section {
        flex-direction: column; /* Stack partner cards vertically */
        align-items: center; /* Center the cards */
    }

    .partner-card {
        width: 100%;
        max-width: 250px; /* Limit the width for small screens */
    }
}



/* Common Section */
section {
    margin: 20px; /* 20px for all sides */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: calc(100% - 40px); /* Adjust width to account for 20px margin on each side */
    box-sizing: border-box; /* Ensures padding and border are included in the width */
}

/* Responsive Subsection */
.subsection {
    margin: 0 auto; /* Keeps it horizontally centered */
    width: calc(100% - 40px); /* Adds 20px margin on left and right */
    max-width: 900px; /* Restricts maximum width */
    text-align: center;
    box-sizing: border-box;
}

/* Media Queries for Additional Adjustments */
@media (max-width: 768px) {
    .subsection {
        width: calc(100% - 40px); /* Same 20px left/right margin */
    }
}

@media (max-width: 480px) {
    .subsection {
        width: calc(100% - 40px); /* Same 20px left/right margin */
    }
}


.top-headline {
    text-align: center;
    background-color: #1b3838;
    color: #fff;
    margin: 99px 20px 20px;
}

.top-headline h1 {
    color: #fff;
}

.top-headline-blog {
    text-align: center;
    background-color: #1b3838;
    color: #fff;
    margin-top: 90px;
}

.top-headline-blog h4 {
    color: #fff;
    text-align: left;
    font-weight: 400;
    opacity: 0.5; /* 50% transparent */
}

/* About Section */
.about {
    text-align: center;
    background-color: #fff;
    margin: 30px 20px 20px;
}

.about img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin-top: 20px;
    box-shadow: 0 10px 8px rgba(0, 0, 0, 0.2); /* Adds a shadow effect around the image */
}

.about h1 {
    font-size: 2em;
    text-transform: uppercase;
    margin: 10px 0; /* Add spacing around the heading */
    color: #1b3838; /* Main color for the heading */
    position: relative;
    display: inline-block;
}

/* Highlight Effect */
.about h1::after {
    content: ''; 
    position: absolute;
    bottom: -5px; /* Position below the text */
    left: 0;
    width: 100%;
    height: 3px; /* Height of the highlight */
    background-color: #35cb33; /* Highlight color */
    border-radius: 2px; /* Smooth rounded corners */
}

/* Optional Text Shadow for Extra Highlight */
.about h1 {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

/* Ensure the section is centered and responsive */
.mission-vision {
    background-color: #fff;
    padding: 50px 20px;
    text-align: center;
    overflow: hidden; /* Prevents content from overflowing */
}

/* Container for flex alignment */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 0 15px; /* Ensures padding to prevent overflow */
}

/* Individual Boxes */
.mission-box, .vision-box {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    box-sizing: border-box; /* Ensures width doesn't exceed parent */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px auto; /* Centers items and prevents overflow */
}

/* Hover Effects */
.mission-box:hover, .vision-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Icons */
.mission-box i, .vision-box i {
    font-size: 40px;
    color: #35cb33;
    margin-bottom: 10px;
}

/* Headings */
.mission-box h1, .vision-box h1 {
    font-size: 1.8em;
    text-transform: uppercase;
    color: #1b3838;
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

/* Underline Effect */
.mission-box h1::after, .vision-box h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #35cb33;
    border-radius: 2px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding: 0 10px; /* Ensures content doesn’t touch edges */
    }

    .mission-box, .vision-box {
        width: 95%; /* Ensures they stay inside the viewport */
        max-width: 350px; /* Slightly smaller for better fitting */
    }
}


/* Additional Info Section */
.additional-info {
    text-align: center;
    background-color: #fff;
    margin: 30px 20px 20px;
    padding: 2rem 1rem;
    margin: 0 auto;
}

.additional-info h1 {
    font-size: 2em;
    text-transform: uppercase;
    margin: 10px 0;
    color: #1b3838;
    position: relative;
    display: inline-block;
}

/* Highlight Effect */
.additional-info h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #35cb33;
    border-radius: 2px;
}

/* Optional Text Shadow for Extra Highlight */
.additional-info h1 {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.additional-info h2 {
    color: #ff9900;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.additional-info p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    margin-top: 20px;
}

.additional-info ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
    text-align: left;
}

.additional-info ul li {
    font-size: 1rem;
    color: #444;
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.additional-info ul li:before {
    content: "\f00c"; /* Font Awesome checkmark */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #35cb33;
    position: absolute;
    left: 0;
    top: 0.2rem;
}

@media (max-width: 768px) {
    .additional-info h2 {
        font-size: 1.75rem;
    }

    .additional-info p,
    .additional-info ul li {
        font-size: 0.95rem;
    }

    .additional-info {
        padding: 1.5rem 0.5rem;
    }
}


/* Team Section */
.team {
    text-align: center;
    background-color: #fff;
    margin: 30px 20px 20px;
}

.team-section {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.team h1 {
    font-size: 2em;
    text-transform: uppercase;
    margin: 10px 0;
    color: #1b3838;
    position: relative;
    display: inline-block;
}

/* Highlight Effect */
.team h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #35cb33;
    border-radius: 2px;
}

/* Optional Text Shadow for Extra Highlight */
.team h1 {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.team-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    padding: 15px;
    width: 200px;
}

.team-card img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .team-section {
        flex-direction: column;
        align-items: center; /* Ensures cards are centered */
    }

    .team-card {
        width: 90%; /* Slightly wider on mobile */
    }
}

/* Blog Posts Section */
.blog-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.blog-post {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33.333% - 20px);
    display: flex;
    flex-direction: column;
}

.blog-post img {
    max-width: 100%;
    height: auto;
}

.blog-post-content {
    padding: 20px;
}

.blog-post-content h2 {
    margin-top: 0;
}


/* Blog news Styling */
.news-section {
    display: flex;
    background-color: #fff;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 20px 20px 20px;
    justify-content: flex-start; /* Ensures items align to the start of the container */
}

.news-subsection {
    width: 100%; /* Full width for the subsection to ensure h1 is centered */
    text-align: center; /* Centers the h1 within the subsection */
    margin-bottom: 20px; /* Adds space below the h1 */
}

.news-card {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.news-section h1 {
    font-size: 2em;
    text-transform: uppercase;
    margin: 10px 0; /* Add spacing around the heading */
    color: #1b3838; /* Main color for the heading */
    position: relative;
    display: inline-block;
}

/* Highlight Effect */
.news-section h1::after {
    content: ''; 
    position: absolute;
    bottom: -5px; /* Position below the text */
    left: 0;
    width: 100%;
    height: 3px; /* Height of the highlight */
    background-color: #35cb33; /* Highlight color */
    border-radius: 2px; /* Smooth rounded corners */
}

/* Optional Text Shadow for Extra Highlight */
.news-section h1 {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.news-card img {
    width: 100px; /* Fixed size for normal view */
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
}

.news-content {
    flex: 1;
}

.news-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Styling */
@media (min-width: 768px) {
    .news-card {
        width: calc(50% - 20px); /* Two columns on tablets */
    }

    .news-content h4 {
        font-size: 1.1rem;
    }
}

@media (min-width: 1024px) {
    .news-card {
        width: calc(33.33% - 20px); /* Three columns on desktop */
    }

    .news-card img {
        width: 150px; /* Slightly larger image for desktop */
        height: 100px;
    }

    .news-content h4 {
        font-size: 1.2rem;
    }
}



/* Footer Styles */
footer {
    background-color: #021526;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
    padding-bottom: 80px; /* Adjust this based on the height of the fixed footer */
}

footer a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 13px;
}

footer a:hover {
    color: #4a90e2;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    display: inline-block;
    margin: 0 10px;
}

footer ul li a {
    font-size: 14px;
}

footer p {
    line-height: 1.5em;
    font-size: 14px;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0;
    margin-bottom: 20px;
}

.social-links li {
    display: inline;
}

.social-links a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
}

.social-links a:hover {
    color: #4a90e2;
}

/* Footer Navigation for Mobile View */
.mobile-footer-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #1b3838;
    border-top: 1px solid #ccc;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 1000;
}

.mobile-footer-menu .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #35cb33;
    font-size: 12px;
    transition: color 0.3s ease;
}

.mobile-footer-menu .menu-item i {
    font-size: 20px;
    margin-bottom: 10px; /* Adjust this value to increase or decrease the gap */
}

.mobile-footer-menu .menu-item:hover {
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    footer ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    footer p {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .mobile-footer-menu {
        display: none;
    }
}




/* Contact Page Styling */
/* Ensure everything stays inside the viewport */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Contact Section */
.contact-details {
    margin: 30px 20px 20px;
    background: #fff;
}

/* Container */
.contact-details .container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1100px;
    margin: auto;
    width: 100%;
}

/* Contact Form & Info */
.contact-form, 
.contact-info {
    flex: 1;
    min-width: 300px;
    max-width: 48%;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

/* Headings */
.contact-form h1, 
.contact-info h1, 
.contact-map h1 {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #1b3838;
    position: relative;
    text-align: center;
}

/* Underline Effect */
.contact-form h1::after, 
.contact-info h1::after, 
.contact-map h1::after {
    content: '';
    width: 50px;
    height: 3px;
    background: #35cb33;
    display: block;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* Form Fields */
.contact-form .form-group {
    margin-bottom: 1rem;
    width: 100%;
    text-align: left;
}

.contact-form label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

/* Submit Button */
.contact-form button {
    background: #35cb33;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    display: block;
    width: 100%;
    margin-top: 1rem;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #28a428;
}

/* Contact Info */
.contact-info p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    text-align: center;
}

/* Map Section */
.contact-map {
    flex: 1 1 100%;
    max-width: 100%;
    margin-top: 2rem;
    text-align: center;
    box-sizing: border-box;
}

.contact-map iframe {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 🚀 Full Responsive Adjustments */
@media (max-width: 992px) {
    .contact-details .container {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-form, 
    .contact-info, 
    .contact-map {
        width: 100%;
        max-width: 90%;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    /* Contact Form & Info */
    .contact-form, 
    .contact-info {
        flex: 1;
        background: white;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
    }
    .contact-form h1, 
    .contact-info h1, 
    .contact-map h1 {
        font-size: 1.6rem;
    }
}

/* Prevent Overflow on Small Screens */
@media (max-width: 480px) {
    .contact-details {
        padding: 1.5rem 1rem;
    }

    .contact-form, 
    .contact-info, 
    .contact-map {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
    }

    .contact-form input, 
    .contact-form textarea {
        font-size: 0.9rem;
        padding: 8px;
    }

    .contact-form button {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}






/* Services Pages */
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
    background-color: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds subtle shadow for better visual appeal */
    max-width: 1200px;
    margin: 20px auto;
}

.services-left-70, .services-right-30 {
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
}

.services-left-70 {
    flex: 0 0 70%; /* 70% width on larger screens */
}

.services-right-30 {
    flex: 0 0 30%; /* 30% width on larger screens */
}

.services img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2); /* Enhanced shadow for emphasis */
}

.services h1 {
    font-size: 2em;
    text-transform: uppercase;
    margin: 20px 0; /* Increased spacing for better readability */
    color: #1b3838;
    position: relative;
    display: inline-block;
    line-height: 1.2; /* Adjusted line height for multi-line headings */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

/* Highlight Effect */
.services h1::after {
    content: ''; 
    position: absolute;
    bottom: -10px; /* Slightly increased distance for better clarity */
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #35cb33; 
    border-radius: 2px; 
}

/* Paragraph styling */
.services p {
    font-size: 1.1em;
    color: #333; 
    line-height: 1.8; 
    margin-bottom: 20px; 
}

/* List styling */
.services ul {
    list-style-type: none;
    padding: 0;
    font-weight: 800;
}

.services ul li {
    font-size: 1.1em;
    margin-bottom: 15px; 
    padding-left: 20px; 
    position: relative;
    color: #1b3838;
    line-height: 1.6;
}

.services ul li::before {
    content: '\2022'; /* Default bullet point */
    font-weight: bold; /* Make the bullet point bold */
    color: #35cb33;
    position: absolute;
    left: 0;
    font-size: 1.3em;
    line-height: 1;
    top: 0;
}

/* Button Styling */
.cta-button {
    display: inline-block;
    padding: 5px 20px;
    margin: 10px 0;
    background-color: #35cb33;
    color: #fff;
    font-size: 0.9em;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2fae2a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services {
        flex-direction: column; /* Stacks the sections on smaller screens */
        padding: 35px;
    }

    .services-left-70, .services-right-30 {
        flex: 1 1 100%; /* Full width on small screens */
    }

    .services h1 {
        font-size: 2em;
    }

    .services ul li {
        font-size: 1em;
    }
}


/* Product Offerings Section */
.product-offerings {
    text-align: center;
    background-color: #ffffff;
    margin: 30px 20px 20px 20px;
}

.product-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.product-offerings h1 {
    font-size: 2em;
    text-transform: uppercase;
    margin: 10px 0;
    color: #1b3838;
    position: relative;
    display: inline-block;
}

/* Highlight Effect */
.product-offerings h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #35cb33;
    border-radius: 2px;
}

/* Optional Text Shadow for Extra Highlight */
.product-offerings h1 {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    padding: 15px;
    width: 250px;
    box-sizing: border-box;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.3em;
    text-transform: uppercase;
    margin: 15px 0 10px;
    color: #1b3838;
    font-weight: bold;
}

.product-card p {
    font-size: 1em;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-section {
        flex-direction: column;
        align-items: center;
    }

    .product-card {
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }

    section {
        padding: 15px;
    }

    .product-offerings h1 {
        font-size: 2em;
    }
}

/*--=========== BLOG ============--*/
    .blog-section {
        padding: 20px;
        display: flex;
        justify-content: center;
        background: #fff;
    }
    .blog-wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        max-width: 1200px;
        width: 100%;
    }
    .blog-item {
        background: white;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }
    .blog-item img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }
    .blog-details {
        padding: 15px;
    }
    .blog-info {
        font-size: 12px;
        color: gray;
        margin-top: 10px;
    }
    
    .blog-info p {
       font-size: 12px;
    }
    @media (max-width: 768px) {
        .blog-wrapper {
            grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
        }
        .blog-item img {
            height: 150px;
        }
    }

/* Main Blog Container */
.blog-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1250px;
    margin: 20px auto;
    gap: 20px;
    padding: 0 15px; /* Added padding */
}

/* Blog Content Wrapper */
.blog-content-wrapper {
    flex: 2 2 60%; /* Adjusted flex for content */
}

/* Blog Content */
.blog-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Image Containers */
.image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.blog-featured-image,
.blog-section-image,
.blog-card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: cover;
}

/* Blog Title & Text */
.blog-title {
    font-size: 2rem;
    margin-top: 15px;
    text-align: left;
}

.blog-date {
    margin: 10px 0; /* Adds spacing above and below */
    color: gray;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    text-align: left;
    align-items: center;
    flex-wrap: wrap; /* Makes it responsive */
    gap: 10px; /* Adds spacing between elements */
    opacity: 0.6; /* 50% transparent */
}

.blog-date i {
    color: #333;
    margin-right: 3px;
}

.blog-text p {
    line-height: 1.6;
    font-size: 1rem;
    color: #333;
}

/* Blog Sidebar */
.blog-sidebar {
    flex: 1 1 30%;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

/* Blog Card */
.blog-card {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 6px;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    border-radius: 6px;
    width: 80px;
    height: auto;
    margin-right: 15px;
    object-fit: cover;
}

.blog-card-title {
    margin: 0;
    font-size: 1rem;
}

.breadcrumb {
    font-size: 16px;
    display: flex;
    flex-wrap: wrap; /* Ensures responsiveness on small screens */
    gap: 5px;
}

.breadcrumb a {
    color: #35cb33; /* Bootstrap primary blue */
    text-decoration: none;
    font-weight: bold;
    text-transform: capitalize;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #fff; /* Grey color for the current page */
}

/* Social Media Share Icons */
.social-share {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}
.social-share a {
    text-decoration: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
}

.facebook { background: #3b5998; }
.instagram { background: linear-gradient(45deg, #833AB4, #E1306C, #FD1D1D, #F77737); }
.twitter { background: #1da1f2; }
.linkedin { background: #0077b5; }
.whatsapp { background: #25d366; }
.telegram { background: #0088cc; }
.reddit { background:  #ff4500; }
.calendar { background: #1b3838; }
.threads { background: #000000; }
.youtube { background: #FF0000; }


.sidebar-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-top: 20px;
}

.calculator-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.calculator-list li {
    border-bottom: 1px solid #ddd;
}

.calculator-list li:last-child {
    border-bottom: none;
}

.calculator-list a {
    display: flex;
    align-items: center;
    padding: 15px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.calculator-list a:hover {
    background: #e6ffe6;
    color: #1b3838;
}

.calculator-list i {
    margin-right: 8px;
    font-size: 16px;
    color: #35cb33;
}

.calculator-list p {
    display: flex;
    align-items: center;
    padding: 15px;
    color: red;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.calculator-list p i {
    margin-right: 8px;
    font-size: 16px;
    color: red;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .blog-container {
        flex-direction: column;
    }

    .blog-content-wrapper, .blog-sidebar {
        flex: 1 1 100%;
    }

    .blog-card {
        flex-direction: row; /* Blog card stays horizontal on tablets */
        align-items: center;
        text-align: left;
    }

    .blog-card img {
        width: 80px;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .blog-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .blog-card img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .blog-title {
        font-size: 1.8rem;
    }

    .blog-text p {
        font-size: 0.9rem;
    }
    .blog-sidebar{
        order: 2; /* place sidebar below the content on mobile*/
    }
    .blog-content-wrapper{
        order: 1;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 1.6rem;
    }
    .blog-text p {
        font-size: 1rem;
    }
    .blog-card img {
        width: 20%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    /* Social Media Share Icons */
    .social-share {
        display: flex;
        justify-content: center;
        gap: 7px;
        margin: 10px 0;
    }
    .social-share a {
        text-decoration: none;
        font-size: 14px;
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #fff;
    }
}    

/* ===== Calculator Styling ===== */
.calculators {
    max-width: 90%;
    margin: 30px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ===== Fixing Label, Slider, and Input Alignment ===== */
.input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px; /* Ensure enough space */
    position: relative;
}

/* Properly space label */
.input-group label {
    font-weight: normal;
    font-size: 16px;
    min-width: 200px; /* Prevents label from collapsing */
    text-align: left;
}

/* Align the slider correctly */
.input-group input[type="range"] {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: #28a745;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    margin: 0 10px;
    position: relative;
    top: 4px; /* Slightly adjust to align with input */
}

/* Styling for Slider Thumb */
.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    background: white;
    border: 3px solid #C0C0C0;
    border-radius: 50%;
    cursor: pointer;
}

/* Align Input Box with Slider */
.input-group input[type="number"] {
    width: 90px;
    padding: 6px;
    border: 1px solid #35cb33;
    border-radius: 6px;
    font-size: 16px;
    text-align: center;
    margin-left: 10px;
}

/* Fix button spacing */
.calculate-button {
    margin-top: 20px;
    font-size: 18px;
    padding: 12px 24px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.calculate-button:hover {
    background: #218838;
}

/* Fixing Results Box */
.results-container {
    margin-top: 20px;
    padding: 20px;
    background-color: #e9f7ef;
    border-radius: 8px;
    text-align: left;
}

/* ===== Right Sidebar Styling (Only for Desktop & Laptop) ===== */
@media (min-width: 1024px) {
    .calculator-content-container {
        width: 100%;
        display: flex;  /* Enables flexbox for side-by-side layout */
        flex-direction: row;
        gap: 20px; /* Adds space between the left and right sections */
        padding: 10px; /* Adds padding around the whole container */
    }
    
    .calculator-section {
        width: 60%;
        flex: 0 0 60%;
        background: white; /* Ensures a clean background */
        padding: 10px; /* Adds inner spacing */
        border-radius: 8px; /* Rounds the edges slightly */
    }
    
    .other-content-section {
        width: 35%;
        flex: 0 0 35%;
        background: white;
        padding: 10px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }
}

/* ===== TABLET VIEW (768px - 1023px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
    .calculator-section {
        flex: 1 1 65%;
    }

    .other-content-section {
        flex: 1 1 35%;
    }

    .input-group {
        flex-direction: row;
        align-items: center;
    }

    .input-group input[type="number"] {
        width: 100px;
    }

    .input-group span {
        font-size: 16px;
    }
}

/* ===== MOBILE VIEW (Up to 767px) ===== */
@media (max-width: 767px) {
    /* Mobile-Friendly Calculator */
    .calculators {
        border-radius: 0;
        padding: 10px;
        width: 95%;
        margin-bottom: 30px;
        
    }
    
    .content-container {
        flex-direction: column;
        align-items: center; /* Ensures proper centering */
    }

    .calculator-section, 
    .other-content-section {
        width: 100%;
        flex: 1 1 100%;
        margin-top: 50px;
    }

    /* Ensure elements are properly aligned and spaced */
    .input-group {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    .input-group label {
        font-weight: normal;
        font-size: 16px;
        min-width: 200px; /* Prevents label from collapsing */
        text-align: left;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    input[type="range"] {
        width: 80%;
        margin-top: 1px !important;
        margin-bottom: 7px !important;
        position: static;
        transform: none;
    }
    
    input[type="number"] {
        width: 80%;
        margin-top: 15px;
        margin-bottom: 5px;
    }
    
    /* Align Input Box with Slider */
    .input-group input[type="number"] {
        width: 150px;
        padding: 6px;
        border: 1px solid #35cb33;
        border-radius: 6px;
        font-size: 16px;
        text-align: center;
        margin-left: 10px;
    }
    
    /* Center the button and change color */
    .calculate-button {
        font-size: 16px;
        padding: 14px;
        text-align: center;
        width: 80%;
        margin: 20px auto; /* Centers the button */
        display: block; /* Ensures it takes full width */
        background-color: #ff5733; /* Updated button color */
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
    }
    
    /* Ensure button remains centered and has hover effect */
    .calculate-button:hover {
        background-color: #c7442e; /* Darker shade for hover */
    }

    /* Results container: mobile app feel */
    .results-container {
        margin-top: 15px;
        padding: 15px;
        border-radius: 12px;
    }

    .results-container p {
        font-size: 16px;
    }

    /* Hide Right Sidebar in Mobile */
    .right-sidebar {
        display: none;
    }
}


/* 404 page with responsive CSS */
.error-page {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #f8f9fa;
    padding-top: 10px; /* Reduced extra space */
}

.wrapper {
    max-width: 600px;
    padding: 20px;
}

.error-content {
    background: #ffffff;
    padding: 40px; /* Increased padding for a larger look */
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.error-content i {
    font-size: 60px; /* Increased icon size */
    color: #ff4757;
    margin-bottom: 10px;
}

.error-content h1 {
    font-size: 28px; /* Increased font size */
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.error-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Tablet View */
@media (max-width: 768px) {
    .wrapper {
        max-width: 90%;
    }

    .error-content {
        padding: 10px;
    }

    .error-content h1 {
        font-size: 24px; /* Slightly larger text */
    }

    .error-content i {
        font-size: 50px; /* Larger icon */
    }
}

/* Mobile View */
@media (max-width: 480px) {
    .error-content {
        padding: 10px;
    }

    .error-content h1 {
        font-size: 22px; /* Larger text for readability */
    }

    .error-content i {
        font-size: 45px;
    }
}



/* Mobile Apps */
.app-download-section {
    display: flex;
    justify-content: center;
    padding: 20px;
    background-color: #fff;
}
.app-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}
.app-item {
    text-align: center;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    width: 300px;
}
.app-logo {
    width: 100%;
    max-width: 250px;
    height: auto;
}

.platform-logo {
    width: 80px;
    height: auto;
    margin-top: 10px;
}

.qr-code {
    width: 80px;
    height: auto;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .app-download-section {
        padding: 10px;
    }
    .app-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .app-item {
        width: 90%;
        margin-bottom: 20px;
    }
}
