/* General Styles */
body {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #222;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 60px; /* Adjust size as needed */
    border-radius: 50px;
    margin-left: 20px;
}
.logo-text {
    font-size: 25px;
    font-weight: bold;
    display: inline-block;
    color: white;
    margin-left: 10px;
}

.logo-text span {
    display: inline-block;
    transition: text-shadow 0.3s ease-in-out, transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.logo-text span:hover {
    color: #ffcc00; /* Glowing color */
    text-shadow: 0 0 10px #ffcc00, 0 0 20px #ff9900, 0 0 30px #ff6600;
    transform: scale(0.7); /* Zoom-out effect */
}

/* Adjust the nav-links to move left */
.nav-links {
    display: flex;
    gap: 20px;
    margin-left: 0;
    margin-right: 100px;
}

/* Navigation links */
.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 15px;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover {
    background-color: #FFA500;
    color: #000;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.6); /* Shadow effect on hover */
}
/* Contact Button Styling */
.nav-links a:last-child {
    background: linear-gradient(45deg, #ff7e00, #ffcc00);
    color: #222;
    font-weight: bold;
    border-radius: 15px;
    padding: 10px 20px;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.6);
}

.nav-links a:last-child:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 140, 0, 0.8);
}
/* Dark Theme for Resources Page */
body {
    background-color: #121212;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

/* Centered Title */
.resources {
    text-align: center;
    padding: 50px 20px;
}

.resources h1 {
    font-size: 40px;
    color: #ff9800;
    text-shadow: 0 0 10px #ff9800;
}

.resources p {
    font-size: 18px;
    color: white;
    margin-bottom: 30px;
}

/* Grid Layout for Categories */
.resource-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

/* Resource Box Styling */
.resource-category {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(255, 153, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background 0.3s ease-in-out;
    border: 1px solid rgba(255, 153, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.resource-category .btn {
    margin-top: auto; /* Push button to the bottom */
    align-self: center; /* Centers the button horizontally */
}

/* Hover Effects: Background Change & Zoom-Out Animation */
.resource-category:hover {
    transform: scale(0.95); /* Zoom-out effect */
    background: linear-gradient(135deg, #ff7e00);
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.5);
}

/* Icons Animation */
.resource-category::before {
    content: attr(data-icon);
    font-size: 40px;
    color: orange;
    opacity: 0.8;
    transition: transform 0.3s ease-in-out;
}

/* Scale Down Icon on Hover */
.resource-category:hover::before {
    transform: scale(0.9);
    opacity: 1;
}

/* Category Title Styling */
.resource-category h2 {
    font-size: 22px;
    color: #fff;
    margin-top: 10px;
    transition: color 0.3s ease-in-out;
}

/* Change Title Color on Hover */
.resource-category:hover h2 {
    color: orange;
}

/* Category Description */
.resource-category p {
    font-size: 16px;
    color: orange;
    margin-bottom: 15px;
    transition: color 0.3s ease-in-out;
}

/* Change Text Color on Hover */
.resource-category:hover p {
    color: white;
}

/* Button Styling */
.btn {
    display: inline-block;
    background-color: #ff6600;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

/* Hover Effect for Button */
.btn:hover {
    background-color: #ff3300;
    box-shadow: 0 4px 8px rgba(255, 51, 0, 0.5);
}

/* Ripple Effect on Button Click */
.btn:active::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.2);
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    0% { opacity: 1; transform: scale(0); }
    100% { opacity: 0; transform: scale(4); }
}



/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #222;
    color: white;
    font-size: 14px;
    margin-top: 30px;
}

