/* General Styles */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #1a0033, #7200ca);
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 2.5rem;
    margin-top: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

p1 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    margin-right: 40px;
    margin-left: 40px;
    display: flex;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.3);
}


/* Directory Popup Menu */
.directory-container {
    position: absolute;
    top: 14px; /* Adjust distance from the top */
    right: 10px; /* Pushes the menu to the right side */
    display: inline-block;
}

.directory {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    cursor: pointer;
}

.directory:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

/* Dropdown Content (Hidden by Default) */
.directory-menu {
    display: none;
    position: absolute;
    top: 100%; /* Positions menu below the button */
    right: 0; /* Aligns menu with button on the right */
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    min-width: 150px;
    z-index: 10;
    padding: 5px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Menu Links */
.directory-menu a {
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    text-align: left;
}

.directory-menu a:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Show Menu on Click */
.directory-container.active .directory-menu {
    display: block;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .directory-container {
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .directory {
        width: auto;
        text-align: center;
        margin-bottom: 8px;
    }
}

@supports (-webkit-touch-callout: none) {
  .directory-menu {
    background: rgba(0, 0, 0, 0.4); /* Darker transparent background for iOS Safari */
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .directory-menu a {
    color: white;
  }

  .directory-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
  }
}

/* ðŸ“± Mobile-Specific Fixes */
@media (max-width: 768px) {
    .table-container {
        overflow-x: auto;
    }

    table {
        font-size: 14px;
    }

    th, td {
        padding: 8px;
    }
}

/* ðŸŒŸ Responsive Table Container */
.table-container {
    width: auto;
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.15); /* Light transparency for a glassmorphic look */
    padding: 12px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow */
}

/* ðŸŒˆ Vibrant Table */
table {
    width: auto;
    border-collapse: collapse;
    background: linear-gradient(135deg, #1E40AF, #3B82F6);
    min-width: 1300px;
    border-radius: 10px;
    overflow: hidden;
}

/* ðŸ† Button-Style Headers */
th {
    background: linear-gradient(90deg, #4F46E5, #6D28D9);
    color: white;
    padding: 14px;
    text-align: center;
    font-weight: bold;
    border-bottom: 2px solid #818CF8;
    cursor: pointer; /* Makes them feel like buttons */
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    border-radius: 5px;
}

/* ðŸŽ› Press Effect on Click */
th:active {
    transform: scale(0.95);
    background: #6D28D9; /* Darken slightly */
}

/* ðŸ“Œ Table Data Cells */
td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* ðŸ Alternating Row Colors */
tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

/* âœ¨ Glow Hover Effect */
tr:hover {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1); /* Glows on hover */
    transition: all 0.3s ease-in-out;
}

/* ðŸ”¥ Scroll Bar Customization */
.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #4F46E5;
    border-radius: 4px;
}

/* ðŸ’¡ Optional: Subtle Outer Glow for Entire Table */
.table-container {
    box-shadow: 0px 0px 15px rgba(79, 70, 229, 0.5);
}

a {
    color: white;
    text-decoration: underline;
}

h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 12px;
    margin-left: 8px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    float: center;
    
    /*padding: 5px 8px;*/
    /*background: rgba(255, 255, 255, 0.1);*/
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
}

.logo {
    display: block;
    margin-left: 5px;
    margin-top: 2px;
    width: 80px;
    height: 80px;
    float: left;
    object-fit: cover;
}

.sect {
    display: flex;
    align-items: left;
    justify-content: left;
}

/*new additions for homepage*/

/* Header Section */
header {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.2);
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.3);
}

.glow {
    color: #fff;
    text-shadow: 0 0 10px #00eaff, 0 0 20px #00eaff;
}

/* Sections */
section {
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    background: linear-gradient(45deg, #00eaff, #7200ca);
    border-radius: 25px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5);
}

/* Projects Section */
.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project {
    width: 250px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2);
}
.project:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.4);
}

/*contact page addition*/
/* Contact Section */
#contact {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(to bottom, #3b0066, #240046);
    color: white;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.contact-info,
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 400px;
}

/* Contact Links */
.contact-info a {
    color: #87CEEB;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Form Styling */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* Send Button */
.contact-form button {
    background: #6a0dad;
    color: white;
    padding: 12px;
    border: none;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #8a2be2;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.7);
}
/* Blog Section */
#blog {
    text-align: center;
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 20px;
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.2);
}

/* Blog Container */
.blog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Blog Post Cards */
.blog-post {
    width: 320px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Glow Effect on Hover */
.blog-post:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.4);
}

/* Blog Date */
.blog-date {
    font-size: 0.9rem;
    color: #bdbdbd;
    margin-bottom: 10px;
}

/* Affiliates Section */
#affiliates {
    text-align: center;
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 20px;
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.2);
}

/* Affiliate Container */
.affiliate-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Individual Affiliate Card */
.affiliate {
    width: 320px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Affiliate Image */
.affiliate img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Glow Effect on Hover */
.affiliate:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.4);
}

/* Affiliate Buttons */
.affiliate .btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 15px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    background: linear-gradient(45deg, #00eaff, #7200ca);
    border-radius: 25px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.affiliate .btn:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5);
}

/* Social Media Links */
.social-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
    font-size: 1.4rem;
    padding-bottom: 5px;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* Social Media Icons */
.social-links img {
    width: 40px; /* Adjust icon size */
    height: 40px;
    border-radius: 30%;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.3);
    transition: box-shadow 0.3s ease-in-out;
    text-align: top;
}

.social-links img:hover {
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5);
}


/*MOBILE FIXES*/


