/* ============================================= */
/* ABOUT PAGE - RESPONSIVE STYLES       */
/* Includes fluid typography and breakpoints     */
/* for all devices (mobile to desktop)           */
/* ============================================= */

/* ----- About Hero Section (fully responsive) ----- */
.about-hero {
    background-color: var(--bg-dark);
    padding: clamp(40px, 6vw, 80px) 7.5%;
    color: white;
}
.elementor-374 .elementor-element.elementor-element-a0e6cda .about-hero{
    padding: 60px 10% 60px 11% !important;
}
.elementor-374 .elementor-element.elementor-element-4939bd6 .values-section{
    padding: 70px 10% 70px 11% !important;
}
.elementor-374 .elementor-element.elementor-element-d7defed .team-section{
    padding: 60px 10% 80px 11% !important;
}
.elementor-374 .elementor-element.elementor-element-a3efd5f .cta-section{
    padding: 50px 10% 50px 11% !important;
    text-align: center !important;
}
.elementor-374 .elementor-element.elementor-element-a3efd5f .cta-content{
    margin: 0px auto !important;
}
.about-hero .container2 {
    display: flex;
    align-items: center;
    gap: clamp(30px, 5vw, 60px);
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.about-hero-left {
    flex: 1 1 350px;
    min-width: 280px;
}

.about-hero-left h1 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.2;
    margin-bottom: clamp(15px, 2.5vw, 25px);
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.about-hero-left p {
    font-size: clamp(16px, 2vw, 19px);
    opacity: 0.95;
    margin-bottom: clamp(20px, 3vw, 35px);
    line-height: 1.6;
    max-width: 600px;
}

.about-hero-right {
    flex: 1 1 350px;
    min-height: clamp(250px, 40vw, 380px);
    background: linear-gradient(135deg, #F4E8D0, #e0d0b5);
    border-radius: 30px;
    background-image: url('https://placehold.co/600x400/0B4D3B/white?text=Our+Mission');
    background-size: cover;
    background-position: center;
    box-shadow: 0 25px 40px -15px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
}

.about-hero-right:hover {
    transform: scale(1.02);
}
.about-hero-right img{
    border-radius: 30px;
    width:100%;
    height: 100%;
}

/* Tablet (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .about-hero {
        padding: 50px 6%;
    }
    .about-hero .container2 {
        gap: 40px;
    }
    .about-hero-left h1 {
        font-size: 42px;
    }
}

/* Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
    .about-hero {
        padding: 40px 20px;
        text-align: center;
    }
    .about-hero .container2 {
        flex-direction: column-reverse;
        gap: 30px;
    }
    .about-hero-left {
        flex: 1 1 auto;
        width: 100%;
    }
    .about-hero-left h1 {
        font-size: 36px;
        text-align: center;
    }
    .about-hero-left p {
        font-size: 16px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .about-hero-right {
        width: 100%;
        min-height: 280px;
        max-width: 500px;
        margin: 0 auto;
    }
    .about-hero .hero-actions {
        justify-content: center;
    }
}

/* Small Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
    .about-hero-left h1 {
        font-size: 28px;
    }
    .about-hero-left p {
        font-size: 15px;
    }
    .about-hero-right {
        min-height: 220px;
    }
    .about-hero .btn {
        width: 100%;
        max-width: 280px;
        margin: 5px auto;
        padding: 12px 20px;
        font-size: 14px;
    }
    .about-hero .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* ----- Story Section (responsive) ----- */
.story-section {
    display: flex;
    padding: clamp(50px, 7vw, 90px) 7.5%;
    gap: clamp(30px, 5vw, 60px);
    background-color: var(--bg-light);
    align-items: center;
    flex-wrap: wrap;
}
.elementor-374 .elementor-element.elementor-element-1d6d5b0 .story-section{
    padding: 80px 11% 80px 10% !important;
}
.story-left {
    flex: 1 1 350px;
    min-width: 280px;
}

.story-left h2 {
    font-size: clamp(32px, 4.5vw, 48px);
    color: #042119;
    font-weight: 600;
    margin-bottom: clamp(15px, 2.5vw, 25px);
    line-height: 1.2;
}

.story-left p {
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.7;
    color: #2c3e50;
    margin-bottom: 20px;
    max-width: 600px;
}

.story-right {
    flex: 1 1 350px;
    min-height: clamp(280px, 40vw, 380px);
    background: linear-gradient(145deg, #D9C8A9, #c5b292);
    border-radius: 30px;
    background-image: url('https://placehold.co/600x400/F4E8D0/0B4D3B?text=Since+2015');
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 45px -20px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
}
.story-right img{
    width:100%;
    height: 100%;
    border-radius: 30px;
}
.story-right:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 55px -20px rgba(0,0,0,0.6);
}

/* Tablet */
@media screen and (max-width: 1024px) {
    .story-section {
        padding: 60px 6%;
    }
    .story-left h2 {
        font-size: 38px;
    }
    .story-left p {
        font-size: 16px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .story-section {
        flex-direction: column;
        padding: 50px 20px;
        gap: 35px;
        text-align: center;
    }
    .story-left {
        width: 100%;
        text-align: center;
    }
    .story-left h2 {
        font-size: 32px;
        text-align: center;
    }
    .story-left p {
        font-size: 15px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .story-right {
        width: 100%;
        min-height: 260px;
        max-width: 500px;
        margin: 0 auto;
    }
    .story-left .btn {
        margin: 10px auto;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .story-left h2 {
        font-size: 26px;
    }
    .story-left p {
        font-size: 14px;
    }
    .story-right {
        min-height: 220px;
    }
}

/* ----- Stats Section (numbers) ----- */
.stats-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 4vw, 50px);
    padding: clamp(40px, 6vw, 80px) 7.5%;
    background-color: var(--bg-dark);
    color: white;
}
.elementor-374 .elementor-element.elementor-element-cf6952e .stats-section{
    paddinG: 60px 6% 60px 6% !important;
}

.stat-item {
    text-align: center;
    min-width: 140px;
    flex: 1 1 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.stat-item .number {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1;
    color: var(--gold);
    text-shadow: 2px 2px 12px rgba(0,0,0,0.6);
    margin-bottom: 10px;
    display: inline-block;
    transition: all 0.2s ease-out;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

/* Optional: Add a subtle pulse effect when counting finishes */
@keyframes counterPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.stat-item .number.animate-complete {
    animation: counterPulse 0.3s ease-out;
}

.stat-item .label {
    font-size: clamp(14px, 1.8vw, 19px);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.95;
    font-weight: 500;
}

/* Tablet */
@media screen and (max-width: 768px) {
    .stats-section {
        gap: 15px;
        padding: 50px 20px;
    }
    .stat-item {
        min-width: 120px;
        flex: 1 1 130px;
    }
    .stat-item .number {
        font-size: 40px;
    }
    .stat-item .label {
        font-size: 14px;
        letter-spacing: 0.5px;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    .stats-section {
        flex-direction: column;
        gap: 30px;
        padding: 40px 15px;
    }
    .stat-item {
        width: 100%;
        min-width: auto;
    }
    .stat-item .number {
        font-size: 44px;
    }
    .stat-item .label {
        font-size: 16px;
    }
}

/* Landscape mode */
@media screen and (max-width: 800px) and (orientation: landscape) {
    .stats-section {
        gap: 15px;
    }
    .stat-item {
        flex: 1 1 120px;
    }
    .stat-item .number {
        font-size: 36px;
    }
}

/* ----- Values Section (cards) ----- */
.values-section {
    padding: clamp(50px, 7vw, 90px) 7.5%;
    background-color: #fff;
    text-align: center;
}

.values-section h2 {
    font-size: clamp(32px, 4.5vw, 48px);
    color: #042119;
    margin-bottom: clamp(30px, 5vw, 60px);
    font-weight: 600;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 3vw, 35px);
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.value-card {
    flex: 1 1 250px;
    min-width: 240px;
    max-width: 320px;
    background: var(--bg-light);
    border-radius: 24px;
    padding: clamp(25px, 4vw, 45px) clamp(20px, 3vw, 30px);
    box-shadow: 0 12px 28px -8px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px -12px rgba(0,0,0,0.2);
}

.value-card i {
    font-size: clamp(40px, 5vw, 52px);
    color: var(--bg-dark);
    background: #F4E8D0;
    padding: clamp(12px, 2vw, 18px);
    border-radius: 50%;
    margin-bottom: clamp(15px, 2.5vw, 25px);
    width: clamp(70px, 10vw, 90px);
    height: clamp(70px, 10vw, 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.value-card:hover i {
    background: var(--bg-dark);
    color: #F4E8D0;
    transform: rotate(5deg) scale(1.05);
}

.value-card h3 {
    font-size: clamp(20px, 2.5vw, 26px);
    margin-bottom: 12px;
    color: #042119;
    font-weight: 600;
}

.value-card p {
    color: #2c3e50;
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.6;
    margin: 0;
}

/* Tablet */
@media screen and (max-width: 1024px) {
    .values-section {
        padding: 60px 5%;
    }
    .value-card {
        min-width: 220px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .values-section {
        padding: 50px 20px;
    }
    .values-section h2 {
        font-size: 32px;
        margin-bottom: 35px;
    }
    .values-grid {
        gap: 20px;
    }
    .value-card {
        flex: 1 1 100%;
        max-width: 400px;
        padding: 30px 20px;
    }
    .value-card i {
        font-size: 44px;
        width: 80px;
        height: 80px;
    }
    .value-card h3 {
        font-size: 22px;
    }
    .value-card p {
        font-size: 14px;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .values-section h2 {
        font-size: 26px;
    }
    .value-card {
        padding: 25px 15px;
    }
    .value-card i {
        font-size: 40px;
        width: 70px;
        height: 70px;
    }
    .value-card h3 {
        font-size: 20px;
    }
}

/* ----- Team Section (cards) ----- */
.team-section {
    text-align: center;
    padding: clamp(50px, 7vw, 90px) 7.5%;
    background-color: #F7E8D3;
}

.team-section h2 {
    font-size: clamp(32px, 4.5vw, 48px);
    color: #042119;
    margin-bottom: 15px;
    font-weight: 600;
}

.team-section > p {
    max-width: min(700px, 90%);
    margin: 0 auto clamp(30px, 5vw, 60px);
    color: #2c3e50;
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.6;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 3vw, 35px);
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.team-card {
    flex: 1 1 260px;
    max-width: 320px;
    background: #fff;
    box-shadow: 0 20px 35px -15px rgba(0,0,0,0.3);
    border-radius: 20px;
    padding: clamp(25px, 4vw, 35px) clamp(15px, 2vw, 25px) 30px;
    transition: all 0.3s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 35px 50px -20px rgba(0,0,0,0.4);
}

.team-card img {
    width: clamp(120px, 15vw, 150px);
    height: clamp(120px, 15vw, 150px);
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--bg-dark);
    transition: border-color 0.3s ease;
}

.team-card:hover img {
    border-color: var(--gold);
}

.team-card h3 {
    font-size: clamp(20px, 2.5vw, 26px);
    color: #042119;
    margin-bottom: 5px;
    font-weight: 600;
}

.team-card .role {
    color: var(--bg-dark);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: clamp(14px, 1.8vw, 16px);
    letter-spacing: 0.5px;
}

.team-card p {
    font-size: clamp(13px, 1.7vw, 15px);
    color: #2c3e50;
    padding: 0 5px;
    line-height: 1.6;
    margin: 0;
}

/* Tablet */
@media screen and (max-width: 1024px) {
    .team-section {
        padding: 60px 5%;
    }
    .team-card {
        min-width: 230px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .team-section {
        padding: 50px 20px;
    }
    .team-section h2 {
        font-size: 32px;
    }
    .team-section > p {
        font-size: 15px;
    }
    .team-grid {
        gap: 25px;
    }
    .team-card {
        flex: 1 1 100%;
        max-width: 340px;
        margin: 0 auto;
        padding: 25px 15px 20px;
    }
    .team-card img {
        width: 130px;
        height: 130px;
    }
    .team-card h3 {
        font-size: 22px;
    }
    .team-card p {
        font-size: 14px;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .team-section h2 {
        font-size: 26px;
    }
    .team-section > p {
        font-size: 14px;
    }
    .team-card {
        max-width: 300px;
    }
    .team-card img {
        width: 110px;
        height: 110px;
    }
    .team-card h3 {
        font-size: 20px;
    }
    .team-card .role {
        font-size: 14px;
    }
}

/* ============================================= */
/* ADDITIONAL GLOBAL RESPONSIVE UTILITIES        */
/* ============================================= */

/* Fluid typography for all headings */
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: clamp(22px, 3vw, 32px); }
h4 { font-size: clamp(18px, 2.5vw, 24px); }
p { font-size: clamp(14px, 1.8vw, 16px); }

/* Container max-width for large screens */
.container, .container2, .footer_inner, 
.about-hero .container2, .team-grid, 
.values-grid, .stats-section {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Button responsive */
.btn {
    padding: clamp(10px, 1.5vw, 14px) clamp(20px, 3vw, 35px);
    font-size: clamp(14px, 1.8vw, 16px);
    white-space: nowrap;
}

.btn-filled, .btn-outlines {
    padding: clamp(12px, 1.8vw, 16px) clamp(25px, 3.5vw, 40px) !important;
}

/* Tablet (portrait and landscape) */
@media screen and (max-width: 1024px) {
    .about-hero-left h1 { font-size: 42px; }
    .story-left h2 { font-size: 38px; }
    .team-section h2 { font-size: 38px; }
    .values-section h2 { font-size: 38px; }
}

/* Mobile */
@media screen and (max-width: 768px) {
    h1 { font-size: 36px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
    
    .about-hero-left h1 { font-size: 36px; }
    .story-left h2 { font-size: 32px; }
    .team-section h2 { font-size: 32px; }
    .values-section h2 { font-size: 32px; }
    
    .btn {
        white-space: normal;
        word-break: break-word;
    }
    
    /* Center align all sections on mobile */
    .about-hero, .story-section, .values-section, 
    .team-section, .stats-section {
        text-align: center;
    }
    
    /* Full width images and containers */
    .about-hero-right, .story-right,
    .team-card, .value-card {
        width: 100%;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    h1 { font-size: 28px; }
    h2 { font-size: 26px; }
    h3 { font-size: 22px; }
    
    .about-hero-left h1 { font-size: 28px; }
    .story-left h2 { font-size: 26px; }
    .team-section h2 { font-size: 26px; }
    .values-section h2 { font-size: 26px; }
    
    .stat-item .number { font-size: 38px; }
    .stat-item .label { font-size: 14px; }
    
    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}

/* Very Small Mobile (max-width: 360px) */
@media screen and (max-width: 360px) {
    h1 { font-size: 24px; }
    h2 { font-size: 22px; }
    h3 { font-size: 20px; }
    
    .about-hero-left h1 { font-size: 24px; }
    .about-hero-left p { font-size: 14px; }
    .story-left h2 { font-size: 22px; }
    .story-left p { font-size: 13px; }
    
    .team-card h3 { font-size: 18px; }
    .team-card p { font-size: 12px; }
    
    .value-card h3 { font-size: 18px; }
    .value-card p { font-size: 12px; }
    
    .stat-item .number { font-size: 32px; }
    .stat-item .label { font-size: 12px; }
}

/* Landscape mode for all devices */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .about-hero {
        padding: 30px 5%;
    }
    .about-hero-right {
        min-height: 200px;
    }
    .story-right {
        min-height: 200px;
    }
    .stats-section {
        padding: 30px 5%;
    }
}

/* High-resolution / large desktop screens */
@media screen and (min-width: 1600px) {
    .about-hero .container2,
    .story-section,
    .values-grid,
    .team-grid {
        max-width: 1600px;
    }
    
    .about-hero-left h1 {
        font-size: 58px;
    }
    .story-left h2 {
        font-size: 52px;
    }
    .values-section h2 {
        font-size: 52px;
    }
    .team-section h2 {
        font-size: 52px;
    }
}

/* Print styles (optional) */
@media print {
    .about-hero, .story-section, .stats-section,
    .values-section, .team-section {
        padding: 20px;
        color: black;
        background: white;
    }
    .btn, .hero-actions {
        display: none;
    }
}

/* Fix for iOS zoom on input */
@media screen and (max-width: 768px) {
    input, textarea, select, button {
        font-size: 16px !important;
    }
}

/* Smooth transitions for all interactive elements */
.about-hero-right, .story-right, .team-card,
.value-card, .stat-item, .btn {
    transition: all 0.3s ease;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Flexbox gap fallback for older browsers */
@supports not (gap: 1rem) {
    .about-hero .container2 > * {
        margin-right: 30px;
        margin-bottom: 30px;
    }
    .about-hero .container2 > *:last-child {
        margin-right: 0;
    }
}

/* Accessibility: focus states */
button:focus, .btn:focus, a:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    /* Optional dark mode adjustments */
    .about-hero {
        background-color: #062d22;
    }
}