/* Font Face Declarations */
@font-face {
    font-family: 'Now';
    src: url('Font/Now-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Now';
    src: url('Font/Now-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Now';
    src: url('Font/Now-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Now';
    src: url('Font/Now-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Now';
    src: url('Font/Now-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Now';
    src: url('Font/Now-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Glacial Indifference';
    src: url('Font/glacial-indifference.regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Glacial Indifference', sans-serif;
    line-height: 1.6;
    color: #000000;
    overflow-x: hidden;
    background: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

/* All headings use Now font */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Now', sans-serif;
}

/* All paragraphs and details use Glacial Indifference */
p, li, span, small, label {
    font-family: 'Glacial Indifference', sans-serif;
}

/* Form inputs and textareas use Glacial Indifference */
input, textarea, select {
    font-family: 'Glacial Indifference', sans-serif;
}

/* Sections */
section {
    position: relative;
}

/* Global Image Styling - Arch Shape */
img {
    border-radius: 20px;
}

/* Specific image overrides for different arch sizes */
.logo-image {
    border-radius: 0;
}

.doctor-photo {
    border-radius: 30px;
}

.gallery-image {
    border-radius: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(28, 89, 87, 0.1);
}

.navbar {
    padding: 0.5rem 0;
    position: relative;
    z-index: 1;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    /* margin: 0 auto; */
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    gap: 10rem;
}

.nav-logo {
    margin-left: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: inline-block;
    order: 1;
    outline: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo img {
    outline: none;
    border: none;
}

.nav-logo h2 {
    color: #1C5957;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Now', sans-serif;
}

.nav-logo span {
    color: #48948A;
    font-size: 0.9rem;
    font-weight: 400;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: none;
    background: transparent;
    outline: none;
    border: none;
    display: block;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    height: 100%;
    flex-wrap: nowrap;
    margin-right: 0;
    margin-left: auto;
    order: 2;
}

.nav-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link {
    text-decoration: none;
    color: #1C5957;
    font-weight: 500;
    font-family: 'Now', sans-serif;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    white-space: nowrap;
}

.nav-link:hover {
    color: #1C5957;
    background: rgba(28, 89, 87, 0.1);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    background: #1C5957;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 80%;
}

.appointment-btn {
    background: #1C5957;
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-family: 'Now', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    height: auto;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(28, 89, 87, 0.2);
    font-size: 1.1rem;
}

.appointment-btn:hover {
    background: #15544a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(28, 89, 87, 0.4);
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(28, 89, 87, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background: #1C5957;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 40px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('beauty.png');
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    z-index: 0;
    transform: scale(1.1);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.hero-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 2rem 40px 2rem 40px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 100px);
    width: 100%;
}

.hero-content {
    text-align: left;
    position: relative;
    padding-left: 40px;
    padding-right: 80px;
    margin-right: auto;
    margin-left: 0;
    max-width: 1600px;
    width: 100%;
}

.hero-title-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 0.5rem;
}

.hero-title-text {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.hero-logo {
    position: relative;
    top: 0;
    right: 0;
    z-index: 10;
    width: auto;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 0;
    display: flex;
    align-items: flex-start;
    height: calc(32pt * 1.3 + 0.3rem + 46pt * 1.2);
}

.picazzo-logo {
    width: auto;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.hero-headline {
    font-size: 32pt;
    font-weight: 700;
    font-family: 'Now', sans-serif;
    color: #000000;
    margin-bottom: 0;
    line-height: 1.3;
    margin-top: 0;
    letter-spacing: 0.5px;
    font-style: normal;
}

.hero-subheadline {
    font-size: 46pt;
    font-weight: 700;
    font-family: 'Now', sans-serif;
    color: #1C5957;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    margin-top: 0.3rem;
    letter-spacing: 1px;
    font-style: normal;
}

.hero-tagline {
    font-size: 21pt;
    font-weight: 400;
    font-family: 'Now', sans-serif;
    color: #000000;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    margin-top: 0;
    letter-spacing: 0.3px;
    font-style: normal;
}

.hero-body {
    font-size: 18pt;
    font-weight: 400;
    font-family: 'Glacial Indifference', sans-serif;
    color: #000000;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    margin-top: 0;
    max-width: 100%;
    white-space: normal;
    font-style: normal;
    letter-spacing: 0.2px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.8rem;
    margin-bottom: 2rem;
    width: 100vw;
    position: relative;
    left: calc(-50vw + 50%);
    margin-left: 0;
}

.btn {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #1C5957;
    color: #ffffff;
}

.btn-primary:hover {
    background: #15544a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(28, 89, 87, 0.4);
}

.btn-appointment {
    background: transparent;
    color: #1C5957;
    border: 3px solid #1C5957;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Now', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 0.5px;
}

.btn-appointment:hover {
    background: #1C5957;
    color: #ffffff;
    border-color: #1C5957;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(28, 89, 87, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #000000;
    border: 2px solid #000000;
}

.btn-secondary:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.doctor-info h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.doctor-info p {
    color: #e9ecef;
    margin-bottom: 0.5rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1C5957;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header .expert-name-main {
    font-size: 3rem;
    color: #1C5957;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: 'Now', sans-serif;
}

.section-header .expert-subtitle {
    font-size: 1.5rem;
    color: #000000;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: 'Now', sans-serif;
    font-style: normal;
}

.section-header p {
    font-size: 1.1rem;
    color: #000000;
    max-width: 600px;
    margin: 0 auto;
}

.section-header .expert-name {
    font-size: 2rem;
    color: #1C5957;
    font-weight: 500;
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-family: 'Now', sans-serif;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 400px;
}

.about-text h3 {
    font-size: 2rem;
    color: #1C5957;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text p {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.qual-spec-container {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.qualifications, .specializations {
    flex: 1;
    min-width: 250px;
}

.qualifications h4, .specializations h4 {
    font-size: 1.3rem;
    color: #1C5957;
    margin-bottom: 1rem;
    font-weight: 500;
}

.qualifications ul, .specializations ul {
    list-style: none;
}

.qualifications li, .specializations li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #000000;
}

.qualifications i, .specializations i {
    color: #CE967C;
    margin-right: 10px;
    width: 20px;
}

.image-placeholder {
    background: #1C5957;
    height: 300px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
}

.doctor-photo {
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 600px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    border-radius: 30px;
}

.doctor-photo:hover {
    transform: scale(1.02);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #A2B7B3;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Advanced Laser Solutions specific styling */
.laser-solutions {
    padding: 5rem 0;
    background: #A2B7B3;
}

.laser-solutions .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.laser-solutions .service-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.15), 0 -4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.laser-solutions .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.2), 0 -6px 15px rgba(0, 0, 0, 0.15);
}

.laser-solutions .service-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    margin: 0 auto 1rem auto;
    display: block;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 8px 20px rgba(28, 89, 87, 0.4), 0 4px 10px rgba(28, 89, 87, 0.3);
    transition: all 0.3s ease;
}

.laser-solutions .service-image:hover {
    box-shadow: 0 12px 30px rgba(28, 89, 87, 0.5), 0 6px 15px rgba(28, 89, 87, 0.4);
    transform: scale(1.02);
}

.laser-solutions .service-image::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    background-image: url('Rayes.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    border-radius: 50%;
}

.laser-solutions .service-card h3 {
    font-size: 1.3rem;
    color: #000000;
    margin-bottom: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
}

.laser-solutions .service-card p {
    color: #000000;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.95rem;
    flex-grow: 1;
}

.laser-solutions .service-btn {
    background: #1C5957;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9rem;
    margin-top: auto;
}

.laser-solutions .service-btn:hover {
    background: #15544a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(28, 89, 87, 0.4);
}

/* Regenerative Therapies specific styling */
.regenerative-therapies {
    padding: 5rem 0;
    background: #ffffff;
}

.regenerative-therapies .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.regenerative-therapies .service-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.15), 0 -4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.regenerative-therapies .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.2), 0 -6px 15px rgba(0, 0, 0, 0.15);
}

.regenerative-therapies .service-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    margin: 0 auto 1rem auto;
    display: block;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 8px 20px rgba(28, 89, 87, 0.4), 0 4px 10px rgba(28, 89, 87, 0.3);
    transition: all 0.3s ease;
}

.regenerative-therapies .service-image:hover {
    box-shadow: 0 12px 30px rgba(28, 89, 87, 0.5), 0 6px 15px rgba(28, 89, 87, 0.4);
    transform: scale(1.02);
}

.regenerative-therapies .service-image::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    background-image: url('Rayes.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    border-radius: 50%;
}

.regenerative-therapies .service-card h3 {
    font-size: 1.3rem;
    color: #000000;
    margin-bottom: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
}

.regenerative-therapies .service-card p {
    color: #000000;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.95rem;
    flex-grow: 1;
}

.regenerative-therapies .service-btn {
    background: #1C5957;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9rem;
    margin-top: auto;
}

.regenerative-therapies .service-btn:hover {
    background: #15544a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(28, 89, 87, 0.4);
}

/* Anti-Ageing & Aesthetic Enhancements specific styling */
.anti-ageing {
    padding: 5rem 0;
    background: #A2B7B3;
}

.anti-ageing .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.anti-ageing .service-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.15), 0 -4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.anti-ageing .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.2), 0 -6px 15px rgba(0, 0, 0, 0.15);
}

