/* ==================================
   ABD MEDICARE WEBSITE STYLESHEET
================================== */

:root{
    --primary:#7A3043;
    --primary-dark:#4E1730;
    --secondary:#E67A6A;
    --background:#E7EEF1;
    --white:#a59f9f;
    --text:#2F2F2F;
}

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:var(--background);
    color:var(--text);
    line-height:1.6;
    overflow-x:hidden;
}

/* ==================================
   NAVIGATION
================================== */

.navbar{
    position:sticky;
    top:0;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 8%;

    background:rgba(255,255,255,0.95);
    backdrop-filter:blur(10px);

    box-shadow:0 4px 20px rgba(0,0,0,.05);
}


.logo{
    display:flex;
    align-items:center;
    flex-shrink:0;
}

.logo{
    display:flex;
    align-items:left;
    flex-shrink:0;
}

.logo img{
    height:100px;
    width:auto;
    display:block;
    object-fit:contain;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:30px;
}

.nav-links a{
    text-decoration:none;
    color:var(--primary-dark);
    font-weight:600;
    font-size:1.2rem;
    transition:.3s;
}

.nav-links a:hover{
    color:var(--secondary);
}

/* ==================================
   BUTTONS
================================== */

.btn{
    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:white;
    padding:14px 28px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
}

.btn-outline{
    border:2px solid white;
    color:white;
    padding:14px 28px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn-outline:hover{
    background:white;
    color:var(--primary);
}

/* ==================================
   HERO SECTION
================================== */

.hero{
    min-height:95vh;
    display:flex;
    align-items:center;
    justify-content:center;

    position:relative;
    overflow:hidden;

    padding:0 8%;

    background:linear-gradient(
        120deg,
        rgba(231,238,241,.95),
        rgba(255,255,255,.9)
    );
}

/* Large Curved Shape */

.hero::before{
    content:"";

    position:absolute;

    width:700px;
    height:700px;

    background:linear-gradient(
        var(--secondary),
        var(--primary)
    );

    border-radius:45% 55% 70% 30%;

    right:-250px;
    top:-150px;

    opacity:.15;
}

/* Circular Line Accent */

.hero::after{
    content:"";

    position:absolute;

    width:500px;
    height:500px;

    border:4px solid var(--primary);

    border-radius:50%;

    right:-150px;
    bottom:-150px;

    opacity:.2;
}

.hero-content{
    max-width:700px;
    z-index:10;
}

.hero h1{
    font-size:4rem;
    line-height:1.1;
    color:var(--primary-dark);
    margin-bottom:20px;
}

.hero span{
    color:var(--secondary);
}

.hero p{
    font-size:1.1rem;
    margin-bottom:30px;
    color:#555;
}

.hero-buttons{
    display:flex;
    gap:15px;
}

/* ==================================
   SECTIONS
================================== */

section{
    padding:90px 8%;
}

section h2{
    text-align:center;
    color:var(--primary);
    font-size:2.5rem;
    margin-bottom:20px;
}

section h2::after{
    content:"";
    display:block;

    width:80px;
    height:4px;

    background:var(--secondary);

    margin:15px auto 0;
}

/* ==================================
   SERVICES
================================== */

.service-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-top:50px;
}

.card{
    background:white;

    padding:35px;

    border-radius:20px;

    box-shadow:
    0 10px 30px rgba(122,48,67,.08);

    transition:.4s;
}

.card:hover{
    transform:translateY(-10px);

    box-shadow:
    0 20px 40px rbag(122,48,67,.15);
}

.card h3{
    color:var(--primary);
    margin-bottom:15px;
}

/* ==================================
   ABOUT
================================== */
.about{
    position:relative;
    background:url("imagesabd/Orangebackground.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    padding:80px 20px;
    overflow:hidden;
}

/* Overlay */
.about::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(255, 255, 255, 0.493); /* Adjust darkness here */
    z-index:1;
}

/* Keep content above overlay */
.about-content{
    position:relative;
    z-index:2;
    max-width:1100px;
    margin:auto;
    text-align:center;
}

/* BOXES */

