/* Reset for padding and margin calculations */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: sans-serif;
        }

        header, footer, copyright {
            width: 100%;
            padding: 1rem;
            background-color: #37063A;
            color: white;
            text-align: center;
        }

        content {
            width: 100%;
            max-width: 1200px; /* Adjust this to your preference */
            margin: 0 auto;    /* Centers the main content */
            padding: 10rem;     /* Provides safe spacing on mobile */
            min-height: 500vh; /* Just for layout demo */
        }
		
		/* Base footer styling */
footer {
  background-color: #37063A;
  color: white;
  width: 100%;
}
.copyright {
  background-color: #37063A;
  color: white;
  width: 100%;
}

.footer-column h3 {
  color: #37063A;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #fff;
}
		
	.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  max-width: 1800px;
  margin: 0 auto;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}


#header {
    background: #37063A !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
    width: 100%;
    min-height: 80px;
}

/* Logo Styles */
#header > a {
    display: flex;
    align-items: center;
}

/* Navigation Structure */
.navmenu {
    display: flex;
    align-items: center;
}

.navmenu ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.navmenu > ul > li {
    position: relative;
}

.navmenu > ul > li > a {
    color: white;
    text-decoration: none;
    padding: 30px 20px;
    display: block;
    font-family: Arial, sans-serif;
    font-size: 16px;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.navmenu > ul > li > a:hover {
    background-color: #4a084e;
}

/* Dropdown Menus - FIXED: Vertical list */
.navmenu > ul > li > ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: block; /* Ensure it's a block element */
}

.navmenu > ul > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navmenu > ul > li > ul li {
    display: block; /* Force vertical stacking */
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
}

.navmenu > ul > li > ul li:last-child {
    border-bottom: none;
}

.navmenu > ul > li > ul a {
    color: #333;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    font-family: Arial, sans-serif;
    font-size: 14px;
    transition: background-color 0.2s;
    width: 100%;
    white-space: nowrap;
}

.navmenu > ul > li > ul a:hover {
    background-color: #f5f5f5;
    color: #37063A;
}

/* Arrows only for items with submenus - FIXED */
.navmenu > ul > li:has(> ul) > a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 8px;
    opacity: 0.7;
}

/* No arrows for items without submenus */
.navmenu > ul > li:not(:has(> ul)) > a::after {
    display: none;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
}

.mobile-nav-toggle::before,
.mobile-nav-toggle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: white;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-nav-toggle::before {
    top: 6px;
    box-shadow: 0 10px 0 white;
}

.mobile-nav-toggle::after {
    bottom: 6px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    #header {
        flex-wrap: wrap;
        padding: 10px 15px;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .navmenu {
        width: 100%;
        order: 3;
    }

    .navmenu ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #4a084e;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        padding: 0;
    }

    .navmenu > ul > li {
        width: 100%;
        border-bottom: 1px solid #5a0a5f;
    }

    .navmenu > ul > li > a {
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Dropdown arrow for mobile - only for items with submenus */
    .navmenu > ul > li:has(> ul) > a::after {
        content: '▼';
        font-size: 12px;
        margin-left: 10px;
        transition: transform 0.3s;
    }

    /* No arrows for items without submenus on mobile */
    .navmenu > ul > li:not(:has(> ul)) > a::after {
        display: none;
    }

    /* Nested dropdowns for mobile */
    .navmenu > ul > li > ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #5a0a5f;
        display: none;
        width: 100%;
        min-width: auto;
    }

    .navmenu > ul > li > ul a {
        color: white;
        padding: 12px 30px;
        border-bottom: 1px solid #6a0b6f;
    }

    .navmenu > ul > li > ul li:last-child a {
        border-bottom: none;
    }

    /* Active states for mobile */
    .navmenu.active ul {
        display: flex;
    }

    .navmenu > ul > li.active > ul {
        display: block;
    }

    .navmenu > ul > li.active > a::after {
        transform: rotate(180deg);
    }

    /* Hamburger animation when active */
    .navmenu.active + .mobile-nav-toggle::before {
        transform: rotate(45deg);
        top: 14px;
        box-shadow: none;
    }

    .navmenu.active + .mobile-nav-toggle::after {
        transform: rotate(-45deg);
        bottom: 14px;
    }
}
		