:root {
    --primary-orange: #ff6b4a;
    --dark-blue: #232f3e;
    --text-muted: #666;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
}

.about-hero-section {
    background:
        linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
        url('../../images/image.png') center / cover no-repeat;
    padding: 110px 0;
    position: relative;
}

.about-hero-title {
    color: var(--primary-orange);
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: 1px;
}

.about-hero-section p {
    font-size: 17px;
    opacity: 0.95;
}

/* ===============================
   CONTENT SECTION
=============================== */
.about-section {
    background: #f9fafc;
}

/* Card / Box */
.link-box {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    border: 1px solid #eee;
    transition: all 0.35s ease;
}

.link-box:hover {
    border-color: var(--primary-orange);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Headings */
.link-box h3,
.link-box h4,
.link-box h5 {
    font-weight: 700;
}

.link-box h4 {
    margin-top: 30px;
}

.link-box p {
    font-size: 15.5px;
    line-height: 1.8;
}

/* Highlight bar */
.section-highlight {
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    margin-bottom: 18px;
    border-radius: 20px;
}

/* ===============================
   RIGHT SIDE CARDS
=============================== */
.side-card {
    background: linear-gradient(135deg, #fff, #fff7f4);
    border-left: 5px solid var(--primary-orange);
}

/* ===============================
   ANIMATION
=============================== */
.fade-up {
    animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.2rem;
    }
    .link-box {
        padding: 22px;
    }
}

/* ===============================
   CONTENT SECTION
=============================== */
.about-section {
    background: #f9fafc;
}

/* Card / Box */
.link-box {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    border: 1px solid #eee;
    transition: all 0.35s ease;
}

.link-box:hover {
    border-color: var(--primary-orange);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Headings */
.link-box h3,
.link-box h4,
.link-box h5 {
    font-weight: 700;
}

.link-box h4 {
    margin-top: 30px;
}

.link-box p {
    font-size: 15.5px;
    line-height: 1.8;
}

/* Highlight bar */
.section-highlight {
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    margin-bottom: 18px;
    border-radius: 20px;
}

/* ===============================
   RIGHT SIDE CARDS
=============================== */
.side-card {
    background: linear-gradient(135deg, #fff, #fff7f4);
    border-left: 5px solid var(--primary-orange);
}

/* ===============================
   ANIMATION
=============================== */
.fade-up {
    animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.2rem;
    }
    .link-box {
        padding: 22px;
    }
}
/* Header */
.top-bar { background-color: #ff6b4a; font-size: 18px; }
.top-bar a:hover { text-decoration: underline; font-weight: bold; }


/* ===============================
   PHYSICS POINT NAVBAR
=============================== */

.pp-link {
    color: #000 !important;
    transition: color 0.25s ease;
}

/* Hover color only (NO scale shift) */
.pp-link:hover {
    color: #ff6b4a !important;
}

/* Active page */
.pp-active {
    color: #ff6b4a !important;
    font-weight: 600;
}

/* ===============================
   DROPDOWN MENU
=============================== */

.dropdown-menu {
    border: none;
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Dropdown items */
.dropdown-menu .dropdown-item {
    padding: 10px 18px;
    font-size: 14px;
    transition: background 0.25s ease, color 0.25s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #ff6b4a;
    color: #fff;
}

/* ===============================
   DESKTOP HOVER DROPDOWN
=============================== */
@media (min-width: 992px) {

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.25s ease;
    }

    .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* ===============================
   MOBILE FIX (CLICK ONLY)
=============================== */
@media (max-width: 991px) {

    /* Let Bootstrap control dropdown */
    .dropdown-menu {
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
    }

    .dropdown-menu.show {
        display: block;
    }
}

/* home page hero */
/* ================================
   HERO SECTION
================================ */

.hero-section {
    color: white;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    min-height: 75vh;
}

/* HERO TITLE */
.hero-title {
    color: white;
    font-weight: 800;
    font-size: 3.5rem;
}

/* ================================
   HERO BACKGROUND CAROUSEL
================================ */

.hero-bg-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* IMPORTANT HEIGHT CHAIN */
.hero-bg-carousel,
.hero-bg-carousel .carousel-inner,
.hero-bg-carousel .carousel-item {
    height: 100%;
}

/* SLIDE BACKGROUNDS */
.hero-bg-carousel .carousel-item {
    background-size: cover;
    background-position: center;
}

/* DARK OVERLAY */
.hero-bg-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
}

/* KEEP CONTENT ABOVE */
.hero-content {
    position: relative;
    z-index: 2;
}

/* ================================
   LINK BOXES
================================ */

.link-box {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    color: #000;
    min-height: 250px;
}

.link-list {
    padding: 0;
    margin: 0;
}

.link-list li {
    list-style: none;
    margin-bottom: 8px;
}

.link-list li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.link-list li a::before {
    content: "■";
    color: var(--primary-orange);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.link-list li a:hover {
    color: var(--primary-orange);
}

.link-list li a:hover::before {
    transform: translateX(3px);
}

.link-list li a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 18px;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.link-list li a:hover::after {
    width: calc(100% - 18px);
}

/* home page hero end */
/* Feature Cards */
.feature-card {
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    height: 100%;
}

.feature-card h5 {
    color: var(--primary-orange);
    font-weight: bold;
}

/* Why List */
.why-list li {
    list-style: none;
    padding: 8px 0;
    font-weight: 500;
}

.why-list li::before {
    content: "■";
    color: var(--primary-orange);
    margin-right: 10px;
}
/* Shared */
.text-orange {
    color: var(--primary-orange);
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 153, 0, 0.15);
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 13px;
    border-radius: 20px;
}

/* Image Wrap */
.image-wrap {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    display: inline-block;
}

/* Teaching Approach Cards */
.approach-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 12px;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.approach-card h5 {
    color: var(--primary-orange);
    font-weight: bold;
    margin-bottom: 15px;
}

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Why Section List */
.why-card-list {
    list-style: none;
    padding: 0;
}

.why-card-list li {
    background: #fff;
    padding: 18px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.why-card-list li h6 {
    margin-bottom: 6px;
    font-weight: bold;
    color: var(--primary-orange);
}

.why-card-list li p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.why-card-list li:hover {
    transform: translateX(6px);
}

/* Responsive */
@media (max-width: 768px) {
    .approach-card,
    .why-card-list li {
        text-align: center;
    }
    .mrg{
        padding-left: 9px;
        padding-right: 9px;
    }
}

/* Styling for Testimonials */
.testimonial-section {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.heading-line {
    width: 60px;
    height: 3px;
    background: #ff6b4a;
    margin-top: 10px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.02);
    height: 100%;
    position: relative;
}

/* Hover Effect */
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.1);
    border-color: #ff6b4a;
}

.quote-icon {
    font-size: 2rem;
    color: #ff6b4a;
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 30px;
}

.testimonial-card .message {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-footer img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid #fff;
}

/* Custom Arrows */
.custom-nav {
    width: 50px;
    height: 50px;
    background: #ff6b4a;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: 0.3s;
}

.custom-nav i {
    font-size: 1.5rem;
    color: white;
}

.custom-nav:hover {
    background: #ff6b4a;
    width: 55px;
}

.carousel-control-prev { left: -70px; }
.carousel-control-next { right: -70px; }

/* Responsive Arrows */
@media (max-width: 1200px) {
    .carousel-control-prev { left: 5px; }
    .carousel-control-next { right: 5px; }
}
/* CTA */
.cta-section {
    background: #f8f9fa;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .testimonial-img {
        left: 50%;
        transform: translateX(-50%);
    }

    .testimonial-author {
        text-align: center;
        margin-left: 0;
    }
}


/* about in index */
section.bg-light img {
    transition: transform 0.3s ease;
}

section.bg-light img:hover {
    transform: scale(1.03);
}
.aboutphy{
    background:#dfdfdf;
}
/* ===============================
   FOOTER
=============================== */

.footer {
    background-color: #232f3e;
    position: relative;
}

.footer-logo {
    max-width: 140px;
    border-radius: 16px;
}

.footer-about {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    max-width: 260px;
}

/* ===============================
   HEADINGS
=============================== */

.footer-heading {
    color: #ff8c69;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-heading::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    background: #ff6b4a;
    margin-top: 6px;
}

/* ===============================
   LINKS
=============================== */

.footer-links li a {
    color: #ffffff;
    font-size: 14.5px;
    text-decoration: none;
    line-height: 2.2;
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.footer-links li a i {
    font-size: 13px;
    opacity: 0.7;
}

.footer-links li a:hover {
    color: #ff6b4a;
    opacity: 1;
    transform: translateX(4px);
}

/* ===============================
   SOCIAL ICONS
=============================== */

.footer-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    margin-right: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #ff6b4a;
    transform: translateY(-3px);
}

/* ===============================
   FOOTER BOTTOM
=============================== */

.footer-bottom {
    background: #1c2633;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 15px 0;
}

.footer-bottom p {
    font-size: 13.5px;
    color: rgba(255,255,255,0.85);
}

.footer-bottom a {
    color: #ff6b4a;
    font-weight: 600;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ===============================
   SCROLL TO TOP
=============================== */

.scroll-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background-color: #ff6b4a;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}

.scroll-top-btn:hover {
    transform: translateY(-4px);
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 768px) {
    .footer-about {
        max-width: 100%;
    }
}


/* contact */
.contact-section {
    padding: 60px 0;
}

/* HEADINGS */
.contact-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0d1b2a;
}

.contact-intro {
    max-width: 780px;
    margin: 0 auto 45px;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* SUCCESS MESSAGE */
.success-msg {
    background: #e6fffa;
    color: #047857;
    padding: 15px;
    border-left: 4px solid #10b981;
    margin-bottom: 25px;
    border-radius: 6px;
    font-weight: 500;
}

/* GRID WRAPPER */
.contact-wrapper {
    margin-top: 20px;
}

.contact-form {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.contact-form h3 {
    font-size: 22px;
    font-weight: 600;
    color: #0d1b2a;
}

.contact-form p {
    font-size: 14.5px;
    color: #555;
}

/* FORM GROUP */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    font-size: 14px;
    transition: 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ff9078;
    outline: none;
}

/* SEND BUTTON */
.send-btn {
    display: inline-block;
    width: 100%;
    padding: 14px;
    border: none;
    background: #ff9078;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.send-btn:hover {
    background: #ff9078;
}


.contact-info {
    padding: 35px;
}

.contact-info h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #0d1b2a;
}

/* INFO ITEM */
.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 20px;
    color: #ff9078;
    margin-top: 4px;
}

