@font-face{
	font-family: manualFont;
  src: url(Freshman.ttf);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #000;
}

header {
    background-color: #ca0100;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: white;
    white-space: nowrap;
    position: absolute;
    left: 10px;
    z-index: 99;
}

.logo img {
    width: 166px;
    height: auto;
}

.nav-links {
    margin-left: auto;
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-links.active {
    display: flex;
}

.hamburger {
    display: none;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s;
}

.hero {
    background: linear-gradient(135deg, #000 0%, #ca0100 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    height: 650px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}
#M{
	font-family:manualFont, arial;
	font-size:50px;
	display:none;
}
#home {
    background: url("header_bg.jpg");
    background-position: 50% 0%;
    height: 850px;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

#home .hero h1 {
    font-size: 4rem;
    padding-top: 200px;
    color: #000;
}

#home .hero p {
    font-size: 1.5rem;
    color: #000;
    font-weight: 900;
}
#historylist li{
	list-style-type:disc;
}
#jc li{
	list-style-type:disc;
}
.cta-button {
    display: inline-block;
    background-color: white;
    color: #ca0100;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

#welcome {
    width: 100%;
    background: #000;
    max-width: 2200px;
}

#welcome div {
    width: 70%;
    margin: auto;
}

#welcome p {
    color: #fff;
    text-align: justify-content;
    font-size: 1.25rem;
}

#welcome li {
    color: #fff;
    margin-left: 20%;
    text-align: left;
}

#ath {
    width: 100%;
    color: #fff;
    background: #000;
    max-width: 2200px;
}

#ath div {
    width: 70%;
    margin: auto;
    text-align: center;
}

#ath h1 {
    color: #ca0100;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #ca0100;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    border: 2px solid #000;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(202, 1, 0, 0.15);
}

.feature-card h3 {
    color: #ca0100;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #333;
}

.feature-card a {
    color: #ca0100;
    text-decoration: none;
}

.stats {
    background-color: #000;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item h3 {
    font-size: 3rem;
    color: #ca0100;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.statsedt {
    background-color: #fff;
    color: #ca0100;
    padding: 4rem 2rem;
    text-align: center;
}

.stats-gridedt {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-itemedt h3 {
    font-size: 3rem;
    color: #ca0100;
    margin-bottom: 0.5rem;
}

.stat-itemedt p {
    font-size: 1.1rem;
    font-weight: bold;
    opacity: 0.9;
}

.statsath {
    background-color: #000;
    color: #ca0100;
    padding: 4rem 2rem;
    text-align: center;
}

.stats-gridath {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-itemath h3 {
    font-size: 3rem;
    color: #ca0100;
    margin-bottom: 0.5rem;
}

.stat-itemath p {
    font-size: 1.1rem;
    font-weight: bold;
    opacity: 0.9;
}

.stat-itemath p a {
    color: #fff;
    text-decoration: none;
}

.about {
    background-color: #f9f9f9;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: #ca0100;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

.about-image {
    background-color: #ca0100;
    height: 400px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.magnet-section {
    margin-bottom: 6rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.magnet-section a {
    color: #ca0100;
    text-decoration: none;
    font-weight: 500;
}

.magnet-section li {
    list-style-type: none;
}

.magnet-image {
    width: 100%;
    height: 300px;
    background-color: #ca0100;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.magnet-content h3 {
    color: #ca0100;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.magnet-content p {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: justify;
}

.magnet-content ul {
    margin-left: 2rem;
    margin-top: 1rem;
    color: #333;
}

.magnet-content ul li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.quick-links {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    text-align: center;
}

.quick-links h3 {
    color: #ca0100;
    margin-bottom: 1.5rem;
}

.quick-links-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.quick-link-btn {
    background-color: #ca0100;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.quick-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(202, 1, 0, 0.4);
}

footer {
    background-color: #000;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ca0100;
}

#topredbar {
    width: 100%;
    background-color: #000;
    height: 30px;
}

#topredbar li {
    list-style: none;
    float: left;
    color: white;
}

#topredbar ul > li > a {
    color: white;
    padding: 0px 0px;
    display: inline;
}

#topredbar ul > li > a:hover {
    color: #ca0100;
}

#topredbarsmall a {
    padding: 0px 0px;
    margin: 0px;
    display: inline;
}

/* Media Queries */
@media screen and (max-width: 1600px) {
    #topredbar li {
        font-size: 12pt;
    }
    #topredbar ul > li > a {
        padding: 0px 0px;
        display: inline;
        font-size: 12pt;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-gridedt {
        grid-template-columns: repeat(3, 1fr);
    }

    .magnet-section {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 868px) {
	.logo img {
		width: 66px;
		height: auto;
	}
    nav {
        flex-wrap: wrap;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ca0100;
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 0.75rem 0;
    }

    .logo {
        position: absolute;
        left: 10px;
		display:none;
        z-index: 99;
    }
 
	#M{
	 display:block;
	}
    #topredbar {
        height: 130px;
    }

    #topredbar li {
        float: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero img {
        width: 80%;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-gridedt {
        grid-template-columns: 1fr;
    }

    .stats-gridath {
        grid-template-columns: 1fr;
    }

    .stat-itemedt h3 img {
        font-size: 1rem;
        width: 50%;
        color: #ca0100;
        margin-bottom: 0.5rem;
    }

    .stat-itemedt p {
        font-size: 1rem;
        font-weight: bold;
        opacity: 0.9;
    }

    .stat-itemath h3 img {
        font-size: 1rem;
        width: 50%;
        color: #ca0100;
        margin-bottom: 0.5rem;
    }

    .stat-itemath p {
        font-size: 1rem;
        font-weight: bold;
        opacity: 0.9;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 300px;
    }

    .about-image img {
        width: 35%;
        min-width: 250px;
    }

    .section-title {
        font-size: 2rem;
    }

    .magnet-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .magnet-image {
        height: 250px;
    }
}