/* Main CSS for Dr. P. Sathish Neuro Center Website */
/* Google Fonts: Poppins and Roboto */

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: white;
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #333;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    color: #333;
}

.nav-link:hover {
    color: #007bff !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    text-align: center;
    color: #333;
}

.hero-section h2 {
    font-weight: 700;
    color: #003366;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* About Section */
.section-title {
    position: relative;
    font-weight: 700;
    color: #003366;
    margin-bottom: 2rem;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #007bff;
    border-radius: 2px;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* Services Section */
.service-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background: white;
    color: #333;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: #007bff;
}

/* Contact Section */
.contact-info {
    font-size: 1.1rem;
    color: white;
}

/* Contact section text */
.contact-section {
    color: #333;
}

.contact-info i {
    width: 25px;
    text-align: center;
}

.map-container {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #003366, #001a33);
    color: white;
}

/* Footer links */
footer a {
    color: #e0e0e0;
    text-decoration: none;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

.color-black {
    color: black;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section h2 {
        font-size: 1.8rem;
    }

    .hero-section .btn {
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-image {
        min-height: 200px;
    }

    .hero-image {
        min-height: 200px;
    }
}

/* Utility Classes */
.text-primary {
    color: #007bff !important;
}

.bg-primary {
    background-color: #007bff !important;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Form Styles */
#contactForm .form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    color: #333;
    background-color: #fff;
}

#contactForm .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Responsive Navigation */
.navbar-nav .nav-item {
    margin: 0 5px;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #0056b3;
    transform: translateY(-3px);
}