.info-item h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #0d1b2a;
}

.info-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.info-item .small {
    font-size: 12.5px;
    color: #888;
}


.contact-footer-note {
    max-width: 850px;
    margin: 50px auto 0;
    font-size: 15px;
    font-style: italic;
    font-weight:bold;
    color: #444;
    line-height: 1.7;
}


/* Tablets */
@media (max-width: 991px) {
    .contact-section {
        padding: 55px 0;
    }

    .contact-title {
        font-size: 30px;
    }

    .contact-form,
    .contact-info {
        padding: 30px;
    }

    .contact-info {
        margin-top: 40px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .contact-title {
        font-size: 26px;
    }

    .contact-intro {
        font-size: 15px;
        padding: 0 10px;
    }

    .contact-form,
    .contact-info {
        padding: 25px 20px;
    }

    .info-item {
        gap: 12px;
    }

    .send-btn {
        font-size: 14px;
    }
}



/* ===== PHYSICS POINT SERVICE PAGE (UNIQUE) ===== */



.pp-service-title {
    font-size: 32px;
    font-weight: 800;
    color: #ff6b4a;
}

.pp-service-title::after {
    content: "";
    width: 60px;
    height: 4px;
    background: #ff6b4a;
    display: block;
    margin-top: 10px;
    border-radius: 50px;
}

.pp-service-intro {
    font-size: 18px;
    line-height: 1.9;
}

/* IMAGE + TEXT */
.pp-image-text {
    display: flex;
    gap: 20px;
    margin: 35px 0;
}

.pp-image-text img {
    width: 170px;
    border-radius: 16px;
    object-fit: fill;
    height: 130px;
}

.pp-image-text p {
    flex: 1;
    font-size: 16.5px;
    line-height: 1.9;
}

/* KNOWLEDGE */
.pp-knowledge-box {
    background: #fff;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
    margin: 40px 0;
}

/* SYLLABUS */
.pp-syllabus-list li {
    background: #f5f8ff;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 12px;
}

/* HIGHLIGHT */
.pp-highlight {
    background: linear-gradient(135deg, #ff6b4a, #ff8c69);
    color: #fff;
    padding: 24px;
    border-radius: 18px;
    margin: 40px 0;
}

/* OTHER SERVICES */
.pp-other-services h4 {
    font-weight: 800;
    margin-top: 50px;
}

.pp-service-card {
    display: block;
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    transition: all .3s ease;
}

.pp-service-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;
}

.pp-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 45px rgba(0,0,0,.15);
}