.anti-ageing .service-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    margin: 0 auto 1rem auto;
    display: block;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 8px 20px rgba(28, 89, 87, 0.4), 0 4px 10px rgba(28, 89, 87, 0.3);
    transition: all 0.3s ease;
}

.anti-ageing .service-image:hover {
    box-shadow: 0 12px 30px rgba(28, 89, 87, 0.5), 0 6px 15px rgba(28, 89, 87, 0.4);
    transform: scale(1.02);
}

.anti-ageing .service-image::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    background-image: url('Rayes.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    border-radius: 50%;
}

.anti-ageing .service-card h3 {
    font-size: 1.3rem;
    color: #000000;
    margin-bottom: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
}

.anti-ageing .service-card p {
    color: #000000;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.95rem;
    flex-grow: 1;
}

.anti-ageing .service-btn {
    background: #1C5957;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9rem;
    margin-top: auto;
}

.anti-ageing .service-btn:hover {
    background: #15544a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(28, 89, 87, 0.4);
}

/* Anti-Ageing section header specific styling */
.anti-ageing .section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.anti-ageing .section-header h2 {
    font-size: 2.5rem;
    color: #1C5957;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.anti-ageing .section-header p {
    font-size: 1.1rem;
    color: #000000;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

/* Wellness & Inner Balance Section */
.wellness-balance {
    padding: 5rem 0;
    background: #ffffff;
}

.wellness-balance .section-header h2 {
    color: #1C5957;
    font-weight: 700;
}

.wellness-balance .service-card h3 {
    color: #1C5957;
    font-weight: 500;
}

.wellness-balance .service-btn {
    background: #1C5957;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9rem;
    margin-top: auto;
}

.wellness-balance .service-btn:hover {
    background: #15544a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(28, 89, 87, 0.4);
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.15), 0 -4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    scroll-margin-top: 100px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.2), 0 -6px 15px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #1C5957;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin: 0 auto 1.5rem auto;
    display: block;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 8px 20px rgba(28, 89, 87, 0.4), 0 4px 10px rgba(28, 89, 87, 0.3);
    transition: all 0.3s ease;
}

