/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

:root {
    --primary-blue: #004a8f; /* The main dark blue */
    --secondary-blue: #003366; /* Darker blue for top bar */
    --accent-cyan: #33c0ba; /* Used in footer icons/doctor shirt */
    --text-gray: #666;
    --light-bg: #f9f9f9;
    --yellow-accent: #f0ad4e;
}

body {
    background-color: #fff;
    color: var(--text-gray);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary-blue);
    color: #fff;
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i, .login-btn i {
    margin-right: 8px;
}

.login-btn a {
    color: #fff;
    text-decoration: none;
    background-color: #009688; /* Slightly different teal for button */
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
}

/* Header Navigation */
header {
    background-color: rgba(255,255,255,0.9); /* Slightly transparent white */
    position: absolute; /* Overlay on banner */
    width: 100%;
    z-index: 10;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary-blue);
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
}

nav ul li a.active {
    color: var(--primary-blue);
}

.search-icon {
    color: var(--secondary-blue);
    cursor: pointer;
}

/* Hero Banner */
.hero-banner {
    /* Replace with actual banner background image */
    background: linear-gradient(rgba(0, 74, 143, 0.3), rgba(0, 74, 143, 0.3)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    color: #fff;
    padding-top: 60px; /* Space for header */
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--secondary-blue);
}

.breadcrumbs {
    background-color: #fff;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 4px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.breadcrumbs a {
    text-decoration: none;
    color: var(--text-gray);
    margin-right: 5px;
}

.breadcrumbs a:after {
    content: '>';
    margin-left: 5px;
}

/* Main Contact Section */
.contact-section {
    padding: 60px 0;
    overflow: hidden; /* Hide part of the image if it spills */
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.form-container {
    flex: 1;
    min-width: 50%;
    padding-right: 40px;
}

.form-container h2 {
    color: var(--secondary-blue);
    font-size: 2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.separator {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.separator span {
    color: var(--yellow-accent);
    font-size: 1.2rem;
    margin-right: 10px;
}

.separator:after {
    content: '';
    height: 2px;
    background-color: #eee;
    flex-grow: 1;
}

.form-container p {
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Form Styling */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row input, .form-row textarea {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    background-color: #fcfcfc;
    border-radius: 4px;
    outline: none;
    color: var(--text-gray);
}

.form-row textarea {
    resize: vertical;
}

#submitBtn {
    background-color: var(--secondary-blue);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 25px; /* Rounded button */
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s;
}

#submitBtn:hover {
    background-color: var(--primary-blue);
}

/* Doctor Image */
.image-container {
    flex: 1;
    min-width: 40%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.image-container img {
    max-width: 100%;
    height: auto;
    /* Adjust positioning to match the overlap effect in the original design if needed */
    margin-bottom: -60px; 
    z-index: 1;
}

/* Footer Info Boxes Section */
.info-boxes-section {
    /* Replace with map background image */
    background: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=2074&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 80px 0 40px;
    position: relative;
    z-index: 0;
}

.boxes-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.info-box {
    background-color: #fff;
    padding: 30px 20px;
    flex: 1;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.icon-wrapper {
    background-color: var(--secondary-blue);
    color: #fff;
    width: 60px;
    height: 60px;
    /* Rotate the square container */
    transform: rotate(45deg);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -60px auto 20px; /* Pull it up out of the box */
}

.icon-wrapper i {
    /* Rotate icon back so it's straight */
    transform: rotate(-45deg);
    font-size: 1.5rem;
}

.info-box h3 {
    color: var(--secondary-blue);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-box p {
    font-size: 0.9rem;
}

/* Feedback Messages */
#form-feedback {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 4px;
    display: none; /* Hidden by default */
}
.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block !important;
}
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar-content{
        flex-direction: row;
        gap: 10px;
    }
    .header-content{
        flex-direction: row;
    }
    .contact-info span {
        display: block;
        margin-bottom: 5px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin: 5px 10px;
    }
    .contact-wrapper {
        flex-direction: column;
    }
    .form-container, .image-container {
        padding-right: 0;
    }
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    .image-container img {
        margin-bottom: 0;
        margin-top: 30px;
    }
    .boxes-wrapper {
        flex-direction: column;
    }
    .info-box {
        margin-bottom: 40px;
    }
}

/* --- FOOTER STYLES --- */
.main-footer {
    background-color: #111; /* Dark background matching screenshot */
    color: #888;
    padding-top: 60px;
    font-size: 0.9rem;
}

.footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #222;
}

/* Footer Columns */
.footer-col {
    flex: 1;
    min-width: 250px;
}

.about-col {
    flex: 1.5; /* Give the first column more width */
}

/* Logo Section */
.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo h2 {
    color: #004a8f; /* Blue Logo Color */
    font-size: 2.5rem;
    font-weight: 800;
    margin-right: 5px;
}

.footer-logo .logo-icon {
    color: #e74c3c; /* Red accent dot/icon */
    font-size: 1.5rem;
    margin-top: -10px;
}

.tagline {
    font-style: italic;
    margin-bottom: 15px;
}

.read-more {
    color: #004a8f;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 25px;
}

/* Contact Details in Footer */
.contact-details .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #ccc;
}

.contact-details i {
    border: 1px solid #444;
    padding: 10px;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 0.8rem;
    transition: 0.3s;
}

.contact-details i:hover {
    background-color: #004a8f;
    border-color: #004a8f;
}

/* Mini Map */
.mini-map {
    margin-top: 20px;
    border: 1px solid #333;
    padding: 4px;
    background: #222;
    border-radius: 4px;
}

/* Column Titles & Underline */
.footer-col h3 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.title-underline {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.title-underline span {
    color: #f0ad4e; /* The yellow diamond */
    font-size: 1rem;
    margin-right: 10px;
}

.title-underline:after {
    content: '';
    height: 1px;
    background-color: #333;
    width: 30px;
}

/* Instagram Grid */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.insta-grid img {
    width: 100%;
    height: 70px; /* Fixed height for squares */
    object-fit: cover;
    cursor: pointer;
    opacity: 0.8;
    transition: 0.3s;
}

.insta-grid img:hover {
    opacity: 1;
}

/* Useful Links */
.links-col ul {
    list-style: none;
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col ul li a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.links-col ul li a i {
    color: #004a8f; /* Blue arrows */
    margin-right: 8px;
    font-size: 0.8rem;
}

.links-col ul li a:hover {
    color: #fff;
    padding-left: 5px; /* Slight movement on hover */
}

/* Copyright Bar */
.copyright-bar {
    background-color: #0a0a0a; /* Slightly darker than footer */
    padding: 20px 0;
    margin-top: 0;
}

.copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 0.85rem;
}

.social-icons a {
    color: #444;
    margin-left: 15px;
    font-size: 1rem;
    transition: 0.3s;
    border: 1px solid #222;
    padding: 8px;
    width: 35px;
    height: 35px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.social-icons a:hover {
    color: #fff;
    border-color: #555;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .copyright-content {
        flex-direction: column;
        gap: 15px;
    }
    
}
.logo-img{
    width: 60%
}
