/* ===== ABOUT PAGE CSS WITH HAMBURGER SUPPORT ===== */
/* Navbar styles copied from HOMEPAGE for consistent header */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.navBar {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0;
    margin: 0;
}

.Nav_container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: relative;
    margin: 0 auto;
    max-width: 1400px;
}

.logo {
    color: #2A5D32;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    z-index: 1001;
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    width: 40px;
    height: 40px;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #2A5D32;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.Nav_links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.Nav_links a {
    color: #2B1B0F;
    text-decoration: none;
    position: relative;
    padding-bottom: 6px;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.Nav_links a:hover {
    color: #2A5D32;
}

.Nav_links a::before,
.Nav_links a::after {
    content: "";
    position: absolute;
    height: 2px;
    background: #2A5D32;
    bottom: 0;
    width: 50%;
    transform: scaleX(0);
    transition: transform 240ms cubic-bezier(.2,.9,.2,1);
}

.Nav_links a::before { left: 0; transform-origin: left; }
.Nav_links a::after { right: 0; transform-origin: right; }
.Nav_links a:hover::before,
.Nav_links a:hover::after { transform: scaleX(1); }

/* ===== HERO SECTION ===== */
.hero {
    padding: 80px 5%;
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* INCREASED FONT SIZE FOR .heading_story CLASS */
.heading_story {
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 3.5vw, 3.5rem); /* INCREASED FROM 2rem to 2.2rem */
    color: #2B1B0F;
    line-height: 1.3;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

/* ===== CARDS PANEL ===== */
.cards-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px 0;
}

.text_card {
    color: black;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
}

/* Two-column modifier for panels that need text + image side-by-side */
.cards-panel.two-col {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 5%;
}

/* reversed two-column: visual order flips so image sits left and text right */
.cards-panel.two-col.reverse {
    flex-direction: row-reverse;
}

.text_card {
    flex: 1;
    padding-right: 40px;
}

.text_card h1 {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    padding-bottom: 20px;
    color: #2A5D32;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.text_card p {
    padding-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

.image_card {
    flex: 1;
    height: 400px;
    overflow: hidden;
    display: block;
    border-radius: 15px;
}

.image_card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* Remove inline style overrides */
.image_card img[style*="border-bottom-left-radius: 4vw"],
.image_card img[style*="border-top-left-radius: 4vw"],
.image_card img[style*="border-bottom-right-radius: 4vw"],
.image_card img[style*="border-top-right-radius: 4vw"],
.image_card img[style*="padding-right: 2vw"],
.image_card img[style*="padding-left: 2vw"] {
    border-radius: inherit !important;
    padding: 0 !important;
}

/* ===== PARA SECTION ===== */
.para {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 80px auto;
    padding: 0 5%;
    max-width: 1000px;
    gap: 30px;
    text-align: center;
    box-sizing: border-box;
}

.para h1 {
    font-size: clamp(1.8rem, 2.2vw, 2.2rem);
    color: #2A5D32;
    line-height: 1.3;
    font-weight: 700;
}

.para p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

/* ===== FOOTER ===== */
.clean_footer {
    background: #071217;
    color: #f7f7f7;
    padding: 60px 5%;
    font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.clean_top .lets-chat {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 600;
    margin: 0;
}

.clean_middle {
    width: 100%;
    display: flex;
    justify-content: center;
}

.clean_contact {
    text-align: center;
    line-height: 1.6;
    font-size: clamp(0.9rem, 1vw, 1.1rem);
}

.clean_contact .addr,
.clean_contact .phone {
    margin-bottom: 10px;
}

.clean_bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.clean-sep {
    width: 60%;
    max-width: 720px;
    height: 1px;
    background: rgba(255,255,255,0.06);
    border: none;
}

.clean_copyright {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-align: center;
}

.clean_nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.clean_nav a {
    color: #f7f7f7;
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 4px;
}

.clean_nav a:hover {
    color: #2ecc71;
}

.clean_nav .sep { 
    color: rgba(255,255,255,0.5); 
}

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

/* Tablet: 768px to 1024px */
@media screen and (max-width: 1024px) {
    /* Navbar */
    .navBar {
        padding: 0;
    }
    
    .Nav_container {
        height: 70px;
        padding: 0 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Hide links by default, show when active */
    .Nav_links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .Nav_links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .Nav_links li {
        width: 100%;
        text-align: center;
    }
    
    .Nav_links a {
        display: block;
        padding: 15px 20px;
        width: 100%;
        font-size: 1.1rem;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .Nav_links a:last-child {
        border-bottom: none;
    }
    
    .Nav_links a:hover {
        background-color: #f8f9fa;
    }
    
    /* Hero - INCREASED FONT SIZE FOR MOBILE */
    .hero {
        padding: 60px 20px;
    }
    
    .heading_story {
        font-size: 2.4rem; /* INCREASED FROM 2.2rem */
        margin-bottom: 15px;
    }
    
    /* Cards Panel */
    .cards-panel.two-col,
    .cards-panel.two-col.reverse {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
    }
    
    .text_card {
        width: 100%;
        padding: 0;
        align-items: center;
        text-align: center;
    }
    
    .text_card h1 {
        font-size: 2rem;
        padding-bottom: 15px;
    }
    
    .text_card p {
        font-size: 1.1rem;
        padding-bottom: 15px;
    }
    
    .image_card {
        width: 100%;
        height: 350px;
        border-radius: 10px;
    }
    
    /* Para Section */
    .para {
        margin: 60px 20px;
        gap: 20px;
    }
    
    .para h1 {
        font-size: 1.8rem;
    }
    
    .para p {
        font-size: 1.1rem;
    }
}

/* Mobile: 480px to 767px */
@media screen and (max-width: 767px) {
    /* Navbar */
    .Nav_container {
        height: 60px;
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .menu-toggle {
        width: 36px;
        height: 36px;
    }
    
    .menu-toggle span {
        width: 22px;
        height: 2px;
        margin: 2px 0;
    }
    
    .Nav_links {
        top: 60px;
    }
    
    /* Hero - INCREASED FONT SIZE FOR MOBILE */
    .hero {
        padding: 40px 15px;
    }
    
    .heading_story {
        font-size: 2.2rem; /* INCREASED FROM 1.8rem */
        margin-bottom: 10px;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Cards Panel */
    .cards-panel.two-col,
    .cards-panel.two-col.reverse {
        gap: 25px;
        padding: 30px 15px;
    }
    
    .text_card h1 {
        font-size: 1.8rem;
    }
    
    .text_card p {
        font-size: 1rem;
    }
    
    .image_card {
        height: 250px;
        border-radius: 8px;
    }
    
    /* Para Section */
    .para {
        margin: 40px 15px;
        gap: 15px;
    }
    
    .para h1 {
        font-size: 1.6rem;
    }
    
    .para p {
        font-size: 1rem;
    }
    
    /* Clean Footer */
    .clean_footer {
        padding: 40px 15px;
    }
    
    .clean_top .lets-chat {
        font-size: 1.4rem;
    }
    
    .clean_nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .clean_nav .sep {
        display: none;
    }
}

/* Small Mobile: below 480px */
@media screen and (max-width: 480px) {
    /* Hero - INCREASED FONT SIZE FOR SMALL MOBILE */
    .hero h1.heading_story {
        font-size: 2rem; /* INCREASED FROM 1.6rem */
        margin-bottom: 8px;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    /* Cards Panel */
    .text_card h1 {
        font-size: 1.6rem;
    }
    
    .text_card p {
        font-size: 0.95rem;
    }
    
    .image_card {
        height: 200px;
    }
    
    /* Para Section */
    .para h1 {
        font-size: 1.4rem;
    }
    
    .para p {
        font-size: 0.95rem;
    }
}

/* Extra Small Mobile: below 360px */
@media screen and (max-width: 360px) {
    /* Hero - INCREASED FONT SIZE FOR EXTRA SMALL MOBILE */
    .heading_story {
        font-size: 1.8rem; /* INCREASED FROM 1.4rem */
    }
}

/* Desktop: Hide hamburger */
@media screen and (min-width: 1025px) {
    .menu-toggle {
        display: none !important;
    }
    
    .Nav_links {
        display: flex !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Make buttons tap-friendly on mobile */
@media (max-width: 767px) {
    button, 
    .menu-toggle {
        min-height: 44px;
        min-width: 44px;
    }
    
    .Nav_links a {
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Fix for mobile layout spacing */
@media screen and (max-width: 767px) {
    body {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .navBar {
        position: sticky;
        top: 0;
    }
    
    .hero {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
/* ===== FIX FOR heading_story CLASS ===== */

/* Target the specific heading with class heading_story */
.heading_story {
    font-size: clamp(2.2rem, 3.5vw, 3.5rem) !important;
    line-height: 1.2;
    font-weight: 700;
}

/* Mobile: 480px to 767px */
@media screen and (max-width: 767px) {
    .heading_story {
        font-size: 2.2rem !important; /* Larger on mobile */
    }
}

/* Small Mobile: below 480px */
@media screen and (max-width: 480px) {
    .heading_story {
        font-size: 1.8rem !important; /* Even larger on small mobile */
    }
}

/* Extra Small Mobile: below 360px */
@media screen and (max-width: 360px) {
    .heading_story {
        font-size: 1.6rem !important; /* Largest on very small screens */
    }
}