/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('77840.jpg'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #f4f4f4; /* Light text color for contrast */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Header Styles */
header {
    background: rgba(0, 0, 0, 0.9); /* Semi-transparent background */
    color: #fff;
    padding: 20px;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px); /* Adds a blur effect to the header */
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-content h1 {
    margin: 0;
    font-size: 2.6em;
    color: #e60012; /* Red color for the website name */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6); /* Enhanced shadow for text */
    padding-left: 80px; /* Space for logo */
}

.header-content img {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px; /* Logo size */
}

/* Main Content Styles */
main {
    padding: 100px 20px 20px; /* Padding adjusted for fixed header */
    text-align: center;
    background: rgba(0, 0, 0, 0.7); /* Slightly darker background */
    border-radius: 20px;
    max-width: 1200px;
    margin: auto;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
    transition: background 0.3s ease, transform 0.3s ease;
}

main:hover {
    background: rgba(0, 0, 0, 0.8); /* Darker on hover */
    transform: translateY(-5px); /* Subtle lift effect on hover */
}

/* Year Selection Styles */
#year-selection {
    margin: 30px 0;
}

#year-selection button {
    background: linear-gradient(135deg, #e60012, #b3000a); /* Gradient background */
    color: #fff;
    border: none;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 50px; /* Rounded buttons */
    cursor: pointer;
    font-size: 1.2em;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

#year-selection button:hover {
    background: linear-gradient(135deg, #b3000a, #e60012); /* Reversed gradient on hover */
    transform: scale(1.05); /* Slight scaling effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
}

/* Subject List Styles */
#subject-list ul {
    list-style: none;
    padding: 0;
}

#subject-list li {
    margin: 20px 0;
}

#subject-list a {
    text-decoration: none;
    color: #e60012; /* Red color for links */
    font-size: 1.4em;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Soft shadow effect */
}

#subject-list a:hover {
    color: #b3000a; /* Darker red for hover */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7); /* Enhanced shadow on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 15px;
    }

    .header-content h1 {
        font-size: 2.2em;
        padding-left: 60px; /* Adjust padding for smaller screens */
    }

    .header-content img {
        width: 50px; /* Smaller logo for tablets */
    }

    #year-selection button {
        padding: 12px 25px;
        font-size: 1em;
    }

    #subject-list a {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px;
    }

    .header-content h1 {
        font-size: 1.8em;
        padding-left: 50px; /* Adjust padding for smaller screens */
    }

    .header-content img {
        width: 40px; /* Smaller logo for mobile devices */
    }

    #year-selection button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    #subject-list a {
        font-size: 1em;
    }
}

/* Subject Page Styles */
#maths-content ul {
    list-style: none;
    padding: 0;
}

#maths-content li {
    margin: 20px 0;
}

#maths-content a {
    color: #e60012; /* Red color for links */
    font-size: 1.4em;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Soft shadow effect */
}

#maths-content a:hover {
    color: #b3000a; /* Darker red for hover */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7); /* Enhanced shadow on hover */
}


.anton-regular {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .bebas-neue-regular {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  .poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
  }

  .khand-light {
    font-family: "Khand", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  

  .khand-light {
    font-family: "Khand", sans-serif;
    font-weight: 300;
    font-style: normal;
  }