* {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

:root {
    --primary-color: #1378bf;
    --secondary-color: #a85613;
    --accent-color: #00999c;
    --text-color: #333;
    --light-text: whitesmoke;
}

body {
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    height: 110px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
}

.nav-logo {
    height: 100px;
    width: auto;
}

.logo {
    background-image: url("logo.png");
    background-size: cover;
    height: 100px;
    width: 100px;
}

.tags {
    display: flex;
}

.tags a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

/* About Page Navigation Specific Styles */
.about-body .navbar {
    background-color: rgba(255,255,255,0.9);
    position: sticky;
    top: 0;
    z-index: 100;
}

.tags-1 {
    display: flex;
}

.tags-1 a {
    margin: 0 15px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.border:hover, .border-3:hover, .border-4:hover {
    border: 2.5px solid var(--accent-color);
    border-radius: 8px;
    background-color: var(--accent-color);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    padding: 10px;
}

.about-body .mobile-menu-btn {
    color: var(--text-color);
}

/* Hero Section */
.hero {
    background-image: url("hero-img.png");
    background-size: cover;
    background-position: center;
    height: 650px;
    width: 100%;
    position: relative;
}

.hero-msg {
    text-align: center;
    margin-top: 10%;
    padding: 0 20px;
}

.hero-line {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.hero-tagline {
    color: white;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-about {
    color: var(--light-text);
    font-size: 1.4rem;
    font-weight: 200;
    margin-bottom: 20px;
}

.hero-button {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.4rem;
    margin-top: 18px;
}

.hero-button i {
    font-size: 1.4rem;
    margin-right: 6px;
}

.hero-button-1, .hero-button-2 {
    height: 40px;
    width: 220px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.hero-button-1 {
    background-color: var(--primary-color);
    color: white;
}

.hero-button-2 {
    background-color: var(--light-text);
    color: black;
}

.hero-button-1 a, .hero-button-2 a {
    text-decoration: none;
    color: inherit;
}

.border-1:hover {
    border: 2.5px solid var(--primary-color);
    background-color: var(--primary-color);
}

.border-2:hover {
    border: 2.5px solid var(--light-text);
    background-color: var(--light-text);
}

/* College Admission Section */
.college-admission {
    display: flex;
    height: 400px;
    width: 95%;
    background-color: var(--secondary-color);
    border-radius: 20px;
    margin: 35px auto;
    overflow: hidden;
}

.college-admission-photo {
    height: 100%;
    width: 50%;
}

.photo {
    background-image: url("college.png");
    background-size: cover;
    background-position: center;
    height: 370px;
    width: 600px;
    margin: 15px;
    border-radius: 20px;
}

.college-admission-data {
    width: 50%;
    padding: 20px;
}

.college-admission-heading h2 {
    color: var(--light-text);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.college-admission-text h3 {
    color: black;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 15px;
}

.college-admission-text p, .college-admission-text h5 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.enroll {
    margin-top: 20px;
}

.enroll a {
    font-size: 1.3rem;
    text-decoration: none;
    padding: 8px 20px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.enroll a:hover {
    background-color: #ecf5f5;
    color: var(--accent-color);
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin: 50px 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 50px;
    color: var(--primary-color);
    font-weight: bold;
}

.stat-text {
    margin-top: 10px;
    font-size: 18px;
    color: var(--text-color);
    font-weight: 600;
}

/* Footer */
.contact-us {
    width: 100%;
    height: 100px;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.contact-us-msg-left h4 {
    color: var(--light-text);
    font-size: 1.2rem;
    font-weight: 300;
}

.contact-us-msg-right i {
    font-size: 1.8rem;
    color: var(--light-text);
    margin-left: 15px;
    transition: all 0.3s ease;
}

.contact-us-msg-right i:hover {
    color: var(--accent-color);
}

/* About Page Styles */
.about-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f1f1;
    margin-top: 10px;
}

.about {
    background: url("image1.png") no-repeat left;
    background-size: 55%;
    background-color: #fdfdfd;
    overflow: hidden;
    padding: 100px 0;
}

.inner-section {
    width: 55%;
    float: right;
    background-color: #fdfdfd;
    padding: 140px;
    box-shadow: 10px 10px 8px rgba(0, 0, 0, 0.3);
}

.inner-section h1 {
    margin-bottom: 30px;
    font-size: 2.2rem;
    font-weight: 900;
}

.about-text {
    font-size: 1rem;
    color: #545454;
    line-height: 30px;
    text-align: justify;
    margin-bottom: 40px;
}

.skills a {
    font-size: 1.3rem;
    text-decoration: none;
    text-align: center;
    letter-spacing: 2px;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    background-color: var(--accent-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.skills a:hover {
    background-color: #ecf5f5;
    color: var(--accent-color);
}

.footer-about {
    margin-top: 10px;
}

/* Services Page Styles */
.ser-hero {
    background-image: url("service-img.png");
    background-size: cover;
    background-position: center;
    height: 400px;
    width: 100%;
    position: relative;
}

.ser-hero-block {
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.ser-hero-msg h1 {
    color: var(--light-text);
    font-size: 3rem;
    font-weight: 700;
}

.ser-hero-msg p {
    color: orange;
    font-size: 1.5rem;
    font-weight: 300;
}

.text {
    text-align: center;
    color: orange;
    margin-top: 15px;
    font-size: 2rem;
    font-weight: 700;
}

.table-b, .table-b2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
    width: 90%;
    overflow-x: auto;
}

.table-b table, .table-b2 table {
    border-collapse: collapse;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.table-b th, .table-b2 th {
    border: 1px solid #ccc;
    padding: 12px 15px;
    text-align: center;
    font-weight: bold;
    color: var(--text-color);
    font-size: 1.4rem;
}

.table-b td, .table-b2 td {
    border: 1px solid #ccc;
    padding: 12px 15px;
    text-align: left;
    color: #555151;
}

.expense-head {
    color: orange;
    font-weight: 700;
    font-size: 2.2rem;
    margin-left: 80px;
    margin-bottom: 20px;
    margin-top: 50px;
}

.fancy-list {
    color: #555151;
    font-size: 1.2rem;
    margin-left: 95px;
    margin-bottom: 50px;
    list-style: none;
    padding-left: 0;
}

.fancy-list li {
    margin-bottom: 10px;
}

.fancy-list li::before {
    content: "★";
    color: gold;
    margin-right: 8px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-tagline {
        font-size: 3rem;
    }
    
    .college-admission {
        flex-direction: column;
        height: auto;
    }
    
    .college-admission-photo {
        width: 100%;
        height: 400px;
    }
    
    .photo {
        width: 95%;
        margin: 20px auto;
        height: 380px;
    }
    
    .college-admission-heading h2 {
        text-align: center;
        margin-left: 0;
    }
    
    .college-admission-text h3 {
        text-align: center;
        margin-left: 0;
    }
    
    .inner-section {
        padding: 60px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        height: auto;
        flex-direction: column;
        padding: 10px;
    }
    
    .nav-logo {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }
    
    .tags, .tags-1 {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(0,0,0,0.9);
        padding: 20px;
        margin-top: 10px;
    }

    .about-body .tags-1.active {
        background-color: rgba(255,255,255,0.95);
    }
    
    .about-body .tags-1 a {
        color: #333;
    }
    
    .tags.active, .tags-1.active {
        display: flex;
    }
    
    .tags a, .tags-1 a {
        margin: 5px 0;
        padding: 10px;
        text-align: center;
    }
    
    /* Hero section */
    .hero {
        height: auto;
        padding: 80px 0 40px;
    }
    
    .hero-msg {
        margin-top: 0;
    }
    
    .hero-line {
        font-size: 1.2rem;
    }
    
    .hero-tagline {
        font-size: 2rem;
    }
    
    .hero-about {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .hero-button {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-button-1, .hero-button-2 {
        width: 80%;
        margin-right: 0;
    }
    
    /* College admission section */
    .college-admission {
        flex-direction: column;
        height: auto;
        width: 95%;
        margin: 20px auto;
        padding-bottom: 20px;
    }
    
    .college-admission-photo {
        width: 100%;
        height: 250px;
    }
    
    .photo {
        width: 95%;
        margin: 10px auto;
        height: 230px;
    }
    
    .college-admission-data {
        width: 100%;
        padding: 20px;
    }
    
    .college-admission-heading h2 {
        font-size: 1.8rem;
    }
    
    .college-admission-text h3 {
        font-size: 1.2rem;
    }
    
    .college-admission-text p,
    .college-admission-text h5 {
        font-size: 1rem;
    }
    
    /* Stats section */
    .stats-section {
        flex-direction: column;
        gap: 30px;
        margin: 30px 0;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    /* About page */
    .about {
        background-size: 0;
        padding: 20px 0;
    }
    
    .inner-section {
        width: 100%;
        padding: 30px;
        float: none;
    }
    
    .inner-section h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .about-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .skills {
        text-align: center;
    }
    
    /* Services page */
    .ser-hero {
        height: 300px;
    }
    
    .ser-hero-block {
        height: auto;
        padding-top: 100px;
    }
    
    .ser-hero-msg h1 {
        font-size: 2rem;
    }
    
    .text {
        font-size: 1.5rem;
    }
    
    .table-b, .table-b2 {
        width: 95%;
        margin: 20px auto;
    }
    
    table {
        font-size: 0.8rem;
    }
    
    .table-b th, .table-b2 th,
    .table-b td, .table-b2 td {
        padding: 8px 10px;
    }
    
    .expense-head {
        margin-left: 20px;
        font-size: 1.5rem;
    }
    
    .fancy-list {
        margin-left: 30px;
        font-size: 1rem;
    }
    
    /* Footer */
    .contact-us {
        height: auto;
        padding: 15px 0;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .contact-us-msg-left {
        margin-left: 0;
        width: 100%;
    }
    
    .contact-us-msg-right {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-tagline {
        font-size: 1.8rem;
    }
    
    .inner-section {
        padding: 20px;
    }
    
    .ser-hero-msg h1 {
        font-size: 1.8rem;
    }
    
    .text {
        font-size: 1.2rem;
    }
}