/* --- General Styling & Theme --- */
:root {
    --primary-color: #00A896;
    /* Teal - Logo/Theme Color */
    --secondary-color: #02C39A;
    /* Lighter Teal/Green */
    --dark-color: #2F3E46;
    /* Dark text/background */
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --font-family: 'Poppins', sans-serif;
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-bg);
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-weight: 700;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* --- Utility Classes --- */
.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    border: 4px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    transform: scale(0.95);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 50px;
    font-size: 2.5em;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- LOGO STYLING --- */
.logo {
    display: flex;
    align-items: center;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--white);
}

.logo i {
    font-size: 1.2em;
    margin-right: 8px;
    color: var(--primary-color);
    position: relative;
    top: -2px;
    animation: rotateScale 2s infinite alternate;
}

@keyframes rotateScale {
    from {
        transform: rotate(0deg) scale(1);
    }

    to {
        transform: rotate(5deg) scale(1.05);
    }
}

.logo strong {
    color: var(--primary-color);
    font-weight: 700;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background-color: var(--dark-color);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.516);
    position: sticky;
    top: 0;
    z-index: 2000;
}

.header-left,
.header-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-center {
    flex: 0 0 auto;
    text-align: center;
}

.header-right {
    justify-content: flex-end;
    gap: 15px;
}


.menu-button {
    background: var(--dark-color);
    border: 1px solid var(--white);
    padding: 15px;
    width: 100px;
    height: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.menu-button:hover {
    background-color: var(--white);
    color: var(--dark-color);
}

.off-canvas {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 300px;
    background-color: var(--dark-color);
    z-index: 2000;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.off-canvas.open {
    transform: translateX(0);
}

.menu-header {
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid #293338;
}

.close-button {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    transition: color 0.3s;
}

.user-info-section {
    display: flex;
    align-items: center;
    padding: 20px 20px;
    background-color: #293338;
    border-bottom: 1px solid #293338;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 12px;
    border: 3px solid var(--secondary-color);
}

.user-name {
    font-weight: bold;
    color: var(--white);
    font-size: 17.6px;
}

.user-email {
    color: #ddd;
    font-size: 13.6px;
}

.main-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.main-menu-list li {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.main-menu-list li:nth-child(1) {
    transition-delay: 0.4s;
}

.main-menu-list li:nth-child(2) {
    transition-delay: 0.45s;
}

.main-menu-list li:nth-child(3) {
    transition-delay: 0.5s;
}

.main-menu-list li:nth-child(4) {
    transition-delay: 0.55s;
}

.main-menu-list li:nth-child(5) {
    transition-delay: 0.6s;
}

.main-menu-list li:nth-child(6) {
    transition-delay: 0.65s;
}

.main-menu-list li:nth-child(7) {
    transition-delay: 0.7s;
}

.main-menu-list li:nth-child(8) {
    transition-delay: 0.75s;
}

.off-canvas.open .main-menu-list li {
    opacity: 1;
    transform: translateY(0);
}

.off-canvas a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--light-bg);
    font-size: 17.6px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.off-canvas a i {
    margin-right: 10px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.off-canvas a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));

    z-index: -1;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
}

