:root {
            --primary-bg: #A3A3A3;
            --header-bg: #fff;
            --footer-bg: linear-gradient(to top, #C90001, #F1D953); 
            --text-color: #333;
        }

        body {
       
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background: var(--primary-bg);
            color: var(--text-color);
        }

        header {
            background: var(--header-bg);
            text-align: center;
            padding: 20px;
        }

        header img {
            max-width: 80%;
            height: auto;
        }

        .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  gap: 20px;
  text-align: left; /* Changed from center to fix form input alignment */
}
.containerx {
            
            max-width: auto; /* Adjusted for better centering */
            margin: auto;
            padding: 20px;
            justify-content: center;
           text-align:center;
        }

        .info {
            display: block;
            flex-wrap: wrap;
            max-width: 800px; /* Adjusted for better centering */
            margin: auto;
            padding: 20px;
            justify-content: center;
            
          
        }

        
         .form-group {
            margin-bottom: 15px;
            text-align: left;
        }
        label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }
        input {
            width: 80%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
        }
        button {
            background: #28a745;
            color: white;
            padding: 10px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            width: 100%;
        }
        button:hover {
            background: #218838;
        }
        .message {
            margin-top: 10px;
            padding: 10px;
            border-radius: 5px;
            font-size: 14px;
        }
        .alert {
            margin: 20px auto;
            padding: 15px;
            border-radius: 6px;
            max-width: 800px;
        }

        .alert ul {
            margin: 0;
            padding-left: 20px;
        }

        .alert ul li {
            margin-bottom: 6px;
        }
        .error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        .success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .mailer-summary {
            background: #f4f6fb;
            border: 1px solid #d9e1f2;
            border-radius: 8px;
            padding: 15px 20px;
            margin: 20px auto;
            max-width: 800px;
        }

        .credit-mailer-form {
            max-width: 800px;
            margin: 20px auto 40px auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .credit-mailer-form textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            min-height: 220px;
        }

        .credit-mailer-form button {
            width: auto;
            align-self: flex-start;
            padding: 12px 24px;
        }
        
        footer {
            background: var(--footer-bg);
            color: white;
            text-align: center;
            padding: 10px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .container {
                flex-direction: column;
                align-items: center;
            }
            .left, .center, .right {
                width: 100%;
                max-width: 600px;
            }
        }
        /* Basic table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
}

/* Table headers */
th {
background: #fff;



    color: blue;
    padding: 12px;
}

/* Table rows */
td {
    padding: 10px;
    border-bottom: 1px solid gold;
}

/* Alternate row colors */
tr:nth-child(even) {
    background: #f9f9f9;
}

.form-header {
    background: #f3f4f6;
}

/* Make table scrollable on small screens */
.table-container {
    width: 100%;
    overflow-x: auto;
}

@media (max-width: 768px) {
    /* Stack table rows for better mobile display */
    table {
        border: 0;
    }
    
    thead {
        display: none;
    }

    tr {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #ddd;
        
    }

    td {
        display: block;
        text-align: right;
        padding: 10px;
        position: relative;
        border-bottom: 1px solid #ddd;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
        text-align: left;
    }
}

        nav {
            height: 80px;
           background: linear-gradient(180deg, #C90001, #F1D953); 
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            z-index: 10;
        }

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

        .menu li {
            position: relative;
        }

        .menu li a {
            display: block;
            padding: 20px 25px;
            color: white;
            text-decoration: none;
            font-size: 18px;
        }

        .menu li:hover > .dropdown {
            display: block;
        }

        .dropdown {
            display: none;
            position: absolute;
            top: 100%; /* Ensures it appears just below the parent */
            left: 0;
            background: #357ae8;
            list-style: none;
            padding: 0;
            min-width: 150px;
        }

        .dropdown li a {
            padding: 10px 20px;
            display: block;
            color: white;
        }

        .dropdown li a:hover {
            background: #2556a1;
        }

        /* Hamburger Menu */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            position: absolute;
            right: 20px;
            top: 25px;
        }

        .hamburger div {
            width: 30px;
            height: 4px;
            background: white;
            margin: 5px 0;
        }

        @media (max-width: 768px) {
            .menu {
                display: none;
                flex-direction: column;
                background: #357ae8;
                position: absolute;
                top: 80px;
                width: 100%;
                left: 0;
            }

            .menu li {
                text-align: center;
            }

            .menu.active {
                display: flex;
            }

            .hamburger {
                display: flex;
            }
        }
        
         
.ad-section {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  text-align:center;
}

#ad img {
  max-width: 100%;
  height: auto;
}

#ad a {
  color: #3498db;
  text-decoration: none;
  font-weight: bold;
}

#ad a:hover {
  text-decoration: underline;
}
.dashboard-container {
  
  flex-direction: column;
  align-items: center;
  background: #f4f4f4;
  padding: 20px;
}

.member-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 300px;
  margin-bottom: 20px;
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #3498db;
  margin-bottom: 10px;
}

.member-card h2 {
  font-size: 22px;
  margin: 10px 0;
  color: #2c3e50;
}

.member-card p {
  font-size: 16px;
  color: #7f8c8d;
}

/* How-To Guide */
.how-to-guide {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 80%;
  text-align: left;
}

.how-to-guide h3 {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 10px;
  border-bottom: 2px solid #3498db;
  padding-bottom: 5px;
}

.how-to-guide .step {
  margin: 15px 0;
}

.how-to-guide h4 {
  font-size: 18px;
  color: #3498db;
}

.how-to-guide p {
  font-size: 16px;
  color: #2c3e50;
  line-height: 1.5;
}

.how-to-guide ul {
  padding-left: 20px;
}
.sign_button{
    display: inline-block; 
    padding: 12px 24px; 
    font-size: 18px; 
    font-weight: bold; 
    color: white; 
    text-decoration: none; 
    
    background: linear-gradient(45deg, #C90001, #F1D953); 
    border-radius: 8px; 
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2); 
    transition: all 0.3s ease-in-out;
}
.three-column {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.three-column .left,
.three-column .center,
.three-column .right {
  flex: 1;
  min-width: 280px;
}

.three-column .left,
.three-column .right {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  color: #555;
  font-size: 15px;
}

.three-column .center {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
/* Accordion Toggle Buttons for Mobile */
.accordion-toggle {
  display: none;
  background: #C90001;
  color: white;
  width: 100%;
  padding: 12px;
  font-size: 18px;
  border: none;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  margin-bottom: 10px;
}

.accordion-toggle:after {
  content: "▼";
  float: right;
  font-size: 14px;
}

.accordion-toggle.active:after {
  content: "▲";
}

/* Accordion content area */
.accordion-content {
  display: block;
}

@media (max-width: 768px) {
  .accordion-toggle {
    display: block;
  }
  .accordion-content {
    display: none;
  }

  .accordion-content.open {
    display: block;
  }
}