.service-image:hover {
    box-shadow: 0 12px 30px rgba(28, 89, 87, 0.5), 0 6px 15px rgba(28, 89, 87, 0.4);
    transform: scale(1.02);
}

.service-image::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    background-image: url('Rayes.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1C5957;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-card p {
    color: #000000;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-btn {
    background: #1C5957;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-btn:hover {
    background: #15544a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(28, 89, 87, 0.4);
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.gallery-item:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(28, 89, 87, 0.95);
    color: white;
    padding: 1.5rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
}

.gallery-overlay p {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-placeholder {
    background: #1C5957;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gallery-placeholder p {
    font-weight: 600;
}

/* Gallery Section Header Enhancement */
.gallery .section-header {
    position: relative;
    z-index: 1;
}

.gallery .section-header h2 {
    color: #1C5957;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.gallery .section-header p {
    color: #000000;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #A2B7B3;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #1C5957;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    color: #1C5957;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 1.2rem;
}

.contact-details p {
    color: #000000;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #1C5957;
    text-decoration: underline;
}

.contact-details small {
    color: #000000;
    font-style: italic;
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.25rem;
}

.contact-form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
}

.contact-form h3 {
    color: #1C5957;
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1C5957;
    box-shadow: 0 0 0 3px rgba(28, 89, 87, 0.1);
}

