/* ============================================================
   GREEN & WHITE THEME — Dr. Salma's Ayur Cure And Care Clinic
   Colour palette:
     --green-dark   : #1a6b3a   (deep forest green)
     --green-mid    : #2e9e5b   (main accent green)
     --green-light  : #a8e6c2   (soft mint)
     --green-pale   : #e8f7ee   (near-white tint)
     --white        : #ffffff
     --text-dark    : #1c2b22   (near-black for body text)
     --text-mid     : #3d5a47   (secondary text)
============================================================ */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', sans-serif;
}

body {
    background-color: #ffffff;
    color: #1c2b22;
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    color: #1a6b3a;
    padding-top: 40px;
}

h3 {
    text-align: center;
    font-weight: 600;
    color: #1a6b3a;
}

p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    text-align: center;
    color: #3d5a47;
    padding: 10px;
}

/* ============================================================
   BANNER / HERO
============================================================ */
.banner {
    width: 100%;
    height: 100vh;
    background: #0d3d20;
    padding-top: 10px;
    position: relative;
    overflow: hidden;
}

/* ---------- NAVBAR ---------- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(10, 40, 20, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(168, 230, 194, 0.15);
    box-shadow: none;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s;
}

nav.scrolled {
    background: rgba(10, 40, 20, 0.7);
    border-bottom-color: rgba(168, 230, 194, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar {
    width: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 48px;
    cursor: pointer;
    padding-right: 0;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.navbar ul {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0 auto;
    padding: 8px 0;
}

.navbar ul li {
    list-style: none;
    display: inline-block;
    margin: 10px 22px;
    position: relative;
    padding-bottom: 5px;
}

.navbar ul li a {
    text-decoration: none;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.navbar ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a8e6c2, #2e9e5b);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar ul li a:hover::before {
    width: 100%;
}

.navbar ul li a:hover {
    color: #ffffff;
}

/* Dropdown */
.navbar ul li .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #a8e6c2;
    border-radius: 6px;
    min-width: 175px;
    z-index: 999;
    list-style: none;
    padding: 6px 0;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(26, 107, 58, 0.15);
}

.navbar ul li:hover .dropdown {
    display: block;
}

.navbar ul li .dropdown li {
    display: block;
    width: 100%;
    margin: 0;
}

.navbar ul li .dropdown li a {
    padding: 10px 16px;
    display: block;
    color: #1a6b3a;
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0;
}

.navbar ul li .dropdown li a:hover {
    background-color: #2e9e5b;
    color: #ffffff;
}

/* Hamburger icon (hidden on desktop) */
nav .fa {
    display: none;
}

/* ---------- HERO CONTENT ---------- */
.content {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
    animation: fade-in-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translate(-50%, -35%);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
        filter: blur(0);
    }
}

.content h1 {
    font-size: 3rem;
    margin-top: 30px;
    color: #ffffff;
    padding-top: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.special-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    border: 2px solid #a8e6c2;
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.special-title:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    box-shadow: 0 8px 32px rgba(168, 230, 194, 0.3);
}

.special-smoltext {
    color: #a8e6c2;
    font-size: 1rem;
    margin-top: 12px;
    line-height: 1.6;
}

/* Hero buttons */
.button {
    margin-top: 30px;
}

button {
    width: 200px;
    padding: 6px 0;
    text-align: center;
    margin: 12px 10px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid #a8e6c2;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

button span {
    background: #2e9e5b;
    width: 0;
    height: 100%;
    border-radius: 30px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

button:hover span {
    width: 100%;
}

button:hover {
    border-color: #a8e6c2;
    box-shadow: 0 6px 20px rgba(168, 230, 194, 0.3);
    transform: translateY(-2px);
}

/* Hero CTA link */
.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    border: 2px solid #a8e6c2;
    padding: 13px 36px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: transparent;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 30px;
    margin-top: 20px;
    position: relative;
}

.hero-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #2e9e5b;
    border-radius: 30px;
    z-index: -1;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scaleX(0);
    transform-origin: left;
}

