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

body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    color: #222;
    background: #fff;
}

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

/* Color Variables */
:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --dark-blue: #1e40af;
    --white: #ffffff;
    --gray: #6b7280;
    --light-gray: #f9fafb;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    width: 100%;
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.2s;
}
.logo-img:hover {
    transform: scale(1.05) rotate(-2deg);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.08rem;
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.appointment-btn {
    margin-left: 1.5rem;
}

.btn-primary {
    background: var(--secondary-blue);
    color: #fff;
    padding: 0.55rem 1.3rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.btn-primary:hover {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-left: 1.5rem;
}
.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.hero-text p {
    font-family: 'Lato', sans-serif;
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 2rem;
    text-align: justify;
    max-width: 600px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.7);
}

.hero-text {
    padding-right: 20px;
}

/* New styles for added chiropractic description */
.hero-text ul {
    max-width: 600px;
    margin-bottom: 2rem;
    padding-left: 1.2rem;
    color: var(--gray);
    font-size: 1.2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    padding: 0.85rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.hero-buttons .btn-primary:hover {
    background: var(--dark-blue);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.5);
}

.hero-buttons .btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.5);
}

.hero-image {
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: scale(1.05);
}

.btn-appointment {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
}

.btn-appointment:hover {
    background-color: var(--dark-blue);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.6);
}

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

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(120deg, var(--light-blue) 0%, var(--white) 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.07);
    padding: 2.5rem;
}

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    line-height: 1.7;
}

.qualifications h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-weight: 700;
}

.qualifications ul {
    list-style: none;
    padding-left: 0;
}

.qualifications li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.8rem;
    font-size: 1.08rem;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.qualifications li:before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-weight: bold;
    font-size: 1.1rem;
}

.about-image {
    text-align: center;
}

.doctor-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.12);
    border: 5px solid var(--light-blue);
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s;
}

.doctor-img:hover {
    transform: scale(1.04) rotate(-2deg);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--light-gray);
}

/* Improved Services Section */
.services {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.services-title {
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
}

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

.service-card {
    background: var(--white);
    padding: 2.2rem 1.5rem 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 40px rgba(30, 58, 138, 0.13);
    border: 1.5px solid var(--secondary-blue);
}

.service-img {
    width: 180px;
    height: 130px;
    border-radius: 12px;
    object-fit: cover;
    margin: 0 auto 1.2rem;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08);
    transition: box-shadow 0.3s;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--gray);
    font-size: 1.08rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: var(--light-gray);
}

.gallery .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery .section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.gallery .section-header p {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.gallery-title {
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5em;
}

.gallery-card {
    background: var(--white);
    padding: 2.2rem 1.5rem 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.gallery-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 40px rgba(30, 58, 138, 0.13);
    border: 1.5px solid var(--secondary-blue);
}

.gallery-img {
  width: 100%;
  height: 350px;
  object-fit: contain;  /* shows entire image but might leave space */
  background: #f7f7f7;  /* light background to fill gaps */
  border-radius: 12px;
  display: block;
  margin: 0 auto 1.2rem;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08);
  transition: box-shadow 0.3s ease;
}


.gallery-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.gallery-card p {
    color: var(--gray);
    font-size: 1.08rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .gallery-img {
    height: 160px;
  }
}


/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--light-gray);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(30, 60, 90, 0.07);
    padding: 1.5rem 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.info-card i {
    font-size: 1.7rem;
    color: var(--secondary-blue);
    margin-right: 1rem;
    margin-top: 2px;
}

.info-card h3 {
    font-size: 1.15rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.info-card p, .info-card a {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.6;
    text-decoration: none;
}

.contact-form {
    background: var(--light-gray);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(30, 60, 90, 0.07);
    padding: 2rem 1.5rem;
}

.contact-form h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

.contact-form input,
.contact-form select {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 1rem;
    background: #fff;
    color: #222;
    margin-bottom: 0.5rem;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus {
    border-color: var(--secondary-blue);
    outline: none;
}

.contact-form button {
    width: 100%;
    padding: 0.9rem;
    border-radius: 8px;
    background: var(--secondary-blue);
    color: #fff;
    font-size: 1.08rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form button:hover {
    background: var(--primary-blue);
}

/* Style for 'Describe your condition' textarea/input */
.describe-condition {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 1.05rem;
    background: #fff;
    color: #222;
    margin-bottom: 1rem;
    resize: vertical;
    transition: border-color 0.2s;
}

.describe-condition:focus {
    border-color: var(--secondary-blue);
    outline: none;
}




/* Videos Section */
.videos {
    background: #f7f9fa;
    padding: 60px 0;
}

.videos .section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #1a3557;
    text-align: center;
}

.videos .section-header p {
    text-align: center;
    color: #555;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    justify-items: center;
}

.video-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(30, 60, 90, 0.08);
    padding: 18px;
    text-align: center;
    transition: box-shadow 0.2s;
}

.video-card:hover {
    box-shadow: 0 8px 32px rgba(30, 60, 90, 0.15);
}

.video-card video {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #000;
}

.video-card h4 {
    font-size: 1.1rem;
    color: #1a3557;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

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

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--light-blue);
}

.footer-section i {
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-widget {
  position: fixed;
  bottom: 60px;
  right: 20px;
  z-index: 999;
  background-color: #25D366;
  padding: 8px 12px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s;
}

.whatsapp-widget a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.whatsapp-widget img {
  width: 24px;
  height: 24px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

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