/* Add font-family to root variables */

:root {
    --primary-color: #115249;
    --secondary-color: #333333;
    --bg-light: #f5f5f5;
    --text-dark: #222222;
    --text-light: #ffffff;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --font-family: 'Manrope', sans-serif;
}


/* Apply the font-family globally */

html,
body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
}


/* Apply to specific elements where needed */

.nav-link,
.tagline,
.footer-content,
.link-column,
.copyright-bar {
    font-family: var(--font-family);
}


/* Ensure font weights for Manrope are used correctly */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family);
    font-weight: 700;
    /* Bold */
}

.nav-link {
    font-weight: 500;
    /* Medium */
}

.nav-link.active {
    font-weight: 700;
    /* Bold */
}

p,
a,
li,
span {
    font-family: var(--font-family);
    font-weight: 400;
    /* Regular */
}

strong,
b {
    font-weight: 700;
    /* Bold */
}


/* ===== General Container ===== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}


/* ===== Header Styles ===== */

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    outline: none;
    z-index: 1050;
    position: relative;
    width: 30px;
    height: 25px;
    display: none;
    /* Hidden by default, shown in mobile view */
}

button.mobile-menu-btn.active span {
    background-color: #ffffff;
}

a.nav-link {
    color: #ffffff;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    margin: 6px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}


/* ===== Footer Styles ===== */

.site-footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    font-family: 'Manrope';
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
    order: 1;
    position: relative;
    top: 0;
}

.tagline {
    font-size: 18px;
    margin-top: 15px;
    /* Reduced from 70px to place it right below the icons */
    order: 3;
    /* Ensures it appears after the icons */
    font-family: 'Manrope';
}

.contact-icons {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    order: 2;
    /* Icons second */
}

.contact-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
}

.contact-icons i {
    margin-right: 5px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.link-column {
    flex: 1;
    min-width: 160px;
}

.link-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.link-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-column li {
    margin-bottom: 12px;
}

.link-column a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.link-column a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.copyright-bar {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Dropdown base */
.dropdown {
  position: relative;
}

/* Dropdown toggle icon */
.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Dropdown caret */
.caret {
  font-size: 12px;
  transition: transform 0.3s;
}

/* Menu */
/* Active (mobile click) */
.dropdown.active .dropdown-menu {
  display: flex;
}

.dropdown-link {
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.dropdown-link:hover {
  background-color: #f5f5f5;
}

/* Show dropdown on hover (desktop only) */
@media (min-width: 769px) {
    .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 4px;
  flex-direction: column;
  z-index: 999;
}
    .dropdown {
  padding:15px 0;
}
  .dropdown:hover .dropdown-menu {
    display: flex;
  }
  .dropdown:hover .caret {
    transform: rotate(180deg);
  }
 
}
@media (max-width: 769px) {
            .dropdown-menu{
                position: relative;
                 display: none;
                 flex-direction: column;
            }
 .nav-link.dropdown-toggle{
      color:white;
      font-size:18px;
          justify-content: space-between;
  }
  .dropdown-menu a {
    font-size: 16px;
            padding: 10px 5px 10px 16px;
            margin-top:15px;
}
.dropdown {
    width: 100%;
    padding:15px 0;
}
}




/* ===== Responsive Styles ===== */

@media screen and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
}

@media screen and (max-width: 768px) {
    .nav-link::after {
        background-color: white;
    }
    .nav-link:hover,
    .nav-link.active {
        color: white;
        font-weight: 700;
    }
    /* Container width adjustments */
    .container {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    /* Header adjustments */
    .sticky-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    .header-content {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
    }
    /* Logo size adjustments */
    .logo img {
        height: 40px;
    }
    /* Mobile menu button display */
    .mobile-menu-btn {
        display: block !important;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        position: relative;
        z-index: 2000;
        width: 30px;
        height: 24px;
    }
    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #333;
        margin: 5px 0;
        transition: all 0.3s ease-in-out;
        border-radius: 1px;
    }
    /* Hamburger to X animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    /* Menu panel styling */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100%;
        background-color: #0A483C;
        /* Dark green background from your image */
        flex-direction: column;
        align-items: flex-start;
        transition: right 0.3s ease-in-out;
        padding: 80px 30px 30px;
        z-index: 1500;
        overflow-y: auto;
    }
    .nav-links.active {
        right: 0;
    }
    /* Menu items styling */
    .nav-links a {
        color: white;
        text-decoration: none;
        font-size: 18px;
        padding: 15px 0;
        display: block;
        width: 100%;
    }
    /* Site map and category headers in menu */
    .nav-links h3 {
        color: white;
        font-size: 22px;
        margin: 30px 0 15px;
        font-weight: 500;
    }
    /* Divider lines between sections */
    .nav-section {
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(151, 151, 151, 0.2);
        width: 100%;
    }
    /* No border on last section */
    .nav-section:last-child {
        border-bottom: none;
    }
    /* Prevent body scrolling when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    /* Add overlay when menu is open */
    body.menu-open::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    .footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    font-family: 'Manrope';
    text-align: center;
    flex-direction: column;
     }
    .footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-direction: column;
    }
    .footer-logo {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
}


/* Smaller screen adjustments */

@media screen and (max-width: 480px) {
    .logo img {
        height: 35px;
    }
}


/* Social icons styling */

.social-icons {
    display: flex;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 15px;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-icon i {
    font-size: 20px;
    color: white;
}


/* Desktop navigation styling (hidden on mobile) */

@media screen and (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
    .nav-links {
        display: flex;
        flex-direction: row;
        gap: 30px;
    }
    .nav-links a {
        color: #333;
        text-decoration: none;
        position: relative;
    }
    .nav-links a:hover,
    .nav-links a.active {
        color: #0a1148;
    }
    .nav-section {
        display: none;
    }
}