.hero-btn:hover::before {
    transform: scaleX(1);
}

.hero-btn:hover {
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(26, 107, 58, 0.35);
    transform: translateY(-2px);
}

.dif-btn {
    margin-top: 24px;
    display: inline-block;
}

/* ============================================================
   POPUPS
============================================================ */
.popup,
.popup-right {
    visibility: hidden;
    width: 420px;
    background: #ffffff;
    border-radius: 10px;
    border-top: 4px solid #2e9e5b;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.001);
    text-align: center;
    padding: 20px 20px 16px;
    color: #1c2b22;
    transition: 0.35s;
    opacity: 0;
    box-shadow: 0 8px 30px rgba(26, 107, 58, 0.2);
    z-index: 100;
}

.open-popup,
.open-popup-right {
    visibility: visible;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.popup h2,
.popup-right h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a6b3a;
    margin-bottom: 10px;
}

.popup p,
.popup-right p {
    color: #3d5a47;
    font-size: 0.92rem;
    line-height: 1.6;
    text-align: left;
    padding: 0;
}

.popup button,
.popup-right button {
    width: 80%;
    margin-top: 16px;
    padding: 10px 0;
    background: transparent;
    border: 2px solid #2e9e5b;
    color: #2e9e5b;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
}

.popup button:hover,
.popup-right button:hover {
    background: #2e9e5b;
    color: #ffffff;
}

