 /* Variables & Global Reset */
:root {
    --navy: #004a8c;
    --red: #e31e24;
    --light-blue: #eef4f9;
    --dark-grey: #333;
    --white: #ffffff;
    --grey-bg: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--dark-grey);
    background-color: var(--white);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-text {
    font-weight: 700;
    color: var(--navy);
    font-size: 1.5rem;
    line-height: 1;
}

.logo-text span {
    color: var(--red);
    font-size: 0.9rem;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--red);
}

/* Sections & Layout */
section {
    padding: 80px 8%;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 85vh;
    background: linear-gradient(to right, var(--light-blue) 50%, var(--white) 50%);
    padding: 0;
}

.hero-content {
    flex: 1;
    padding: 0 8%;
    min-width: 400px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.hero-content h1 span {
    color: var(--red);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-image {
    flex: 1;
    min-width: 400px;
    height: 85vh;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--red);
}

/* Grid & Cards */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--navy);
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--red);
    margin: 10px auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    color: var(--navy);
    margin-bottom: 10px;
}

/* About Section */
#about {
    background-color: var(--grey-bg);
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 20px 20px 0 var(--navy);
}

/* Doctor Cards */
.doctor-card img {
    height: 300px;
    object-position: top;
}

.doctor-card span {
    color: var(--red);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Vision/Mission Hero Statement */
  .hero-text {
    font-size: 1.8rem;        /* larger text */
    font-weight: 700;         /* bold */
    color: #002b5c;           /* dark blue */
    line-height: 1.6;
    width: 90%;               /* flexible width */
    margin: 20px auto;        /* center horizontally */
    text-align: center;       /* center text */
}

/* Content Frames */
.frames {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 50px;
}

.frame {
    background-color: rgba(0, 153, 255, 0.08);
    border: 2px solid #b3daff;
    border-radius: 14px;
    padding: 25px;
    width: 320px;
    min-height: 220px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    line-height: 1.6;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.frame h2 {
    color: #004a80;
    margin-top: 0;
    font-size: 22px;
    margin-bottom: 10px;
}

.frame ul {
    padding-left: 18px;
}

.motto-frame {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.motto-text {
    font-size: 20px;
    color: black;
}

/* Testimonials */
.testimonials {
    background: var(--navy);
    color: var(--white);
    text-align: center;
}

.testimonial-box {
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    font-size: 1.2rem;
}

.testimonial-box img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--red);
    margin-bottom: 20px;
}

/* Social Media Section */
.social-section {
    background: #f9f9f9;
    padding: 80px 8%;
    display: flex;
    justify-content: center;
}

.social-frame {
    background: #ffffff;
    border: 3px solid #004a8c;
    border-radius: 14px;
    padding: 50px 40px;
    max-width: 1000px;
    width: 100%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.social-card {
    text-decoration: none;
    padding: 30px 20px;
    border-radius: 12px;
    background: #eef4f9;
    transition: 0.3s;
    color: #333;
    border: 2px solid transparent;
}

.social-card:hover {
    transform: translateY(-6px);
    border-color: #004a8c;
    background: #ffffff;
}

.social-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.youtube .social-icon { color: #e31e24; }
.linkedin .social-icon { color: #0077b5; }
.instagram .social-icon { color: #c13584; }

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info div {
    margin-bottom: 25px;
}

.contact-info h4 {
    color: var(--navy);
    margin-bottom: 5px;
}

.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 8% 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    border-left: 3px solid var(--red);
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-image { display: none; }
    .hero-content { padding: 80px 8%; text-align: center; }
    #about { flex-direction: column-reverse; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.5rem; }
} 