body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.hero {
    background: var(--gradient);
    padding: 8rem 2rem 6rem;
    margin-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero {
    background: var(--gradient);
    padding: 6rem 2rem 4rem;
    margin-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before,
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><path d="M0,20 C200,80 400,0 600,40 C800,80 900,20 1000,40 L1000,100 L0,100 Z"/></svg>') repeat-x;
    animation: wave 20s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-50px); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p,
.page-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo i {
    color: var(--accent-color);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}
.nav a.active {
    background: var(--gradient);
    color: var(--white);
}
#submit_button{
    border-style: ridge;
    border-color: aqua;
    border-width: 5px;
}
#clearCanvas{
    border-style: ridge;
    border-color: aqua;
    border-width: 5px;
    width: 85px;
}

th{
    text-align: center;
}
.button_cell{
    display: flex;
    flex-direction: column;
}





#buttons button{
    width: 100%;
}
#buttons a{
    width: 100%;
}
#buttons{
 height: 100%;
}


      
    
      
       
       
       

th input {
    width: 100%; /* Ensures the inputs take the full width of their columns */
    padding: 5px;
    box-sizing: border-box;
}

/* Assign different widths to specific search fields */
.ser1 { width: 100px; } /* Title */
.ser2 { width: 100px; } /* Type */
.ser3 { width: 100px; } /* Target Group */
.ser4 { width: 100px; } /* Organized By */
.ser5 { width: 100px; } /* In Charge Officer */
.ser6 { width: 100px; } /* Organizing Committee */
.ser7 { width: 100px; } /* Date */