/* FORM */
.pp-form-card {
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
    position: sticky;
    top: 100px;
}

.pp-btn {
    background: linear-gradient(135deg, #ff6b4a, #ff8c69);
    color: #fff;
    border-radius: 50px;
    padding: 12px;
    font-weight: 600;
}

.pp-btn:hover {
    box-shadow: 0 10px 25px rgba(11,60,93,.35);
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .pp-image-text {
        flex-direction: column;
    }

    .pp-image-text img {
        width: 100%;
        object-fit: contain;
    }

    .pp-form-card {
        position: static;
        margin-top: 40px;
    }
}

/* ===== STICKY SERVICE FORM (UNIQUE & SAFE) ===== */

.pp-form-sticky {
    position: sticky;
    top: 100px;              /* distance from top when scrolling */
    z-index: 10;
}

/* Disable sticky on small screens */
@media (max-width: 991px) {
    .pp-form-sticky {
        position: static;
        top: auto;
    }
}

/* ===============================
   SCROLL REVEAL ANIMATION
=============================== */

/* Initial hidden state */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.1s ease, transform 1.1s ease;
    will-change: opacity, transform;
}

/* When visible */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Variations */
.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-zoom {
    transform: scale(0.6);
}

.reveal-left.active,
.reveal-right.active,
.reveal-zoom.active {
    transform: none;
}

/* Slight delay helpers */
.delay-1 { transition-delay: 0.5s; }
.delay-2 { transition-delay: 0.6s; }
.delay-3 { transition-delay: 0.7s; }



