﻿/* Base variables */
:root {
    --primary-color: rgba(243,201,50,1);
    --secondary-color: #F4F4F9;
    --StratinoBlue: rgba(33,182,216,1);
    --StratinoBlueLight: rgba(33,182,216,.6);
    --accent-color: #007BFF;
    --text-color: #4E4E50;
    --font-primary: 'Segoe UI', 'Arial', sans-serif;
}

/* Base body styling */
body {
    font-family: var(--font-primary);
    background-color: var(--secondary-color);
    color: var(--text-color);
}

/* Fade-in Up animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply the fade-in up animation to specific elements */
.starter-template, .navbar, footer.footer, .carousel-caption.custom-caption, .row > .col-md-4 {
    animation-name: fadeInUp;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: 0.5s; /* Adjust delay as needed */
}

/* Other elements can still use the simple fade-in effect */
body * {
    animation-name: fadeIn;
    animation-duration: 1s;
    animation-fill-mode: both;
}


/* Header and navigation styling */
header .navbar {
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
}

/* Navbar brand/logo styling */
.navbar-brand {
    display: flex;
    align-items: center;
}

    .navbar-brand img {
        height: 70px; /* Adjust the size of your logo as needed */
        width: auto;
    }

/* Navbar toggler styling */
.navbar-toggler {
    border-color: var(--secondary-color);
}

.navbar-toggler-icon {
    background-image: url("your-toggler-icon-path"); /* Path to your custom toggler icon */
}

/* Navbar menu (collapsed) */
.navbar-collapse {
    justify-content: center;
}

/* Navbar navigation menu styling */
.navbar-nav {
    text-align: center;
}

.nav-item {
    padding: 0 0.5rem; /* Spacing between nav items */
}

.nav-link {
    color: var(--text-color);
    font-size: 1.25rem; /* Increase font size for better readability */
    transition: color 0.3s ease-in-out;
}

    .nav-link:hover,
    .nav-link:focus {
        color: var(--accent-color);
    }

/* Responsive adjustments */
@media (max-width: 991px) {
    /* Move the logo to the right and toggler to the left when collapsed */
    .navbar-brand {
        order: 2; /* Logo to the end */
        margin-left: auto; /* Push logo to the edge */
    }

    .navbar-toggler {
        order: 1; /* Toggler to the start */
    }

    .navbar-collapse {
        order: 3; /* Menu in the middle */
        width: 100%;
    }

    .navbar-nav {
        text-align: left;
    }
    /* Make mobile menu more visible */
    .navbar-dark .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.75); /* Dark semi-transparent background for the collapsed menu */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Soft shadow around the menu for better visibility */
    }

    .navbar-dark .navbar-toggler {
        color: var(--secondary-color); /* Change toggler color if needed */
    }

    .navbar-dark .navbar-nav .nav-link {
        color: var(--secondary-color); /* Light color for the links on dark background */
    }
}


.starter-template {
    text-align: center;
    padding: 20px 15px; /* reduced padding */
    background-color: rgba(255, 255, 255, 0.8); /* slightly transparent background for a softer look */
    border-radius: 15px; /* rounded corners */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* soft shadow for depth */
    margin-bottom: 30px; /* space before the next content */
    transition: all 0.3s ease-in-out; /* smooth transition for hover effects */
}

    .starter-template:hover {
        background-color: rgba(255, 255, 255, 0.9); /* increase opacity on hover for focus */
        box-shadow: 0 6px 12px rgba(0,0,0,0.15); /* deeper shadow on hover */
    }

    /* Header styling */
    .starter-template > h1 {
        font-size: 2.5rem; /* adjusted font size */
        color: rgba(110,110,121,1); /* primary color for the header */
        margin-bottom: 20px; /* space between header and paragraph */
    }

    /* Leading paragraph styling */
    .starter-template > p.lead {
        font-size: 1.2rem; /* slightly larger font for emphasis */
        color: var(--text-color); /* consistent text color */
        line-height: 1.6; /* better line spacing for readability */
    }

/* Responsive adjustments for starter template */
@media (max-width: 768px) {
    .starter-template > h1 {
        font-size: 2rem; /* smaller font size on smaller screens */
    }

    .starter-template > p.lead {
        font-size: 1rem; /* smaller text on smaller screens */
    }
}