.about-block{
    flex:1;
    min-width:280px;

    background:rgba(255,255,255,0.95);

    padding:30px;

    border-radius:15px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.15);

    text-align:left;

    transition:.3s ease;
}

.about-block:hover{
    transform:translateY(-8px);

    box-shadow:
    0 15px 40px rgba(0,0,0,.20);
}

.about-block h3{
    color:var(--primary);
    margin-bottom:15px;
    font-size:1.4rem;
}

.about-block p{
    color:#444;
    line-height:1.8;
}

/* ==================================
   WHY CHOOSE US
================================== */

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-top:50px;
}

.why-card{
    background:white;

    padding:35px;

    border-radius:20px;

    box-shadow:
    0 10px 30px rgba(122,48,67,.08);

    transition:.4s;
}

.why-card:hover{
    transform:translateY(-10px);

    box-shadow:
    0 20px 40px rgba(122,48,67,.15);
}

.why-card h3{
    color:var(--primary);
    margin-bottom:15px;
}

/* ==================================
   CORE VALUES
================================== */

.core-values{
    padding:100px 8%;
    background:#f8f9fc;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:2.5rem;
    color:#1a1a1a;
    margin-bottom:15px;
}

.section-title p{
    color:#666;
    max-width:700px;
    margin:auto;
}

.values-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.value-card{
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
    position:relative;
    overflow:hidden;
}

.value-card:hover{
    transform:translateY(-10px);
}

.value-number{
    width:60px;
    height:60px;
    background:#ff7b22;
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:1.1rem;
    margin-bottom:20px;
}

.value-card h3{
    color:#222;
    margin-bottom:15px;
    font-size:1.3rem;
}

.value-card p{
    color:#666;
    line-height:1.8;
}

/* ==================================
   Catalogue Preview
================================== */
.catalogue-preview{
    padding:100px 8%;
    text-align:center;
    background:#f8f8f8;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-top:50px;
}

.product-card{
    position:relative;
    overflow:hidden;
    border-radius:20px;
    background:white;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
    cursor:pointer;
}

.product-card img{
    width:100%;
    height:320px;
    object-fit:cover;
    display:block;
}

.product-info{
    position:absolute;
    bottom:-100%;
    left:0;
    width:100%;
    height:100%;
    background:rgba(122,48,67,.95);
    color:white;
    padding:30px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    transition:.4s ease;
}

.product-card:hover .product-info{
    bottom:0;
}

.product-info h3{
    margin-bottom:15px;
}

.catalogue-btn{
    display:inline-block;
    margin-top:50px;
    padding:15px 35px;
    background:#7A3043;
    color:white;
    text-decoration:none;
    border-radius:50px;
    transition:.3s;
}

.catalogue-btn:hover{
    background:#4E1730;
}

/* ==================================
   CONTACT
================================== */

.contact{
    text-align:center;
}

form{
    max-width:700px;
    margin:auto;

    display:flex;
    flex-direction:column;
    gap:20px;
}

input,
textarea{
    padding:16px;

    border:none;

    border-radius:15px;

    background:white;

    transition:.3s;
}

input:focus,
textarea:focus{
    outline:none;
    border:2px solid var(--secondary);
}

textarea{
    min-height:180px;
}

button{
    border:none;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:white;

    padding:16px;

    border-radius:50px;

    font-size:1rem;

    cursor:pointer;

    transition:.3s;
}

button:hover{
    transform:translateY(-3px);
}

/* ==================================
   FOOTER
================================== */

footer{
    background:var(--primary-dark);
    color:white;

    text-align:center;

    padding:40px;
}

/* ==================================
   CURVE DIVIDER
================================== */

.wave-divider{
    height:120px;

    background:
    radial-gradient(
        circle at top left,
        transparent 70%,
        rgba(122,48,67,.08) 71%
    );
}

/* ==================================
   MOBILE RESPONSIVE
================================== */

@media(max-width:768px){

    .navbar{
        flex-direction:column;
        gap:20px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero{
        text-align:center;
    }

    .hero h1{
        font-size:2.7rem;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    section h2{
        font-size:2rem;
    }
}
