/* General Body & Typography */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50;
    line-height: 1.2;
}

h1 {
    font-size: 2.8em;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2.2em;
    margin-bottom: 1em;
    text-align: center;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f0f8ff; /* Light blue tint */
}

.bg-primary-dark {
    background-color: #004d80; /* Darker blue for call to action */
    color: #fff;
}

.text-white {
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #fff;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-secondary:hover {
    background-color: #e2f0ff;
    color: #0056b3;
    border-color: #0056b3;
}

/* Header */
.header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: 700;
    color: #2c3e50;
}

.logo img {
    height: 40px; /* Adjust as needed */
    margin-right: 10px;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar ul li {
    margin-left: 25px;
}

.navbar ul li a {
    color: #555;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #007bff;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    background-color: #e2f0ff; /* Light blue background for hero */
    padding: 100px 0;
    text-align: left;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    color: #004d80; /* Dark blue for hero heading */
    font-size: 3.5em;
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #444;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Content Layouts (Image Left/Right) */
.content-left-image, .content-right-image {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.content-left-image .image-content {
    flex: 1;
    text-align: left;
}

.content-right-image .image-content {
    flex: 1;
    text-align: right;
}

.content-left-image .text-content,
.content-right-image .text-content {
    flex: 2;
}

.image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Grid Layouts */
.grid-3-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Condition Card */
.condition-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.condition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.condition-card .icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

/* Procedure Steps */
.procedure-steps .step-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    text-align: center;
}

.procedure-steps .step-card .icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

/* FAQs */
.faq-accordion {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-item input[type="checkbox"] {
    display: none;
}

.faq-item label {
    display: block;
    padding: 20px;
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-item label:hover {
    background-color: #f5f5f5;
}

.faq-item label::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.faq-item input[type="checkbox"]:checked + label::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg); /* No rotation for minus */
}

.faq-item input[type="checkbox"]:checked + label {
    background-color: #f0f8ff;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    background-color: #fdfdfd;
}

.faq-item input[type="checkbox"]:checked ~ .faq-content {
    max-height: 200px; /* Adjust as needed for content height */
    padding: 15px 20px 20px;
}

/* Dr. Chowdhury Contact Section */
.contact-content {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.dr-image {
    flex: 1;
    text-align: center;
}

.dr-image img {
    max-width: 300px; /* Adjust size as needed */
    border-radius: 50%; /* Circular image */
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.dr-info {
    flex: 2;
}

.dr-info h2 {
    color: #fff;
    text-align: left;
    margin-bottom: 0.8em;
}

.dr-info p {
    font-size: 1.1em;
    margin-bottom: 1.5em;
}

.contact-details p {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.contact-details a {
    color: #fff;
    font-weight: 600;
}

.contact-details .btn-secondary {
    margin-top: 20px;
}

/* Footer */
.footer {
    background-color: #2c3e50; /* Dark footer */
    color: #bbb;
    padding: 50px 0 20px;
    font-size: 0.9em;
}

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

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #fff;
    text-decoration: none;
}

.social-links img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    vertical-align: middle;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
}

.copyright a {
    color: #bbb;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content,
    .content-left-image,
    .content-right-image,
    .contact-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image, .content-left-image .image-content, .content-right-image .image-content, .dr-image {
        margin-top: 40px;
    }

    .hero-text h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 1.8em;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar ul li {
        margin: 10px 15px;
    }

    .content-left-image .text-content,
    .content-right-image .text-content,
    .dr-info {
        flex: auto;
    }

    .dr-info h2 {
        text-align: center;
    }
}

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

    .hero-section {
        padding: 80px 0;
    }

    .section {
        padding: 60px 0;
    }

    .header .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .navbar ul {
        margin-top: 15px;
    }

    .navbar ul li {
        margin: 5px 10px;
    }

    .hero-text h1 {
        font-size: 2em;
    }

    .hero-text p {
        font-size: 1em;
    }

    .grid-3-columns {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center;
        display: flex;
    }
}
/* simple accessible tooltip */
.tooltip {
  position: relative;
  cursor: help;
  outline: none;
  border-bottom: 1px dotted rgba(0,0,0,.25);
}
.tooltip::after{
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(.98);
  bottom: 100%;
  white-space: normal; /* allow wrapping */
  max-width: 600px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.3;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease, transform .12s ease;
  z-index: 999;
}
.tooltip::before{
  /* small arrow */
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% - 6px);
  border: 6px solid transparent;
  border-top-color: rgba(0,0,0,0.85);
  opacity: 0;
  transition: opacity .12s ease;
  pointer-events: none;
  z-index: 999;
}
.tooltip:hover::after,
.tooltip:focus::after,
.tooltip.show-tooltip::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}
.tooltip:hover::before,
.tooltip:focus::before,
.tooltip.show-tooltip::before {
  opacity: 1;
}
@media (max-width:600px){
  .tooltip::after { max-width: calc(100vw - 40px); right: auto; left: 50%; transform: translateX(-50%) translateY(8px) scale(.98); }
}