body {
    font-family: 'Segoe UI', sans-serif;
    background: #f8f9fa;
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    background: #0056b3;
}

.navbar .nav-link:hover {
    color: #ffd700 !important;
}


/* BRAND LOGO */
.brand-logo {

    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;

    letter-spacing: 1px;

    color: white !important;

    display: flex;
    align-items: center;
    gap: 10px;

    transition: 0.3s;
}

/* TEACHER ICON */
.teacher-icon {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background: rgba(255, 255, 255, 0.15);

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 50%;

    font-size: 22px;

    backdrop-filter: blur(6px);

    transition: 0.3s;
}

/* HOVER EFFECT */
.brand-logo:hover .teacher-icon {

    transform: rotate(-8deg) scale(1.08);

    background: rgba(255, 255, 255, 0.22);
}

/* MOBILE */
@media(max-width:768px) {

    .brand-logo {
        font-size: 22px;
    }

    .teacher-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

}

/* Hero */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    color: #fff;

    background-image:
        
        url("../images/hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* HERO CONTENT */
.hero-content {
    max-width: 650px;
}

/* TAG */
.hero-tag {
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #ffd700;
    font-weight: 500;
}

/* HEADING */
.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

/* NAME HIGHLIGHT */
.hero h1 span {
    color: #ffd700;
}

/* SUBTITLE */
.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 500;
}

/* DESCRIPTION */
.hero-description {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* EXPERIENCE BADGE */
.experience-badge {
    display: inline-block;

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.25);

    padding: 12px 24px;

    border-radius: 30px;

    margin-bottom: 30px;

    backdrop-filter: blur(6px);
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
}

/* MOBILE RESPONSIVE */
@media(max-width:768px) {

    .hero {
        text-align: left;
        padding: 0 25px;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 15px;
    }

}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #0056b3;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Skills */
.skill-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Testimonials */
.testimonial {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Footer */
.footer {
    background: #0056b3;
    color: white;
    padding: 30px;
}

.social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 20px;
}

.social-icons a:hover {
    color: #ffd700;
}

form input,
form textarea {
    border-radius: 8px;
}

/* Blog Cards */
.blog-card {
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

/* Modal */
.blog-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.blog-modal-content {
    background: white;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
}

.close {
    float: right;
    font-size: 25px;
    cursor: pointer;
}

/* Responsive */
@media(max-width:768px) {
    .blog-card img {
        height: 160px;
    }
}

#about img {
    border: 5px solid #0056b3;
    transition: 0.3s;
}

#about img:hover {
    transform: scale(1.05);
}



/* Navbar Social Icons */
.social-nav a {
    color: white;
    font-size: 18px;
    transition: 0.3s;
}

.social-nav a:hover {
    color: #ffd700;
    transform: translateY(-2px);
}

/* Brand Logo */
.brand-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    color: white !important;
    text-transform: uppercase;
    transition: 0.3s;
}

.brand-logo:hover {
    color: #ffd700 !important;
    transform: scale(1.03);
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
    margin-bottom: 20px;
}


/* HERO BADGES */
.hero-badges {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

/* EXPERIENCE BADGE */
.experience-badge,
.student-badge {

    display: inline-flex;
    align-items: center;
    gap: 10px;

    width: fit-content;

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.25);

    padding: 12px 24px;

    border-radius: 40px;

    backdrop-filter: blur(8px);

    font-size: 15px;
    font-weight: 500;

    transition: 0.3s;
}

/* ICONS */
.experience-badge i {
    color: #ffd700;
}

.student-badge i {
    color: #00e5ff;
}

/* HOVER EFFECT */
.experience-badge:hover,
.student-badge:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
}

/* MOBILE */
@media(max-width:768px) {

    .experience-badge,
    .student-badge {

        font-size: 14px;
        padding: 10px 18px;
    }

}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-buttons .btn {
    border-radius: 30px;
    padding: 12px 28px;
    font-weight: 600;
    transition: 0.3s;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
}


/* About Section Styling */
/* ABOUT SECTION */
#about {

    background: white;

    padding: 100px 0;
}

/* SECTION TITLE */
#about .section-title {

    font-family: 'Poppins', sans-serif;

    font-size: 2.8rem;

    font-weight: 700;

    color: #0056b3;

    margin-bottom: 40px;

    position: relative;
}

/* TITLE UNDERLINE */
#about .section-title::after {

    content: "";

    width: 80px;
    height: 4px;

    background: #ffd700;

    display: block;

    margin: 15px auto 0;

    border-radius: 50px;
}

