:root{
    --tp-theme-1: #07627F;
    --tp-theme-2: #009D9E;
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}
.whatsapp-icon-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1000;
}

.tooltip {
  margin-right: 10px;
  background-color: #25d366; /* WhatsApp green */
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 8px;
  white-space: nowrap;
  display: none; /* Initially hidden */
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #25d366;
}

.whatsapp-icon {
  width: 50px;
  height: 50px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

.whatsapp-icon img {
  width: 40px;
  height: 40px;
}

/* Show tooltip on hover */
.whatsapp-icon-container:hover .tooltip {
  display: block;
}

/* Header Styles */
header {
    border-bottom: 1px solid #ddd;

}


/* Top Row Styles */
.top-row {
    background-color: var(--tp-theme-1);
    color: #fff;
    width: 100%;
    /* Ensures full width */
    padding: 15px 20px;
}

.top-row-container {
    max-width: 1200px;
    /* Center the content */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.top-row-container .contact-info span {
    margin-right: 15px;
}

.top-row-container .social-icons a {
    margin-left: 10px;
    text-decoration: none;
    /* color: #333; */
    color: #fff;
}



/* Main Row remains the same */
.main-row {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    background: #fff;
}


.logo {
    font-size: 24px;
    font-weight: bold;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
}

.nav-links .main-nav {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    /* font-family: ""; */
    text-decoration: none;
    color: var(--tp-theme-1);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6px;
}

.nav-links a:hover {
    color: var(--tp-theme-2);
}

/* Dropdown Styles */
.dropdown-menu {
    position: absolute;
    width: 180px;
    top: 100%;
    left: 0;
    display: none;
    list-style: none;
    background: #fff;
    /* padding: 10px; */
    /* border: 1px solid #ddd; */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    border-radius: 5px;
    border-top:2px solid var(--tp-theme-1);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    /* margin-bottom: 5px; */
    padding: 10px 10px;
    border-radius: 5px;
    border-bottom: 0.3px solid #cef2f2;
}
.dropdown-menu li:hover {
    background-color: var(--tp-theme-2);
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}
.dropdown-menu a:hover {
    color: #fff;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background-color: var(--tp-theme-1);
    color: white;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.5);
    transition: left 0.3s ease;
    z-index: 20;
}

.sidebar.active {
    left: 0;
}

.sidebar a {
    text-decoration: none;
    color: white;
    margin: 10px 0;
    font-size: 18px;
}

.sidebar a:hover {
    color: var(--tp-theme-2);
}

.sidebar .close-sidebar {
    display: flex;
    justify-content: end;
    margin-bottom: 20px;
    font-size: 24px;
    cursor: pointer;
}

.sidebar-dropdown {
    position: relative;
}

.sidebar-dropdown-menu {
    display: none;
    list-style: none;
    padding-left: 20px;
    background-color: var(--tp-theme-1);
    /* Slightly darker than sidebar background */
    border-left: 2px solid var(--tp-theme-1);
    margin-top: 10px;
}

.sidebar-dropdown-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 0;
    display: block;
}

.sidebar-dropdown-menu a:hover {
    color: var(--tp-theme-2);
}

.sidebar-dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    margin: 10px 0;
    cursor: pointer;
}

.sidebar-dropdown.active .sidebar-dropdown-menu {
    display: block;
}



/* Adjust body content when sidebar is active */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 15;
}

.overlay.active {
    display: block;
}



/* Popup Button */
.popup-btn {
    background-color: var(--tp-theme-1);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Add transition here */
}

.popup-btn:hover {
    background-color: var(--tp-theme-2);
    /* Smooth transition for background color */
    transform: scale(1.05);
    /* Optional: Slight scale effect on hover */
}

/* Popup Styles */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .top-row-container {
        justify-content: center;
        align-items:center;
        flex-direction:column;
        padding: 0px;
    }
    .top-row {
        padding:0px 10px;
    }
    

    .social-icons {
        display: none;
    }

    .contact-info span {
        font-size: 13px;
    }


    .popup-btn {
        display: none;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #fff;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 10;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 10px;
        padding: 10px 20px;
    }

    .hamburger {
        display: block;
        font-size: 24px;
        cursor: pointer;
        background: none;
        border: none;
        padding: 10px;
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}