/* Appointment Section */
.appointment {
    padding: 5rem 0;
    background: url('appoinment.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
}

.appointment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 89, 87, 0.5);
    z-index: 0;
}

.appointment .container,
.appointment .section-header,
.appointment-content {
    position: relative;
    z-index: 1;
}

.appointment .section-header h2,
.appointment .section-header p {
    color: white;
}

.appointment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.appointment-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: white;
}

.appointment-info ul {
    list-style: none;
}

.appointment-info li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: white;
}

.appointment-info i {
    color: #CE967C;
    margin-right: 10px;
    width: 20px;
}

.appointment-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.appointment-form h3 {
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: white;
}

.appointment-form .form-group input,
.appointment-form .form-group textarea,
.appointment-form .form-group select {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

/* Call Now Section */
.call-now-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.call-now-section h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.call-now-section p {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.btn-call {
    background: #CE967C;
    color: white !important;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(206, 150, 124, 0.3);
}

.btn-call:hover {
    background: #c0896a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(206, 150, 124, 0.4);
}

.btn-call i {
    font-size: 1.2rem;
}

/* Ratings Section */
.ratings {
    padding: 5rem 0;
    background: #A2B7B3;
    position: relative;
}

.ratings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.rating-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(28, 89, 87, 0.2);
    position: relative;
    overflow: hidden;
}

.rating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #1C5957;
}

.rating-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(28, 89, 87, 0.2);
}

.stars {
    margin-bottom: 1.5rem;
}

