/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif; /* We can use a nice Tamil font later like 'Mukta Malar' */
}

body {
    background-color: #fcf9f2; /* Light auspicious background */
    color: #333;
    line-height: 1.6;
}

/* Header Styles (ibcbakthi.com style) */
.main-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    font-family: 'Arial', sans-serif;
}

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

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-logo {
    max-height: 90px;
}

.site-logo-text a {
    color: #e52d27; /* Similar to IBC red */
    text-decoration: none;
    font-size: 2.2rem;
    font-weight: bold;
}

.top-nav-links {
    display: flex;
    align-items: center;
}

.top-nav-links a, .dropbtn {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    margin-right: 20px;
    font-size: 1.1rem;
    cursor: pointer;
}

.top-nav-links a:hover, .dropbtn:hover {
    color: #b9873d;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    border-top: 3px solid #b9873d;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    margin-right: 0;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
    color: #b9873d;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.search-icon {
    font-size: 1.5rem;
    cursor: pointer;
    color: #555;
}

/* Secondary Navigation */
.secondary-nav {
    background-color: #b9873d; /* Golden brown */
}

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

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 15px 20px;
    font-size: 1.05rem;
    position: relative;
    transition: background-color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    background-color: rgba(0,0,0,0.1);
}

.badge-new {
    background-color: #ffc107;
    color: #d32f2f;
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 3px;
    position: absolute;
    top: 5px;
    right: 5px;
    font-weight: 900;
}

.btn-appointment {
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-appointment:hover {
    background-color: #fff;
    color: #b9873d;
}

/* Layout */
.content-area {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    gap: 20px;
}

.center-content {
    flex: 1 1 70%;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar-right {
    flex: 1 1 25%;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar-content h3 {
    color: #d32f2f;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.sidebar-content ul {
    list-style: none;
}

.sidebar-content ul li {
    margin-bottom: 10px;
}

.sidebar-content ul li a {
    text-decoration: none;
    color: #444;
    font-weight: bold;
    transition: color 0.3s;
}

.sidebar-content ul li a:hover {
    color: #d32f2f;
}

/* Forms */
form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.form-col {
    flex: 1 1 30%;
    min-width: 200px;
}

.form-section-title {
    background: #ffc107;
    color: #333;
    padding: 10px;
    margin: 20px 0 15px;
    border-radius: 4px;
    text-align: center;
}

.btn {
    display: inline-block;
    background: #d32f2f;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s;
}

.btn:hover {
    background: #b71c1c;
}

.btn-submit {
    width: 100%;
    font-size: 1.2rem;
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.footer-links a {
    color: #ffc107;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .content-area {
        flex-direction: column;
    }
    .form-row {
        flex-direction: column;
    }
}

/* Beautiful Form Box (like Astrosage) */
.astro-form-box {
    border: 3px solid #ff9800; /* Orange border */
    border-radius: 8px;
    padding: 25px;
    background-color: #fff9f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}
.astro-form-title {
    text-align: center;
    color: #333;
    font-size: 24px;
    margin-bottom: 25px;
    border-bottom: 2px dashed #ff9800;
    padding-bottom: 15px;
}