.off-canvas .active {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.off-canvas a:hover {
    color: var(--white);
}

.off-canvas a:hover::before {
    transform: translateX(0);
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
}

.auth-footer {
    border-top: 1px solid #293338;
    padding: 0;
    flex-shrink: 0;
}

.auth-footer-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 17.6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.auth-footer .signout-link {
    background-color: #293338;
    color: #ff5555;
}

.auth-footer .signout-link:hover {
    background-color: #ff5555;
    color: var(--white);
}

.auth-footer .login-link {
    background: #293338;
}

.auth-footer .login-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

.auth-footer-link::before {
    display: none;
}

/* --- Hero Section(Main Page) --- */
.hero-section {
    padding: 0;
    overflow: hidden;
    position: relative;
    height: 700px;
}


.hero-div {
    min-width: 100%;
    height: 550px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #293338;
    color: var(--white);
    opacity: 1;
    transition: opacity 0.5s ease;
    border-radius: 0 0 10% 10%;
}

.hero-image-div {
    position: absolute;
    left: 0;
}

.hero-image {
    position: relative;
    display: flex;
    margin-top: 55%;
    margin-left: 20%;
    background-color: var(--dark-color);
    height: 150px;
    width: 1050px;
    border-radius: 10px;
    z-index: 2;
    align-items: end;
    padding: 20px;
}

.hero-image img {
    width: 300px;
    height: 500px;
}

.hero-image-content {
    height: 100%;
}

.hero-image-content h1 {
    color: var(--primary-color);
}

.hero-image-content p {
    color: #ddd;
    margin: 12px;
}

.hero-content {
    position: absolute;
    right: 0;
    z-index: 10;
    max-width: 60%;
    padding: 20px;
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 3.5em;
    line-height: 1.2em;
    color: var(--white);
}

.hero-content h1:last-of-type {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.2em;
    margin: 25px 0px;
    color: #ddd;
}

.hero-content a:last-of-type {
    margin-left: 5px;
    background-color: transparent;
    border-color: var(--white);
}

.hero-content a:last-of-type:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* --- Specialties & Doctors Section --- */
.doctors-specialties {
    background-color: var(--white);
    padding: 80px 0;
}

.specialty-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.specialty-item {
    padding: 20px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-color: var(--light-bg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.specialty-item i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.specialty-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.specialty-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.specialty-item:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.doctor-pics {
    margin-top: 50px;
    text-align: center;
}

.doctor-pics h3 {
    margin-bottom: 25px;
    font-size: 1.8em;
    color: var(--primary-color);
}

.doctor-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.doctor-card {
    width: 300px;
    height: 400px;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.doctor-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.doctor-img {
    height: 320px;
    background-size: cover;
    background-position: center top;
}

.doctor-img img {
    width: 300px;
}

.doctor-info {
    background-color: var(--white);
    padding: 15px;
    text-align: center;
    z-index: 2;
    position: relative;
    margin-bottom: 0%;
}

.doctor-info h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.doctor-info p {
    color: var(--primary-color);
    font-style: italic;
    font-size: 0.9em;
}

/* --- Our Services Section --- */
.services-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.4em;
}

/* --- Hospital Stats/About Section --- */
.stats-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
    animation: slideInDown 1s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-grid {
    display: flex;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    animation: bounceIn 1.5s ease-out;
}

@keyframes bounceIn {

    0%,
    20%,
    40%,
    60%,
    80%,
    100% {
        transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        transform: scale3d(.3, .3, .3);
    }

    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }

    100% {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

.stat-icon i {
    font-size: 3em;
    color: var(--white);
}

.stat-info .number {
    font-size: 2.5em;
    font-weight: 700;
    display: block;
    line-height: 1.1;
}

.stat-info .label {
    font-size: 1.1em;
    font-weight: 300;
}

/* --- Footer Styling --- */
footer {
    background-color: var(--dark-color);
    color: var(--light-bg);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.footer-col h4 {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: var(--light-bg);
    display: block;
    margin-bottom: 8px;
    font-size: 0.95em;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.social-links {
    margin-top: 15px;
    display: block;
}

.social-links a {
    /* display: inline-block; */
    color: var(--white);
    font-size: 1em;
    /* margin-left: 15px; */
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateX(2px);
}

.social-links a i {
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:nth-child(1):hover i {
    color: rgb(6, 132, 235) !important;
}

.social-links a:nth-child(2):hover i {
    color: rgb(6, 159, 235);
}

.social-links a:nth-child(3):hover i {
    color: rgb(6, 79, 235);
}

.social-links a:nth-child(4):hover i {
    color: rgb(235, 6, 227);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.6);
}

.main-content {
    display: flex;
    justify-content: center;
    padding: 40px 5%;
}

.appointment-form-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    padding: 30px 40px;
    width: 100%;
    max-width: 1100px;
}

.card-title-appoint {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.8em;
    padding-bottom: 5px;
}

.section-intro-appoint {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

.form-section {
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    padding: 25px 20px;
    margin-bottom: 30px;
    transition: box-shadow 0.3s;
}

.form-section:hover {
    box-shadow: 0 0px 15px rgba(0, 77, 153, 0.1);
}

legend {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--secondary-color);
    padding: 0 10px;
    margin-left: -10px;
}

.icon-legend {
    margin-right: 8px;
    color: var(--dark-color);
}

.input-group {
    margin-bottom: 20px;
}

.input-flex-row {
    display: flex;
    gap: 25px;
}

.flex-item {
    flex: 1;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 1.08em;
}

input,
select {
    appearance: base-select;
    padding: 15px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.2em;
    transition: border-color 0.3s, box-shadow 0.3s;
    height: 60px;
    background-color: white;
}

::picker(select) {
    appearance: base-select;
}

#date {
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 3px;
}

:disabled {
    cursor: not-allowed;
}



input:focus,
select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 8px rgba(0, 77, 153, 0.2);
    outline: none;
}

.submit-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 18px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.3s;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: scale(0.95);
}

.note {
    text-align: center;
    margin-top: 25px;
    color: #6c757d;
    font-size: 0.9em;
}


.main-content {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px 80px;
  font-family: "Poppins", sans-serif;
  color: #1e293b;
  background: #f9fafc;
}


.appointments-list-card {
  background: linear-gradient(145deg, #ffffff, #f1f5f9);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.35s ease;
  animation: fadeSlideUp 0.6s ease both;
}

.appointments-list-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 6px;
}

.card-title i {
  color: var(--secondary-color);
}

.section-intro {
  font-size: 15px;
  color: #648b88;
  margin-bottom: 20px;
}

#appointments-container {
  margin-top: 24px;
}

#appointments-container h1 {
  text-align: center;
  color: #94b8b2;
  font-size: 16px;
  font-weight: 500;
  margin: 30px 0;
}

.appoints-div {
  background: linear-gradient(180deg, #ffffff, #f8fcfb);
  border: 1px solid #e2f0ee;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  margin-bottom: 16px;
  transition: all 0.35s ease;
}

.appoints-div:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(59, 246, 218, 0.12);
}

