/* General Navbar Styling */

.navbar {
    padding: 15px 30px;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    /* Ensures no wrapping in desktop view */
}


/* Logo Styling */

.logo {
    height: 70px;
    transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out;
    filter: brightness(0.9);
}

.logo:hover {
    transform: scale(1.2);
    filter: brightness(6.9);
}


/* Navbar Links */

.navbar-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    /* Ensures items align to the right */
}

.navbar-nav .nav-link {
    font-size: 1.5rem;
    color: silver !important;
    padding: 10px 20px;
    font-weight: 600;
    position: relative;
    margin: 0 10px;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffc107;
    transition: width 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover:before {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
}


/* Navbar Toggler */

.navbar-toggler {
    border-color: #fff;
    transition: transform 0.4s ease-in-out;
}

.navbar-toggler:hover {
    transform: rotate(90deg);
}


/* Dropdown Menu Styling */

.dropdown-menu {
    background-color: #444;
    border: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.dropdown-item {
    color: #fff !important;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #ffc107 !important;
    color: #333 !important;
}


/* Responsive Styling */

@media (max-width: 768px) {
    .navbar {
        justify-content: center;
        flex-wrap: wrap;
    }
    .logo {
        position: relative;
        left: 0;
        transform: none;
        height: 50px;
        margin-bottom: 10px;
        /* Center logo in mobile */
    }
    .navbar-toggler {
        position: absolute;
        right: 20px;
        top: 15px;
    }
    .collapse {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .navbar-nav {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    .navbar-nav .nav-link {
        padding: 10px 0;
        margin: 0;
        width: 100%;
    }
}


/* General styles for body */


/* General Styles */

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #eaeaf2;
    /* Soft background color */
    color: #333;
    /* Dark text for readability */
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
}

header {
    background: linear-gradient(135deg, #ff5e62, #ff9966);
    /* Gradient background for header */
    color: #fff;
    /* White text color for contrast */
    padding: 20px 0;
    text-align: center;
    animation: fadeIn 1s;
    /* Fade in effect for header */
}

h1 {
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    /* Shadow for depth */
}


/* Container */

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}


/* Company Info Section */

.company-info {
    margin-bottom: 40px;
}

.company-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ff5e62;
    /* Accent color */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}


/* Services Section */

.services {
    text-align: center;
    /* Centering the heading */
}

.services h2 {
    font-size: 2rem;
    /* Heading size */
    color: #ff5e62;
    /* Heading color */
    margin-bottom: 30px;
    /* Space below the heading */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    /* Shadow for depth */
}

.service-box {
    background-color: #fff;
    /* White background for boxes */
    border-radius: 15px;
    /* Rounded corners */
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Animation effects */
    position: relative;
    /* Position for pseudo-element */
    perspective: 1000px;
    /* Set perspective for 3D effect */
    margin: 0 auto;
    /* Center the service boxes */
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    /* Overlay effect */
    border-radius: 15px;
    z-index: 1;
    /* Ensure it's below content */
    transition: transform 0.3s ease;
    transform: translateZ(-1px) scale(1.05);
    /* Initial 3D effect */
}

.service-box h3 {
    font-size: 1.5rem;
    color: #ff9966;
    /* Soft orange color for headings */
    margin: 0 0 10px 0;
    z-index: 2;
    /* Ensure text is above overlay */
    position: relative;
    /* Position relative for z-index */
}

.service-box p {
    color: #666;
    /* Gray text for descriptions */
}


/* Hover Effects */

.service-box:hover {
    transform: translateY(-10px) rotateY(5deg);
    /* Lift and slight rotation on hover */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    /* Enhanced shadow on hover */
}

.service-box:hover::before {
    transform: translateZ(-1px) scale(1.1);
    /* Increase the scale of overlay */
}


/* Keyframes for Fade In */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Media Queries */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        /* Smaller heading on mobile */
    }
    .service-box h3 {
        font-size: 1.25rem;
        /* Smaller service heading on mobile */
    }
    /* Stack service boxes in one column on mobile */
    .services {
        display: block;
    }
}


/* team members */


/* General Styling */


/* General Styles */

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #eaeaf2;
    color: #333;
    overflow-x: hidden;
}

header {
    background: linear-gradient(135deg, #ff5e62, #ff9966);
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin: 0;
}

.team {
    padding: 20px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    padding: 20px;
}

.team-member {
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member img {
    width: 100%;
    height: auto;
    /* Maintain aspect ratio */
    border-radius: 15px 15px 0 0;
    /* Top corners rounded */
    transition: transform 0.3s;
}

.team-member h3 {
    font-size: 1.5rem;
    margin: 10px 0 5px;
    color: #333;
}

.team-member p {
    margin: 0;
    color: #666;
}


/* Hover Effects */

.team-member:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
}

.team-member:hover img {
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
}


/* Responsive Styles */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        /* Smaller heading on mobile */
    }
    .team-member h3 {
        font-size: 1.3rem;
        /* Smaller name font */
    }
    .team-member p {
        font-size: 1rem;
        /* Smaller description font */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
        /* Even smaller heading on mobile */
    }
    .team-member {
        padding: 10px;
        /* Smaller padding for mobile */
    }
    .team-member h3 {
        font-size: 1.2rem;
        /* Even smaller name font */
    }
    .team-member p {
        font-size: 0.9rem;
        /* Even smaller description font */
    }
}


/* Footer Styles */

footer {
    background-color: #0b4075;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 0;
}

header {
    background: linear-gradient(#3667cd, #c51e2a);
    /* Gradient background */
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}