/* Footer base styling */
footer.footer {
    background-color: var(--primary-color); /* primary color background */
    color: var(--secondary-color); /* light color for text */
    padding: 20px 0; /* adjusted padding */
    font-size: 1rem; /* uniform font size */
    margin: 10px;
}

    /* Footer link styling */
    footer.footer a {
        color: #ffffff; /* white color for the link */
        text-decoration: none; /* no underline */
        transition: color 0.3s ease, text-decoration 0.3s ease; /* smooth transitions for hover effects */
    }

        footer.footer a:hover {
            color: var(--accent-color); /* accent color on hover */
            text-decoration: underline; /* underline on hover for emphasis */
        }

    /* Footer text styling */
    footer.footer p {
        margin-top: 10px; /* align to the top of its container */
        line-height: 1.6; /* better line spacing */
        color: #fff; /* white color for text */
        font-size:13px
    }

    /* Footer logo and brand info styling */
    footer.footer img {
        max-height: 50px; /* Adjust as needed */
    }

    /* Quick links list styling */
    footer.footer ul {
        list-style: none;
        padding: 0;
    }

        footer.footer ul li {
            margin-bottom: 5px; /* Spacing between list items */
        }

/* Ensure the footer content is centered across all screen sizes */
@media (max-width: 991px) {
    footer.footer .row .col-md-6, footer.footer .row .col-12 {
        display: block;
        text-align: center; /* Center content on smaller screens */
    }
}





.carousel-caption.custom-caption {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 5px;
}

.carousel-caption h5 {
    color: #fff;
}

.carousel-caption p {
    color: #ccc;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .carousel-caption.custom-caption {
        padding: 10px; /* Smaller padding */
    }

    .carousel-caption h5 {
        font-size: 16px; /* Smaller font size for h5 */
    }

    .carousel-caption p {
        font-size: 14px; /* Smaller font size for paragraph */
    }
}

@media (max-width: 576px) {
    .carousel-caption.custom-caption {
        padding: 5px; /* Even smaller padding for very small screens */
    }

    .carousel-caption h5 {
        font-size: 14px; /* Further reduce font size for h5 */
    }

    .carousel-caption p {
        font-size: 12px; /* Further reduce font size for paragraph */
    }
}

/* Additional styles */
header .navbar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

header .container::after {
    content: "";
    display: table;
    clear: both;
}

/* ... existing CSS styles ... */

/* Custom menu icon styles */
.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 24px; /* Adjust as needed */
    width: 30px; /* Adjust as needed */
    cursor: pointer;
}

.menu-line {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #fff; /* Color of the lines */
    transition: all 0.3s ease;
}

/* Transformations for X state */
.menu-icon.open .menu-line-1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-icon.open .menu-line-2 {
    opacity: 0;
}

.menu-icon.open .menu-line-3 {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Styling for service sections */
.row > .col-md-4 {
    margin-top: 20px;
    padding: 20px;
    background-color: var(--secondary-color); /* Light background for the service blocks */
    border: 1px solid #ddd; /* subtle border */
    border-radius: 10px; /* rounded corners */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* smooth transition for hover effect */
}

    .row > .col-md-4:hover {
        transform: translateY(-10px); /* lift effect on hover */
        box-shadow: 0 6px 12px rgba(0,0,0,0.15); /* deeper shadow on hover */
    }

    /* Enhance readability */
    .row > .col-md-4 h2 {
        font-size: 1.5rem; /* larger headings */
        color: var(--primary-color); /* primary color for headings */
        margin-bottom: 15px; /* spacing under headings */
    }

    .row > .col-md-4 p {
        font-size: 1.1rem; /* slightly larger paragraph text */
        color: var(--text-color); /* consistent text color */
        line-height: 1.6; /* improved line spacing for readability */
    }

/* Responsive adjustments for service sections */
@media (max-width: 768px) {
    .row > .col-md-4 {
        margin-top: 10px; /* smaller top margin on smaller screens */
        padding: 15px; /* smaller padding */
    }

        .row > .col-md-4 h2 {
            font-size: 1.3rem; /* smaller headings on smaller screens */
        }

        .row > .col-md-4 p {
            font-size: 1rem; /* smaller text on smaller screens */
        }
}