/* ============================================================
   ROW (shared flex layout)
============================================================ */
.row {
    margin-top: 4%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* ============================================================
   ABOUT US SECTION
============================================================ */
.about-us {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 60px;
}

.vis {
    background: linear-gradient(135deg, #2e9e5b, #1a6b3a);
    border-radius: 12px;
    margin: 24px auto 30px;
    padding: 18px 28px;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 800px;
}

.about-us-col {
    flex: 1 1 45%;
    background: #e8f7ee;
    border: 2px solid #a8e6c2;
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.about-us-col::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46,158,91,0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.about-us-col:hover::before { opacity: 1; }

.about-us-col:hover {
    background: #1a6b3a;
    border-color: #2e9e5b;
    color: #ffffff;
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(26, 107, 58, 0.3);
}

.about-us-col:hover h3,
.about-us-col:hover .about-title {
    color: #a8e6c2;
}

.about-title {
    color: #1a6b3a;
    margin-bottom: 12px;
}

.special-text {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.7;
    color: #3d5a47;
    text-align: left;
}

.about-us-col:hover .special-text {
    color: #d4f0e2;
}

/* ============================================================
   SERVICES SECTION
============================================================ */
.services {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 60px;
    background: #ffffff;
}

.arabic-text {
    font-size: 1.1rem;
    color: #1a6b3a;
    direction: rtl;
    line-height: 2;
}

.services-col {
    flex: 1 1 30%;
    background: #ffffff;
    border: 2px solid #a8e6c2;
    border-radius: 16px;
    padding: 32px 18px;
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.services-col::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2e9e5b, #a8e6c2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.services-col:hover::after { transform: scaleX(1); }

.services-col:hover {
    background: #1a6b3a;
    border-color: #2e9e5b;
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(26, 107, 58, 0.25);
    transform: scale(1.04) translateY(-4px);
}

.services-col:hover h3 {
    color: #a8e6c2;
}

.services-col:hover p {
    color: #d4f0e2;
}

/* ============================================================
   PROJECTS SECTION
============================================================ */
.projects {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 60px;
    background: #e8f7ee;
    border-radius: 20px;
    margin-top: 60px;
}

.title-proj {
    max-width: 700px;
    margin: 0 auto 30px;
    padding-bottom: 20px;
}

.projects-col {
    flex: 1 1 30%;
    border-radius: 12px;
    margin-bottom: 5%;
    text-align: center;
    background: #ffffff;
    padding: 16px;
    border: 1px solid #a8e6c2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-col:hover {
    box-shadow: 0 12px 32px rgba(26, 107, 58, 0.22);
    transform: translateY(-6px);
    border-color: #2e9e5b;
}

.projects-col img {
    width: 100%;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-col img:hover {
    box-shadow: 0 12px 28px rgba(26, 107, 58, 0.28);
    transform: scale(1.08);
}

.projects-col h3 {
    margin-top: 14px;
    margin-bottom: 10px;
}

.projects-col p {
    font-size: 0.88rem;
    text-align: center;
    color: #3d5a47;
}

/* ============================================================
   TESTIMONIALS SECTION
============================================================ */
.testimonials {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 60px;
    text-align: center;
}

.testimonial-col {
    flex: 1 1 44%;
    background: #e8f7ee;
    border-left: 4px solid #2e9e5b;
    border-radius: 12px;
    padding: 28px 24px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-col::before {
    content: '\201C';
    position: absolute;
    top: -10px; left: 12px;
    font-size: 6rem;
    color: rgba(46,158,91,0.12);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-col:hover {
    background: #d0f0e0;
    box-shadow: 0 10px 32px rgba(26, 107, 58, 0.2);
    transform: translateX(8px);
    border-left-color: #a8e6c2;
}

.testimonial-col p {
    font-size: 1rem;
    color: #1c2b22;
    text-align: left;
    padding: 0;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-col h3 {
    margin-top: 14px;
    text-align: left;
    color: #2e9e5b;
    font-size: 0.9rem;
    font-weight: 700;
}

/* ============================================================
   CONTACT CTA SECTION
============================================================ */
.contact {
    margin: 80px auto;
    width: 80%;
    background-image:
        linear-gradient(rgba(26, 107, 58, 0.82), rgba(10, 50, 25, 0.88)),
        url(background.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 16px;
    text-align: center;
    padding: 90px 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact:hover {
    box-shadow: 0 16px 48px rgba(26, 107, 58, 0.35);
    transform: translateY(-4px);
}

.contact h1 {
    color: #ffffff;
    margin-bottom: 36px;
    padding: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
    width: 100%;
    background: linear-gradient(180deg, #0f3d21 0%, #1a6b3a 100%);
    text-align: center;
    padding: 50px 20px 36px;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, transparent, #a8e6c2, #2e9e5b, #a8e6c2, transparent) 1;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168,230,194,0.6), transparent);
}

.footer-logo img {
    width: 70px;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
}

.footer-name {
    color: #a8e6c2;
    font-size: 1rem;
    font-weight: 700;
    padding: 0;
    margin-bottom: 16px;
}

.footer-tagline {
    color: #d4f0e2;
    font-size: 0.85rem;
    padding: 0;
    margin-top: 12px;
}

.icons {
    margin: 16px 0;
}

.iconic {
    color: #a8e6c2;
    font-size: 1.4rem;
    margin: 0 10px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-block;
}

.iconic:hover {
    color: #ffffff;
    transform: translateY(-4px) scale(1.2);
}

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-us-content {
    width: 80%;
    margin: auto;
    padding: 80px 0 60px;
}

.about-content-col {
    flex: 1 1 45%;
}

.about-content-col img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(26, 107, 58, 0.2);
}

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-us-content {
    width: 80%;
    margin: auto;
    padding: 80px 0 60px;
}

.about-content-col {
    flex: 1 1 45%;
}

.about-content-col img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(26, 107, 58, 0.2);
}

/* ============================================================
   SUB-HEADER (used on inner pages)
.sub-header {
    height: 55vh;
    width: 100%;
    background-image:
        linear-gradient(rgba(26, 107, 58, 0.72), rgba(10, 50, 25, 0.85)),
        url(background.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    color: #ffffff;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 60px;
}

.sub-header h1 {
    color: #ffffff;
    padding-top: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    animation: fade-in-sub 0.7s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes fade-in-sub {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CONTACT PAGE
============================================================ */
.location {
    width: 80%;
    margin: auto;
    padding: 80px 0;
}

.location iframe {
    width: 100%;
    border-radius: 10px;
}

.contact-us {
    width: 80%;
    margin: auto;
}

.contact-col {
    flex: 1 1 45%;
    margin-bottom: 30px;
}

.contact-col div {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div .fa {
    font-size: 28px;
    color: #2e9e5b;
    margin: 10px 30px 10px 10px;
}

.contact-col div p {
    padding: 0;
    text-align: left;
}

.contact-col div h5 {
    font-size: 1rem;
    color: #3d5a47;
    font-weight: 600;
}

.contact-col input,
.contact-col textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 14px;
    outline: none;
    border: 1px solid #a8e6c2;
    border-radius: 6px;
    background: #e8f7ee;
    color: #1c2b22;
    transition: border-color 0.3s;
}

.contact-col input:focus,
.contact-col textarea:focus {
    border-color: #2e9e5b;
    background: #ffffff;
}

/* ============================================================
   FAQ PAGE
============================================================ */
.questions {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 60px;
}

.faq-row {
    margin-top: 2%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.faq-col {
    flex: 1 1 30%;
    background: #ffffff;
    border: 2px solid #a8e6c2;
    border-radius: 16px;
    margin-bottom: 5%;
    padding: 36px 18px;
    transition: 0.4s;
}

.faq-col:hover {
    background: #1a6b3a;
    border-color: #2e9e5b;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(26, 107, 58, 0.2);
    transform: scale(1.03);
}

.faq-col:hover h3 {
    color: #a8e6c2;
}

.faq-col:hover p {
    color: #d4f0e2;
}

/* ============================================================
   CONTACT FORM CONTAINER
============================================================ */
.container-form {
    width: 100%;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding-top: 110px;
    border: 2px solid #2e9e5b;
    border-radius: 10px;
}

.getintouch {
    margin: 20px;
}

.inpbox {
    border-radius: 5px;
    margin-top: 30px;
}

.cool-btn {
    border-radius: 6px;
    color: #2e9e5b;
    border: 2px solid #2e9e5b;
    background: transparent;
    width: 130px;
    height: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.cool-btn:hover {
    background: #2e9e5b;
    color: #ffffff;
    border-color: #2e9e5b;
}

.special-col {
    margin-top: 50px;
    padding: 10px;
    line-height: 4;
}

/* ============================================================
   RESPONSIVE — max-width: 1000px
============================================================ */
@media (max-width: 1000px) {

    nav .fa {
        display: block;
        color: #ffffff;
        margin: 10px;
        font-size: 30px;
        cursor: pointer;
    }

    .navbar {
        position: fixed;
        background: linear-gradient(180deg, #1a6b3a 0%, #0d3d20 100%);
        height: 100vh;
        width: 300px;
        top: 0;
        right: -320px;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
        align-items: flex-start;
        padding-top: 20px;
    }

    .navbar ul li {
        display: block;
        padding: 10px 20px;
        font-size: 1rem;
    }

    .logo {
        display: none;
    }

    .content {
        width: 90%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0 16px;
    }

    .content h1 {
        font-size: 1.4rem;
    }

    .content p {
        font-size: 0.9rem;
    }

    .banner {
        height: 102vh;
    }

    .button {
        display: none;
    }

    .row {
        flex-direction: column;
    }

    .about-us-col:hover {
        transform: scale(1.02);
    }

    .sub-header h1 {
        font-size: 1.4rem;
    }

    .contact h1 {
        font-size: 1.4rem;
    }

    .footer .footer-name {
        font-size: 0.9rem;
    }

    .special-col {
        align-items: center;
        justify-content: center;
    }

    .navbar ul li .dropdown {
        position: static;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        box-shadow: none;
        border-radius: 0;
        min-width: unset;
    }

    .navbar ul li .dropdown li a {
        color: #a8e6c2;
        padding: 8px 16px;
    }

    .navbar ul li .dropdown li a:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff;
    }
}

@media (max-width: 700px) {
    .contact h1 {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 1.6rem;
    }
}