/* ---------- Date & Time Box ---------- */
.dateTime {
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #d9edea, #effffd);
  color: var(--primary-color);
  font-weight: 600;
  flex-shrink: 0;
  text-align: center;
}

.dateTime .date {
  font-size: 15px;
}

.dateTime .time {
  background: var(--primary-color);
  color: white;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 13px;
}

/* ---------- Appointment Details ---------- */
.apptDeatailsDiv {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-doctor,
.about-patient {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.about-doctor .doctor,
.about-doctor .specialty,
.about-patient .patient,
.about-patient .email,
.about-patient .phone {
  padding: 8px 14px;
  border-radius: 10px;
  background: #f1f9f8;
  color: #335455;
  font-size: 14px;
  transition: background 0.3s;
}

.about-doctor > div:hover,
.about-patient > div:hover {
  background: #e0fffd;
}

hr {
  border: 0;
  height: 1px;
  background: #e2f0ee;
  margin: 8px 0;
}

/* ---------- Delete Button ---------- */
.deleteBtn {
  align-self: center;
  background: #fff;
  border: 1px solid #fec7c7;
  color: #ff5555;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.deleteBtn:hover {
  background: #ff5555;
  color: #fff;
  box-shadow: 0 6px 18px rgba(235, 37, 37, 0.3);
}

/* ---------- Empty State ---------- */
#appointments-container .empty-state {
  text-align: center;
  color: #94b8b5;
  font-size: 15px;
  padding: 28px;
}

/* ---------- Animations ---------- */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive Design ---------- */
@media (max-width: 900px) {
  .appointments-list-card {
    padding: 28px;
  }
  .appoints-div {
    flex-direction: column;
    gap: 14px;
  }
  .dateTime {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .appointments-list-card {
    padding: 22px;
  }
  .card-title {
    font-size: 20px;
  }
}

/* --- Global Page Content Layouts (For about/contact) --- */
.about-main-content, .contact-main-content {
    padding: 60px 0 100px;
    background-color: var(--white);
}

.section-intro-about, .section-intro-contact {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1em;
    color: #555;
}

/* --- About Us Page Styles --- */
.about-vision-mission {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-bottom: 50px;
}

.vision-card {
    flex: 1;
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-color);
}

.vision-card i {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.vision-card h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.5em;
}

.divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 40px auto;
    width: 80%;
}

.about-feature-block {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-content p {
    margin-bottom: 20px;
}

.feature-content ul {
    list-style: none;
    padding-left: 0;
}

.feature-content ul li {
    margin-bottom: 10px;
    font-size: 1.05em;
    color: var(--dark-color);
}

.feature-content ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.feature-image-wrapper {
    flex: 1;
    max-width: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-image {
    width: 100%;
    height: 350px;
    background-color: #ccc; /* Placeholder for image */
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    color: var(--dark-color);
    font-size: 0.9em;
}

.about-values {
    text-align: center;
    margin-top: 50px;
}

.values-title {
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-item {
    padding: 30px;
    border-radius: 10px;
    background-color: #f0fffb;
    transition: var(--transition);
}

.value-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.value-item i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-item h4 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

/* --- Contact Us Page Styles --- */
.contact-grid-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    padding-top: 0 !important;
}

.contact-title {
    padding-top: 0;
}

.contact-form {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
}

.contact-form label {
    font-size: 1em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    height: 55px;
    padding: 12px;
    font-size: 1.05em;
    border: 1px solid #ccc;
}

.contact-form textarea {
    font-size: 1.5em;
    text-transform: capitalize;
    height: 150px;
    width: 100%;
    resize: none;
}

.contact-submit-btn {
    padding: 15px 25px;
    font-size: 1em;
}

.contact-info-col {
    padding-top: 20px;
}

.info-title {
    font-size: 1.8em;
    color: var(--dark-color);
    margin-bottom: 25px;
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.info-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.info-card i {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-card h4 {
    font-size: 1.2em;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.info-card a, .info-card p {
    display: block;
    margin-top: 5px;
    color: #555;
}

.btn-secondary-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 10px;
}

.btn-secondary-link:hover {
    text-decoration: underline;
}

.contact-map {
    width: 100%;
    height: 250px;
    background-color: #eef; /* Placeholder for map */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    font-style: italic;
    color: #888;
}
.form-message {
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #e6fff0;
    color: #008040;
    border: 1px solid #00a896;
}

.form-message.error {
    background-color: #fff0f0;
    color: #cc0000; 
    border: 1px solid #ff5555;
}


@media (max-width: 1024px) {
    .about-feature-block {
        flex-direction: column;
        text-align: center;
    }
    .feature-content {
        order: 2;
    }
    .feature-image-wrapper {
        order: 1;
        width: 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    .contact-grid-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-vision-mission {
        flex-direction: column;
    }
    .value-grid {
        grid-template-columns: 1fr;
    }
    .info-title {
        text-align: center;
        width: 100%;
        margin-bottom: 15px;
    }
}