/* IMAGE */
#about img {

    border: 6px solid #0056b3;

    transition: 0.4s ease;

    object-fit: cover;
}

#about img:hover {

    transform: scale(1.05);

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ABOUT TEXT */
#about p {

    font-family: 'Open Sans', sans-serif;

    font-size: 18px;

    line-height: 2;

    color: #444;

    text-align: justify;

    margin-bottom: 20px;

    font-weight: 400;
}

/* TEXT COLUMN */
#about .col-md-8 {

    animation: fadeInUp 1s ease;
}

/* ANIMATION */
@keyframes fadeInUp {

    from {

        opacity: 0;
        transform: translateY(30px);
    }

    to {

        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */
@media(max-width:768px) {

    #about {

        padding: 70px 20px;
    }

    #about .section-title {

        font-size: 2rem;
    }

    #about p {

        font-size: 16px;

        line-height: 1.9;
    }

    #about img {

        margin-bottom: 30px;

        max-width: 220px;
    }

}

/* FOOTER */
.portfolio-footer {
    background: #f5f5f5;
    padding: 70px 0 25px;
    border-top: 1px solid #ddd;
}

/* Footer Headings */
.portfolio-footer h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #444;
    transition: 0.3s;
    font-size: 16px;
}

.footer-links a:hover {
    color: #0056b3;
    padding-left: 4px;
}

/* Social Icons */
.social-links i {
    width: 25px;
    font-size: 18px;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.footer-bottom p {
    margin: 0;
    color: #555;
    font-size: 15px;
}

/* MOBILE VIEW */
@media (max-width: 768px) {

    .portfolio-footer {
        padding: 50px 20px 20px;
    }

    .portfolio-footer h5 {
        font-size: 18px;
    }

    .footer-links a {
        font-size: 15px;
    }

    .footer-bottom {
        margin-top: 25px;
    }
}


/* AUTH MODAL */
.auth-modal {

    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.65);

    display: none;
    justify-content: center;
    align-items: center;

    z-index: 9999;

    padding: 20px;
}

/* CONTAINER */
.auth-container {

    width: 100%;
    max-width: 950px;

    background: white;

    border-radius: 25px;

    overflow: hidden;

    display: flex;

    position: relative;

    animation: popup 0.35s ease;
}

/* POPUP ANIMATION */
@keyframes popup {

    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* LEFT SIDE */
.auth-left {

    width: 45%;

    background: linear-gradient(135deg, #0056b3, #007bff);

    color: white;

    padding: 60px 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.auth-left h2 {

    font-size: 2.2rem;
    font-weight: 700;

    margin-bottom: 20px;
}

.auth-left p {

    line-height: 1.8;
    margin-bottom: 25px;
}

.auth-left img {

    width: 180px;
}

/* RIGHT SIDE */
.auth-right {

    width: 55%;

    padding: 60px 45px;

    background: white;
}

/* FORM */
.auth-form h3 {

    font-weight: 700;
    color: #0056b3;
}

.auth-form .form-control {

    height: 52px;

    border-radius: 12px;

    padding-left: 18px;

    border: 1px solid #ddd;
}

.auth-form .form-control:focus {

    box-shadow: none;

    border-color: #0056b3;
}

/* SWITCH TEXT */
.switch-text {

    margin-top: 20px;

    text-align: center;
}

.switch-text span {

    color: #0056b3;

    cursor: pointer;

    font-weight: 600;
}

/* CLOSE BUTTON */
.close-auth {

    position: absolute;

    right: 20px;
    top: 15px;

    font-size: 32px;

    cursor: pointer;

    z-index: 2;
}

/* MOBILE RESPONSIVE */
@media(max-width:768px) {

    .auth-container {

        flex-direction: column;

        max-height: 95vh;

        overflow-y: auto;

        position: relative;
    }

    .auth-left,
    .auth-right {

        width: 100%;
    }

    .auth-left {

        padding: 40px 25px;
    }

    .auth-right {

        padding: 40px 25px;
    }

    .auth-left img {

        width: 130px;
    }

    .auth-left h2 {

        font-size: 1.8rem;
    }

    /* MOBILE CLOSE BUTTON */
    .close-auth {

        position: absolute;

        top: 10px;
        right: 15px;

        width: 40px;
        height: 40px;

        background: white;

        border-radius: 50%;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 28px;

        color: #000;

        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);

        z-index: 9999;
    }

}