/* ============================================================
   🎨 1. RESET & BASE STYLES - ARABIC (RTL)
   ============================================================ */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

/* ===== Custom Fonts ===== */
@font-face {
    font-family: 'DINNextLTArabic';
    src: url('fonts/din-next-lt-arabic-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Noor';
    src: url('fonts/Noor-Regular.ttf') format('truetype');
}

/* ===== Body ===== */
body { 
    background: #F5F0E3; 
    color: #3F5543; 
    line-height: 1.7; 
    font-family: 'Noor', 'Poppins', sans-serif;
    overflow-x: hidden; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
    direction: rtl;
    }

html, body {
    margin: 0 !important;
    padding: 0 !important;
}

/* ===== Headings ===== */
h1, h2, h3, h4, h5, h6,
.hero-content h1,
.nav-links a,
.login-btn,
.btn,
.breadcrumb,
.about-card h3,
.values-header h2,
.value-item h4,
.team-section h2,
.team-member h4 {
    font-family: 'DINNextLTArabic', 'Cairo', 'Poppins', sans-serif;
}

/* ===== Paragraphs ===== */
p,
.about-text p,
.about-card p,
.value-item p,
.team-member p,
.sub-text,
.info-box,
.social-text {
    font-family: 'Noor', 'Poppins', sans-serif;
}

strong {
    color: #4A7E46 !important;
}

/* ============================================================
   🟢 2. BUTTONS
   ============================================================ */
.btn {
    background-color: #2f3d2e;
    color: #faf8f5;
    padding: 14px 32px;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(47, 61, 46, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background-color: #bcb5a4;
    color: #1e2b1f;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(47, 61, 46, 0.5);
}

.btn:active {
    transform: scale(0.95);
    opacity: 0.8;
}

.btn:focus {
    outline: 3px solid #bcb5a4;
    outline-offset: 3px;
}
/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #F5F0E3; }
::-webkit-scrollbar-thumb { background: #4E684C; border-radius: 0px; transition: all 0.3s ease; }
::-webkit-scrollbar-thumb:hover { background: #3F5543; }

/* ============================================================
    4. HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: #F5F0E3;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}


.slide1 { background-image: url("images/slid1.png"); }
.slide2 { background-image: url("images/slide2.png"); }
.slide3 { background-image: url("images/slide3.PNG"); }

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 20px;
    color: white;
    animation: fadeInUp 1.2s ease;
}

.hero-content h1 {
    font-size: 58px;
    color: #4E684C;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 22px;
    color: #4E684C;
    margin-bottom: 30px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-content .btn {
    background: #4E684C;
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    border: none;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-content .btn:hover {
    background: #3F5543;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 22px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.hero-slider-btn:hover {
    background: rgba(78, 104, 76, 0.8);
    border-color: #4E684C;
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-btn:active {
    transform: translateY(-50%) scale(0.9);
}
.hero-slider-btn.next:hover {
    background: #4E684C;
}
.hero-slider-btn.prev:hover {
    background: #4E684C;
}
.hero-slider-btn.prev { left: 20px; }
.hero-slider-btn.next { right: 20px; }

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.hero-dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-dot.active {
    background: #4E684C;
    transform: scale(1.3);
    border-color: #4E684C;
}

.hero-dot:hover {
    background: #4E684C;
    transform: scale(1.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================================
   ℹ️ 5. ABOUT SECTION
   ============================================================ */
.about {
    padding: 100px 10%;
    text-align: center;
    background: #F5F0E3;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #4E684C;
}

.about p {
    max-width: 800px;
    margin: auto;
    font-size: 18px;
    color: #3F5543;
}


/* ============================================================
    6. SERVICES SECTION
   ============================================================ */
.services {
    padding: 100px 8%;
    background: white;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 40px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: #F5F0E3;
    padding: 40px;
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card i {
    font-size: 45px;
    color: #4E684C;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: 0.3s;
}

.card-link:hover {
    transform: translateY(-5px);
}

.card-link .card {
    height: 100%;
    transition: 0.3s;
}

.card-link:hover .card {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}


/* ============================================================
    7. MANAGER'S MESSAGE
   ============================================================ */
.manager-message {
    padding: 100px 20px;
    background: #F5F0E3;
    position: relative;
}

.manager-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1200px;
    height: 2px;
    background: linear-gradient(to right, transparent, #4E684C, transparent);
}

.manager-message-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.manager-message-container h2 {
    font-size: 36px;
    color: #4E684C;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.manager-message-container h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: #E9DDC7;
    margin: 8px auto 0;
}

.manager-message-content {
    background: white;
    padding: 50px 60px;
    border-radius: 0px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-right: 6px solid #4E684C;
    border-left: 6px solid #4E684C;
    border-top: 1px solid #e0d9cb;
    border-bottom: 1px solid #e0d9cb;
    max-width: 1000px;
    width: 100%;
    position: relative;
    margin-top: 20px;
}

.manager-message-content::before {
    content: '\201D';
    font-size: 80px;
    color: #4E684C;
    opacity: 0.15;
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: 'Georgia', serif;
}

.manager-message-content p {
    font-size: 18px;
    line-height: 2;
    color: #444;
    margin-bottom: 20px;
    font-style: italic;
    padding: 0 20px;
}

.manager-message-content p:last-of-type {
    margin-bottom: 0;
}


/* ==========================================================
 FUTURE VISION (ARABIC)
========================================================== */

.future-vision[dir="rtl"] {
    direction: rtl;
    width: 100%;
    padding: 90px 5% 100px;
    background: #F5F0E3;
    box-sizing: border-box;
    overflow: hidden;
}

/* ==========================================================
    - CONTAINER
========================================================== */

.future-vision[dir="rtl"] .future-vision-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

/* ==========================================================
    - HEADER
========================================================== */

.future-vision[dir="rtl"] .future-vision-header {
    text-align: center;
    margin-bottom: 50px;
}

.future-vision[dir="rtl"] .future-vision-label {
    display: inline-block;
    color: #4E684C;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.future-vision[dir="rtl"] .future-vision-header h2 {
    margin: 0 0 10px;
    color: #3F5543;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
}

.future-vision[dir="rtl"] .future-vision-header h2 span {
    color: #4E684C;
}

.future-vision[dir="rtl"] .future-vision-header .subtitle {
    margin: 0;
    color: #8B9A7A;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
}

/* ==========================================================
    - IMAGE
========================================================== */

.future-vision[dir="rtl"] .future-vision-image {
    width: 100%;
    height: 520px;
    overflow: hidden;
    margin-bottom: 45px;
}

.future-vision[dir="rtl"] .future-vision-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.future-vision[dir="rtl"] .future-vision-image:hover img {
    transform: scale(1.03);
}

/* ==========================================================
   - TEXT CARDS
========================================================== */

.future-vision[dir="rtl"] .future-vision-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: stretch;
}

/* ==========================================================
   - CARD
========================================================== */

.future-vision[dir="rtl"] .future-vision-card {
    position: relative;
    padding: 40px 45px;
    background: #EEE8D8;
    border-top: 4px solid #4E684C;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: right;
}

.future-vision[dir="rtl"] .future-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(63, 85, 67, 0.12);
}

/* ==========================================================
    - NUMBER
========================================================== */

.future-vision[dir="rtl"] .card-number {
    color: #B59A5B;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 18px;
    text-align: right;
}

/* ==========================================================
   - CARD TITLE
========================================================== */

.future-vision[dir="rtl"] .future-vision-card h3 {
    margin: 0;
    color: #3F5543;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: right;
}

/* ==========================================================
   - CARD LINE
========================================================== */

.future-vision[dir="rtl"] .card-line {
    width: 45px;
    height: 2px;
    background: #B59A5B;
    margin: 18px 0 22px 0;
}

/* ==========================================================
 - CARD TEXT
========================================================== */

.future-vision[dir="rtl"] .future-vision-card p {
    margin: 0;
    color: #3F5543;
    font-size: 16px;
    line-height: 1.9;
    text-align: right;
}

.future-vision[dir="rtl"] .future-vision-card strong {
    color: #4E684C;
    font-weight: 700;
}

/* ==========================================================
   TABLET - (max-width: 992px)
========================================================== */

@media (max-width: 992px) {

    .future-vision[dir="rtl"] {
        padding: 70px 4% 80px;
    }

    .future-vision[dir="rtl"] .future-vision-header h2 {
        font-size: 38px;
    }

    .future-vision[dir="rtl"] .future-vision-image {
        height: 430px;
    }

    .future-vision[dir="rtl"] .future-vision-cards {
        gap: 25px;
    }

    .future-vision[dir="rtl"] .future-vision-card {
        padding: 35px 30px;
    }

    .future-vision[dir="rtl"] .future-vision-card p {
        font-size: 15px;
        line-height: 1.8;
    }
}

/* ==========================================================
   MOBILE - (max-width: 576px)
========================================================== */

@media (max-width: 576px) {

    .future-vision[dir="rtl"] {
        padding: 55px 20px 65px;
    }

    .future-vision[dir="rtl"] .future-vision-header {
        margin-bottom: 35px;
    }

    .future-vision[dir="rtl"] .future-vision-label {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .future-vision[dir="rtl"] .future-vision-header h2 {
        font-size: 30px;
    }

    .future-vision[dir="rtl"] .future-vision-header .subtitle {
        font-size: 15px;
    }

    .future-vision[dir="rtl"] .future-vision-image {
        height: 280px;
        margin-bottom: 30px;
    }

    .future-vision[dir="rtl"] .future-vision-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .future-vision[dir="rtl"] .future-vision-card {
        padding: 30px 25px;
    }

    .future-vision[dir="rtl"] .card-number {
        font-size: 36px;
    }

    .future-vision[dir="rtl"] .future-vision-card h3 {
        font-size: 18px;
        letter-spacing: 0.5px;
    }

    .future-vision[dir="rtl"] .future-vision-card p {
        font-size: 15px;
        line-height: 1.8;
    }
}

/* ============================================================
   🏛️ 8. PHILOSOPHY
   ============================================================ */

.philosophy {
    padding: 100px 8%;
    background: #BAC2A8;
    position: relative;
    overflow: hidden;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.04;
    z-index: 0;
}

.philosophy::after {
    content: '✦';
    position: absolute;
    bottom: 40px;
    left: 60px;
    font-size: 80px;
    color: rgba(41, 74, 36, 0.08);
    z-index: 0;
}

.philosophy-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.philosophy-header {
    text-align: center;
    margin-bottom: 50px;
}

.philosophy-header .badge {
    display: inline-block;
    background: #EDEBCF;
    color: #294A24;
    padding: 6px 24px;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
    border: 1px solid #697564;
}

.philosophy-header h2 {
    font-size: 38px;
    color: #294A24;
    font-weight: 700;
    line-height: 1.2;
}

.philosophy-header h2 span {
    color: #4A7E46;
}

.philosophy-header .subtitle {
    font-size: 20px;
    color: #697564;
    margin-top: 12px;
    font-style: italic;
    letter-spacing: 1px;
}

.philosophy-divider {
    width: 250px;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        #697564,
        transparent
    );
    margin: 30px auto 40px;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.philosophy-text {
    color: #335631;
}

.philosophy-text p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 18px;
    color: #335631;
}

.philosophy-text p:first-of-type {
    font-size: 19px;
    line-height: 2.2;
    color: #294A24;
}

.philosophy-text strong {
    color: #4A7E46;
}

.philosophy-text .highlight {
    color: #4A7E46;
    font-style: italic;
}

.philosophy-keywords {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.philosophy-keyword {
    padding: 25px 20px;
    background: #EDEBCF;
    border: 1px solid #697564;
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.philosophy-keyword::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        #BAC2A8,
        transparent
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

.philosophy-keyword:hover::before {
    opacity: 1;
}

.philosophy-keyword:hover {
    transform: translateY(-6px);
    border-color: #4A7E46;
    background: #EDEBCF;
}

.philosophy-keyword .icon {
    font-size: 38px;
    color: #4A7E46;
    margin-bottom: 10px;
    display: block;
    position: relative;
    z-index: 1;
}

.philosophy-keyword h4 {
    color: #294A24;
    font-size: 18px;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.philosophy-keyword .sub {
    font-size: 13px !important;
    color: #697564;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 1;
}

.philosophy-closing {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #697564;
}

.philosophy-closing p {
    font-size: 18px !important;
    line-height: 2 !important;
    color: #335631 !important;
    font-style: italic !important;
    margin-bottom: 0 !important;
}

.philosophy-image {
    position: relative;
}

.philosophy-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border: 1px solid #697564;
}

/* ============================================================
   ❓ 9. WHY CHOOSE US - RTL
   ============================================================ */
.why {
    padding: 100px 8%;
    background: #F5F0E3;
}

.why h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 10px;
    color: #4E684C;
}

.why-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 1px;
}
.why-subtitle strong{
    color:#4A7E46 ;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.why-card {
    background: white;
    padding: 0 0 30px 0;
    text-align: center;
    border: 1px solid #e0d9cb;
    border-radius: 0px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.why-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 20px 40px rgba(78, 104, 76, 0.15);
    border-color: #4E684C;
}

.why-card:active {
    transform: scale(0.96) translateY(-5px);
    box-shadow: 0 8px 20px rgba(78, 104, 76, 0.2);
    transition-duration: 0.1s;
}

.why-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 25px;
    transition: transform 0.5s ease, filter 0.4s ease;
}

.why-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.why-content {
    padding: 0 30px;
    position: relative;
}

.why-content h3 {
    margin-bottom: 10px;
    color: #4E684C;
    transition: color 0.3s ease, transform 0.3s ease;
}

.why-card:hover .why-content h3 {
    color: #3A5540;
    transform: translateY(-2px);
}

.why-content p {
    color: #666;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.why-card:hover .why-content p {
    color: #444;
}

.why-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: right 0.6s ease;
    pointer-events: none;
}

.why-card:hover::after {
    right: 100%;
}


/* ============================================================
    10. STATS
   ============================================================ */
.stats {
    background: #4E684C;
    color: white;
    padding: 90px 8%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-box {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-box h2 {
    font-size: 55px;
    color: #E9DDC7;
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 18px;
    letter-spacing: 1px;
}


/* ============================================================
    11. CONTACT
   ============================================================ */
.contact {
    padding: 100px 10%;
}

.contact h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 40px;
}

form {
    max-width: 700px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input,
textarea {
    padding: 18px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 16px;
}

textarea {
    resize: none;
    height: 180px;
}

form .btn {
    width: 100%;
    text-align: center;
}

.success-message {
    position: fixed;
    top: 30px;
    left: 30px;
    background: #4E684C;
    color: white;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    transform: translateX(-120%);
    transition: 0.5s;
    z-index: 99999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.success-message.show {
    transform: translateX(0);
}

.success-message i {
    font-size: 24px;
    color: #E9DDC7;
}


/* ============================================================
    ERROR MESSAGE
   ============================================================ */
.error-message {
    position: fixed;
    top: 30px;
    left: 30px;
    background: #dc3545;
    color: white;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    transform: translateX(-120%);
    transition: 0.5s;
    z-index: 99999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-right: 4px solid #721c24;
}

.error-message.show {
    transform: translateX(0);
}

.error-message i {
    font-size: 24px;
    color: #ffdddd;
}



/* ============================================================
    13. BUTTONS INTERACTIONS
   ============================================================ */
.btn, .btn-small, .back-btn, .login-btn, .hero-content .btn, .logout-btn {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 0px;
}

.btn:hover, .btn-small:hover, .back-btn:hover, .login-btn:hover, .hero-content .btn:hover, .logout-btn:hover {
    transform: translateY(-5px) !important;
    background-color: #3F5543 !important;
    box-shadow: 0 15px 35px rgba(78, 104, 76, 0.5) !important;
    color: white !important;
}

.btn:active, .btn-small:active, .back-btn:active, .login-btn:active, .hero-content .btn:active, .logout-btn:active {
    transform: scale(0.92) !important;
    box-shadow: 0 5px 15px rgba(78, 104, 76, 0.3) !important;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: rippleAnim 0.6s ease-out forwards;
    pointer-events: none;
    z-index: 999;
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============================================================
    1901px+ 
   ============================================================ */
   @media (min-width: 1901px) {

    .hero-content h1 { font-size: 70px !important; }
    .hero-content p { font-size: 26px !important; }
    .hero-content .btn { padding: 20px 50px !important; font-size: 20px !important; }

    .about, .services, .why {
        max-width: 2000px !important;
        margin: 0 auto !important;
        padding: 120px 60px !important;
    }
    .about p {
        max-width: 1200px !important;
        font-size: 22px !important;
    }
    .cards, .why-cards { 
        grid-template-columns: repeat(4, 1fr) !important; 
        gap: 50px !important; 
    }

    .stats { 
        grid-template-columns: repeat(4, 1fr) !important; 
        padding: 100px 60px !important; 
    }
    .stat-box h2 { font-size: 65px !important; }
    .stat-box p { font-size: 20px !important; }

    /* ===== MANAGER'S MESSAGE ===== */
    .manager-message {
        padding: 120px 10% !important;
        max-width: 2000px !important;
        margin: 0 auto !important;
    }
    .manager-message-container h2 {
        font-size: 48px !important;
        letter-spacing: 2px !important;
    }
    .manager-message-container h2::after {
        width: 120px !important;
        height: 4px !important;
    }
    .manager-message-content {
        padding: 70px 100px !important;
        max-width: 1400px !important;
        border-left-width: 8px !important;
        border-right-width: 8px !important;
    }
    .manager-message-content::before {
        font-size: 100px !important;
        top: 15px !important;
        right: 30px !important;             
        opacity: 0.12 !important;
    }
    .manager-message-content p {
        font-size: 22px !important;
        padding: 0 60px !important;
        line-height: 2.2 !important;
    }

    /* ===== PHILOSOPHY ===== */
    .philosophy {
        padding: 120px 10% !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    .philosophy::after {
        font-size: 120px !important;
        bottom: 50px !important;
        left: 80px !important;                
    }
    .philosophy-container {
        max-width: 1600px !important;
        margin: 0 auto !important;
    }
    .philosophy-header h2 {
        font-size: 48px !important;
    }
    .philosophy-header .badge {
        font-size: 15px !important;
        padding: 8px 32px !important;
        letter-spacing: 5px !important;
    }
    .philosophy-header .subtitle {
        font-size: 22px !important;
    }
    .philosophy-divider {
        width: 100px !important;
        height: 3px !important;
        margin: 40px auto 50px !important;
    }
    .philosophy-content {
        gap: 80px !important;
    }
    .philosophy-text p {
        font-size: 18px !important;
        line-height: 2.2 !important;
    }
    .philosophy-text p:first-of-type {
        font-size: 22px !important;
        line-height: 2.4 !important;
    }
    .philosophy-keywords {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 30px !important;
        margin-top: 40px !important;
    }
    .philosophy-keyword {
        padding: 35px 25px !important;
    }
    .philosophy-keyword .icon {
        font-size: 48px !important;
        margin-bottom: 15px !important;
    }
    .philosophy-keyword h4 {
        font-size: 20px !important;
    }
    .philosophy-keyword .sub {
        font-size: 15px !important;
    }
    .philosophy-closing {
        margin-top: 40px !important;
        padding-top: 35px !important;
    }
    .philosophy-closing p {
        font-size: 22px !important;
        line-height: 2.2 !important;
    }
    .philosophy-image img {
        height: 600px !important;
        border-width: 2px !important;
    }
}


/* ============================================================
    1401px - 1900px 
   ============================================================ */
@media (min-width: 1401px) and (max-width: 1900px) {

    .hero-content h1 { font-size: 55px !important; }
    .hero-content p { font-size: 22px !important; }

    .about, .services, .why, .contact { padding: 100px 8% !important; }
    .cards, .why-cards { grid-template-columns: repeat(4, 1fr) !important; gap: 35px !important; }
}


/* ============================================================
    1201px - 1400px 
   ============================================================ */
@media (min-width: 1201px) and (max-width: 1400px) {

    .hero-content h1 { font-size: 48px !important; }
    .hero-content p { font-size: 19px !important; }
    .hero-content .btn { padding: 13px 32px !important; font-size: 16px !important; }

    .about, .services, .why, .contact { padding: 80px 6% !important; }
    .cards, .why-cards { grid-template-columns: repeat(4, 1fr) !important; gap: 30px !important; }
}


/* ============================================================
    1001px - 1200px 
   ============================================================ */
@media (min-width: 1000px) and (max-width: 1200px) {

    .hero-content h1 { font-size: 42px !important; }
    .hero-content p { font-size: 17px !important; }
    .hero-content .btn { padding: 12px 28px !important; font-size: 15px !important; }
}


/* ============================================================
    901px - 1000px 
   ============================================================ */
@media (min-width: 901px) and (max-width: 1000px) {

    .hero-content h1 { font-size: 38px !important; }
    .hero-content p { font-size: 16px !important; }
    .hero-content .btn { padding: 11px 26px !important; font-size: 14px !important; }
    
    .philosophy { padding: 60px 5%; }
    .philosophy::after {
        font-size: 50px;
        bottom: 20px;
        right: 25px;                          
    }
    .philosophy-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .philosophy-image { width: 100%; order: 2; }
    .philosophy-text { order: 1; }
    .philosophy-image img { height: 220px; width: 100%; object-fit: cover; }
    .philosophy-header h2 { font-size: 28px; }
    .philosophy-header .badge {
        font-size: 11px;
        padding: 4px 16px;
        letter-spacing: 2px;
    }
    .philosophy-header .subtitle { font-size: 15px; }
    .philosophy-divider {
        width: 60px;
        margin: 20px auto 30px;
    }
    .philosophy-text p { font-size: 14px; line-height: 1.9; }
    .philosophy-text p:first-of-type { font-size: 15px; line-height: 2; }
    .philosophy-keywords { grid-template-columns: 1fr 1fr; gap: 15px; }
    .philosophy-keyword { padding: 18px 15px; }
    .philosophy-keyword .icon { font-size: 30px; }
    .philosophy-keyword h4 { font-size: 16px; }
    .philosophy-keyword .sub { font-size: 13px !important; }
    .philosophy-closing p { font-size: 15px !important; }
}


/* ============================================================
    801px - 900px 
   ============================================================ */
@media (min-width: 801px) and (max-width: 900px) {

    .hero-content h1 { font-size: 34px !important; }
    .hero-content p { font-size: 15px !important; }
    .hero-content .btn { padding: 10px 24px !important; font-size: 13px !important; }
    
    .philosophy { padding: 60px 5%; }
    .philosophy::after {
        font-size: 50px;
        bottom: 20px;
        right: 25px;                         
    }
    .philosophy-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .philosophy-image { width: 100%; order: 2; }
    .philosophy-text { order: 1; }
    .philosophy-image img { height: 220px; width: 100%; object-fit: cover; }
    .philosophy-header h2 { font-size: 28px; }
    .philosophy-header .badge {
        font-size: 11px;
        padding: 4px 16px;
        letter-spacing: 2px;
    }
    .philosophy-header .subtitle { font-size: 15px; }
    .philosophy-divider {
        width: 60px;
        margin: 20px auto 30px;
    }
    .philosophy-text p { font-size: 14px; line-height: 1.9; }
    .philosophy-text p:first-of-type { font-size: 15px; line-height: 2; }
    .philosophy-keywords { grid-template-columns: 1fr 1fr; gap: 15px; }
    .philosophy-keyword { padding: 18px 15px; }
    .philosophy-keyword .icon { font-size: 30px; }
    .philosophy-keyword h4 { font-size: 16px; }
    .philosophy-keyword .sub { font-size: 13px !important; }
    .philosophy-closing p { font-size: 15px !important; }
}


/* ============================================================
    800px
   ============================================================ */
@media (max-width: 800px) {

    /* ===== HERO ===== */
    .hero-content h1 { font-size: 30px !important; }
    .hero-content p { font-size: 16px !important; }
    .hero-content .btn { padding: 10px 30px !important; font-size: 14px !important; }
    .hero-slider-btn { padding: 10px 14px !important; font-size: 16px !important; }
    .hero-slider-btn.prev { left: 8px !important; }
    .hero-slider-btn.next { right: 8px !important; }
    .hero-dot { width: 12px !important; height: 12px !important; gap: 12px !important; }

    /* ===== SECTIONS ===== */
    .about, .services, .why, .contact { padding: 50px 20px !important; }
    .about h2, .services h2, .why h2, .contact h2 { font-size: 30px !important; }
    .cards, .why-cards { grid-template-columns: 1fr !important; gap: 25px !important; }

    /* ===== STATS ===== */
    .stats { grid-template-columns: 1fr 1fr !important; padding: 50px 20px !important; }
    .stat-box h2 { font-size: 40px !important; }
}


/* ============================================================
    481px - 800px 
   ============================================================ */
@media (min-width: 481px) and (max-width: 800px) {

    .hero { padding-top: 70px !important; }
    .hero-content h1 { font-size: 30px !important; }
    .hero-content p { font-size: 16px !important; }
    .hero-content .btn { padding: 10px 30px !important; font-size: 14px !important; }
    .hero-slider-btn { padding: 10px 14px !important; font-size: 16px !important; }
    .hero-slider-btn.prev { left: 8px !important; }
    .hero-slider-btn.next { right: 8px !important; }
    .hero-dot { width: 12px !important; height: 12px !important; gap: 12px !important; }

    .about, .services, .why, .contact { padding: 50px 20px !important; }
    .about h2, .services h2, .why h2, .contact h2 { font-size: 30px !important; }
    .cards, .why-cards { grid-template-columns: 1fr !important; gap: 25px !important; }

    .stats { grid-template-columns: 1fr 1fr !important; padding: 50px 20px !important; }
    .stat-box h2 { font-size: 40px !important; }

    .philosophy { padding: 60px 5%; }
    .philosophy::after {
        font-size: 50px;
        bottom: 20px;
        right: 25px;                          
    }
    .philosophy-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .philosophy-image { width: 100%; order: 2; }
    .philosophy-text { order: 1; }
    .philosophy-image img { height: 220px; width: 100%; object-fit: cover; }
    .philosophy-header h2 { font-size: 28px; }
    .philosophy-header .badge {
        font-size: 11px;
        padding: 4px 16px;
        letter-spacing: 2px;
    }
    .philosophy-header .subtitle { font-size: 15px; }
    .philosophy-divider {
        width: 60px;
        margin: 20px auto 30px;
    }
    .philosophy-text p { font-size: 14px; line-height: 1.9; }
    .philosophy-text p:first-of-type { font-size: 15px; line-height: 2; }
    .philosophy-keywords { grid-template-columns: 1fr 1fr; gap: 15px; }
    .philosophy-keyword { padding: 18px 15px; }
    .philosophy-keyword .icon { font-size: 30px; }
    .philosophy-keyword h4 { font-size: 16px; }
    .philosophy-keyword .sub { font-size: 13px !important; }
    .philosophy-closing p { font-size: 15px !important; }
}


/* ============================================================
    480px 
   ============================================================ */
@media (max-width: 480px) {

    /* ===== HERO ===== */
    .hero {
        min-height: 100vh !important;
        height: 100vh !important;
        padding-bottom: 0 !important;
        margin: 0 !important;
    }
    .slide1 { background-image: url("images/slide1-phone.jpg") !important; }
    .slide2 { background-image: url("images/slid2-phone.jpg") !important; }
    .slide3 { background-image: url("images/slide3-phone.jpg") !important; }

    .hero-slider {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin-top: 0 !important;
    }
    .hero-slide {
        background-size: cover !important;
        background-position: center !important;
    }

    .hero-content { padding-top: 20px !important; }
    .hero-content h1 { font-size: 24px !important; }
    .hero-content p { font-size: 14px !important; margin-bottom: 15px !important; }
    .hero-content .btn { padding: 8px 20px !important; font-size: 13px !important; }

    .hero-slider-btn { padding: 8px 12px !important; font-size: 14px !important; }
    .hero-slider-btn.prev { left: 5px !important; }
    .hero-slider-btn.next { right: 5px !important; }
    .hero-dot { width: 10px !important; height: 10px !important; gap: 10px !important; }

    /* ===== SECTIONS ===== */
    .about, .services, .why, .contact { padding: 40px 15px !important; }
    .about h2, .services h2, .why h2, .contact h2 { font-size: 26px !important; }
    .cards, .why-cards { grid-template-columns: 1fr !important; gap: 20px !important; }

    /* ===== STATS ===== */
    .stats {
        grid-template-columns: 1fr 1fr !important;
        padding: 40px 15px !important;
        gap: 15px !important;
    }
    .stat-box h2 { font-size: 32px !important; }
    .stat-box p { font-size: 14px !important; }

    /* ===== MANAGER MESSAGE ===== */
    .manager-message { padding: 40px 15px !important; }
    .manager-message-container h2 { font-size: 24px !important; }
    .manager-message-container h2::after { width: 50px !important; height: 3px !important; }
    .manager-message-content {
        padding: 20px 15px !important;
        border-right: 3px solid #4E684C !important;    
        border-left: 3px solid #4E684C !important;
    }
    .manager-message-content::before {
        font-size: 35px !important;
        top: 5px !important;
        right: 10px !important;                        
        opacity: 0.08 !important;
    }
    .manager-message-content p {
        font-size: 14px !important;
        padding: 0 8px !important;
        line-height: 1.8 !important;
        margin-bottom: 15px !important;
    }

    /* ===== PHILOSOPHY ===== */
    .philosophy { padding: 40px 15px !important; }
    .philosophy::after { display: none !important; }
    .philosophy-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
    }
    .philosophy-image { width: 100% !important; order: 2 !important; }
    .philosophy-text { order: 1 !important; }
    .philosophy-image img {
        height: 180px !important;
        width: 100% !important;
        object-fit: cover !important;
    }
    .philosophy-header h2 { font-size: 22px !important; }
    .philosophy-header .subtitle { font-size: 13px !important; }
    .philosophy-text p { font-size: 13px !important; }
    .philosophy-text p:first-of-type { font-size: 14px !important; }
    .philosophy-keywords { grid-template-columns: 1fr !important; gap: 12px !important; }
    .philosophy-keyword { padding: 14px 12px !important; }
    .philosophy-keyword .icon { font-size: 26px !important; }
    .philosophy-keyword h4 { font-size: 15px !important; }
    .philosophy-keyword .sub { font-size: 12px !important; }
    .philosophy-closing p { font-size: 14px !important; }
}


/* ============================================================
   
============================================================ */

@media (min-width: 801px) and (max-width: 1199px) {
    .stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .stats {
        grid-template-columns: 1fr !important;
    }
}