/* General styling */
body {
    font-family: 'DM Sans', sans-serif;
}

/* Navbar styling */
.tcnavbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #fff; /* White background for navbar */
    padding: 15px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow */
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Logo styling */
.tcnavbar .logo {
    /* max-width: 150px; Adjust logo size */
    float: left;
    padding: 1px 5px;
    height: 40px;
    margin-top: 5px;
    margin-left: 60px;
    /* margin-right: 50px; */
}

/* Menu items styling */
.tcmenu-items {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.tcmenu {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.tcmenu li {
    position: relative;
    margin-left: 20px;
}

.tcmenu li a {
    text-decoration: none;
    color: #000; /* Black text */
    padding: 10px 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.tcmenu li a:hover {
    color: #007bff; /* Optional hover effect color */
}

/* Submenu styling */
.tcmenu li ul {
    display: none; /* Hide submenu by default */
    position: absolute;
    top: 100%; /* Position submenu below the parent menu item */
    left: 0;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    list-style-type: none;
    z-index: 1000; /* Ensure submenu appears on top */
}

.tcmenu li ul li {
    margin: 0;
}

.tcmenu li ul li a {
    padding: 10px;
    display: block;
    white-space: nowrap;
}

.tcmenu li:hover ul {
    display: block; /* Show submenu on hover */
}

.tcmenu li ul li a:hover {
    color: #007bff; /* Hover effect for submenu items */
}

/* Hide the link that should open and close the topnav on small screens */
.tcnavbar .icon {
    display: none;
}
.tcnavbar .icon i {
    color: #6c3483;
    background-color: #e8edfb; /* Set your desired background color */
    border-radius: 20%; /* Optional: Make it circular */
    padding: 10px; /* Optional: Add some padding */
    margin-top: -5px;
}

/* Style for the right section */
.tcnavbar .right-section {
    float: right;
    display: flex;
    align-items: center;
    margin-right: 60px;
    margin-left: auto;
    
}

/* Style for the call us section */
.tcnavbar .call-us {
    text-align: right;
    margin-right: 20px;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
}

.tcnavbar .call-us p {
    margin: 0;
    color: #6c3483;
    font-size: 15px;
    font-weight: bold;
}

.tcnavbar .call-us .phone-number {
    font-size: 14px;
    color: #110505;
}

.tcnavbar .separator {
    width: 1px;
    height: 40px;
    background-color: #ddd;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    margin: 0 10px;
}


/* Style for the contact us button */
.tcnavbar .contact-button {
    background-color: #0c3e75; /* Original background color */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 17px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

/* Change the background color on hover */
.tcnavbar .contact-button:hover {
    background-color: #000; /* Black background color on hover */
    color: white; /* Ensure text color is white for better contrast */
}
/* Default phone icon style */
.call-us i {
    /* margin-right: 8px; */
    margin-left: 8px;
    transition: transform 0.5s ease; /* Smooth transition */
  }
  
  /* Rotate the icon on hover */
  .call-us:hover i {
    transform: rotate(90deg); /* Rotate 360 degrees clockwise */
  }

/* For screens wider than 768px (Tablet and Desktop) */
@media screen and (max-width: 990px) {
    /* Navbar: Adjust flex direction for smaller screens */
    .tcnavbar {
        flex-direction: column; 
        align-items: flex-start;
        padding: 10px;
        height: auto;
    }

    /* Adjust logo styling */
    .tcnavbar .logo {
        margin: 0 0 10px 10px; /* Adjust margins for small screens */
        height: 35px; /* Adjust logo size */
    }

    /* Menu items hidden initially, shown when toggled */
    .tcmenu-items {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: left;
    }

    /* Ensure menu items stack vertically */
    .tcmenu li {
        display: block;
        width: 100%;
        padding: 10px 0;
        text-align: center;
        line-height: 0.5px;
    }
    .tcmenu li ul {
        
        display: none;
        position: relative;
        top: 100%;
        left: 0;
        background-color: #fff;
        padding: 10px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        list-style-type: none;
        z-index: 1000;
    }
    .tcmenu li:hover > ul {
        display: none; 
    }

    /* Show mobile menu icon */
    .tcnavbar .icon {
        display: block;
        cursor: pointer;
        margin-right: 20px;
        /* margin-left: auto; */
        position: absolute; /* Fix it to the top right */
        top: 15px; /* Adjust positioning as needed */
        right: 20px; /* Keep it aligned to the right */
    }

    /* Style for the mobile menu */
    .tcnavbar.responsive .tcmenu-items {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: left;
    }

    /* Make sure menu takes full width */
    .tcnavbar.responsive .tcmenu {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        
    }

    /* Each menu item takes full width */
    .tcnavbar.responsive .tcmenu li {
        display: block;
        width: 100%;
        margin: auto;
        
        
    }
  /* Each menu item takes full width */
    .tcnavbar.responsive .tcmenu li ul {
       background-color:  mintcream;   
    }

    /* Links stretch across the screen */
    .tcnavbar.responsive .tcmenu li a {
        display: block;
        width: 100%;
        padding: 10px;
        text-align: left;
        
    }

    /* Hide right-section on mobile */
    .tcnavbar .right-section {
        display: none;
    }
}

/* For screens wider than 600px but less than 768px (Tablet landscape) */
@media screen and (max-width: 768px) {
    /* Adjust logo size for medium screens */
    .tcnavbar .logo {
        height: 30px;
        margin-left: 10px;
    }

    /* Menu items hidden until toggled */
    .tcmenu-items {
        display: none;
        width: 100%;
    }

    /* Make menu links more compact */
    .tcnavbar.responsive .tcmenu li a {
        padding: 8px;
        font-size: 14px;
    }
}

/* For screens up to 600px (Mobile devices) */
@media screen and (max-width: 600px) {
    /* Adjust logo size */
    .tcnavbar .logo {
        height: 25px;
        margin-left: 5px;
    }

    /* Menu icon adjustments */
    .tcnavbar .icon i {
        padding: 5px;
        margin-top: -5px;
    }

    /* Adjust the call-us section font sizes */
    .tcnavbar .call-us p {
        font-size: 12px;
    }

    .tcnavbar .call-us .phone-number {
        font-size: 11px;
    }

    /* Adjust button size and font */
    .tcnavbar .contact-button {
        padding: 8px 15px;
        font-size: 14px;
    }
}