.stars i {
    color: #f39c12;
    font-size: 1.4rem;
    margin: 0 3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.rating-card p {
    color: #000000;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
    font-weight: 500;
}

.rating-card h4 {
    color: #000000;
    font-weight: 500;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ratings Section Header Enhancement */
.ratings .section-header {
    position: relative;
    z-index: 1;
}

.ratings .section-header h2 {
    color: #000000;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.ratings .section-header p {
    color: #000000;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: #1C5957;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    padding: 10px;
    background: #ffffff;
    border-radius: 8px;
}

.footer-logo-link:hover {
    transform: translateY(-3px);
    opacity: 0.9;
    background: #ffffff;
}

.footer-logo {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
    border-radius: 0;
}

.footer-logo-link:hover .footer-logo {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-section h3 a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section h3 a:hover {
    color: #CE967C;
    transform: translateY(-2px);
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section p a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section p a:hover {
    color: #CE967C;
    transform: translateX(3px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #CE967C;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #CE967C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-links a:hover {
    background: #c0896a;
}

/* Hide social links that have placeholder or empty href */
.social-links a[href="#"],
.social-links a[href=""],
.social-links a:not([href]) {
    display: none;
}


.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .nav-logo {
        margin-left: 0;
        order: 1;
    }

    .hamburger {
        display: flex;
        z-index: 1000;
        position: relative;
        cursor: pointer;
        padding: 10px;
        border-radius: 5px;
        transition: all 0.3s ease;
        order: 2;
        margin-right: 0;
    }

    .hamburger:hover {
        background-color: rgba(139, 90, 150, 0.1);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .header {
        z-index: 1000;
        height: 80px;
    }

    .navbar {
        height: 80px;
        display: flex;
        align-items: center;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        transition: left 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 0;
        z-index: 1001;
        overflow-y: auto;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        visibility: hidden;
        order: 3;
    }

    .nav-menu ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 3rem 0 2rem 0;
        min-height: 100%;
        list-style: none;
    }

    .nav-menu.active {
        left: 0 !important;
        visibility: visible !important;
        display: flex !important;
    }

    .nav-menu::before {
        content: '';
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #ffffff;
        z-index: -1;
    }

    .nav-menu .nav-item {
        margin: 0.5rem 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1.5rem 2rem;
        color: #1C5957 !important;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        border-bottom: 1px solid #f0f0f0;
        font-size: 1.3rem;
        text-align: center;
        width: 100%;
        max-width: 350px;
        border-radius: 8px;
        margin: 0.2rem 0;
        background-color: transparent;
        cursor: pointer;
        pointer-events: auto;
    }

    .nav-menu .nav-link:hover {
        background-color: #A2B7B3;
        color: #1C5957;
        transform: translateY(-2px);
    }

    .nav-menu .appointment-btn {
        margin: 1.5rem auto 0 auto;
        background: #1C5957;
        color: white !important;
        padding: 18px 35px;
        border-radius: 30px;
        text-align: center;
        display: block;
        width: 350px;
        font-size: 1.2rem;
        font-weight: 600;
        box-shadow: 0 4px 15px rgba(28, 89, 87, 0.3);
        transition: all 0.3s ease;
    }

    .nav-menu .appointment-btn:hover {
        background: #15544a;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(28, 89, 87, 0.4);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
        padding: 2rem 20px;
        justify-content: center;
        box-sizing: border-box;
        overflow-x: hidden;
        width: 100%;
    }

    .hero {
        margin-top: 0;
        min-height: 100vh;
        padding-top: 100px;
        overflow-x: hidden;
        width: 100%;
    }

    .hero-content {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        text-align: left;
        box-sizing: border-box;
    }

    .hero-logo {
        position: relative;
        top: 0;
        right: 0;
        width: auto;
        height: calc(32px * 1.3 + 0.3rem + 42px * 1.2);
        margin-bottom: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-headline {
        font-size: 32px;
    }

    .hero-subheadline {
        font-size: 42px;
    }

    .hero-tagline {
        font-size: 22px;
    }

    .hero-body {
        font-size: 18px;
        text-align: justify;
    }

    .hero-body br {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text p {
        text-align: justify;
    }

    .service-card p {
        text-align: justify;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .appointment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header .expert-name-main {
        font-size: 2.2rem;
    }

    .section-header .expert-subtitle {
        font-size: 1.2rem;
    }

    .section-header .expert-name {
        font-size: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .logo-image {
        height: 70px;
        max-width: 150px;
    }

    .doctor-photo {
        max-height: 300px;
    }

    /* Footer centering for mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .footer-section {
        text-align: center;
        width: 100%;
        max-width: 100%;
    }

    .footer-logo-link {
        display: block;
        margin: 0 auto 1rem auto;
        text-align: center;
    }

    .footer-section h3,
    .footer-section h4 {
        text-align: center;
    }

    .footer-section p {
        text-align: center;
    }

    .footer-section ul {
        text-align: center;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section ul li {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-headline {
        font-size: 28px;
    }

    .hero-subheadline {
        font-size: 36px;
    }

    .hero-tagline {
        font-size: 20px;
    }

    .hero-body {
        font-size: 16px;
    }

    .hero-body br {
        display: none;
    }

    .hero-logo {
        width: auto;
        height: calc(28px * 1.3 + 0.3rem + 36px * 1.2);
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .service-card,
    .rating-card {
        padding: 1.5rem;
    }

    .doctor-photo {
        max-height: 250px;
    }

    .btn-call {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .ratings .section-header h2 {
        font-size: 2.5rem;
    }

    .ratings .section-header p {
        font-size: 1.1rem;
    }

    .rating-card {
        padding: 2rem;
    }

    .gallery .section-header h2 {
        font-size: 2.5rem;
    }

    .gallery .section-header p {
        font-size: 1.1rem;
    }

    .gallery-image {
        height: 200px;
    }

    .gallery-item:hover {
        transform: scale(1.05) translateY(-3px);
    }

    /* Scroll to Top Button - Mobile */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }

    /* Footer logo adjustments for mobile */
    .footer-logo {
        height: 50px;
        max-width: 150px;
        margin: 0 auto;
    }

    .footer-logo-link {
        margin: 0 auto 1rem auto;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #1C5957;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(28, 89, 87, 0.4);
    transition: all 0.3s ease;
    font-size: 20px;
}

.scroll-to-top:hover {
    background: #15544a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(28, 89, 87, 0.5);
}

.scroll-to-top.show {
    display: flex;
}

/* Animation Classes - DISABLED FOR STATIC PAGE */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: none;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
