:root {
    --primary-color: #1a237e;  /* Deep navy blue */
    --secondary-color: #283593; /* Slightly lighter navy */
    --accent-color: #ffd700;    /* Gold for accents */
    --text-color: #333333;
    --text-light: #666666;
    --light-bg: #f8f9fa;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Logo Styles */
.logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .contact-info span {
    margin-right: 20px;
}

.top-bar .contact-info i {
    margin-right: 5px;
    color: var(--accent-color);
}

.top-bar .social-icons a {
    color: white;
    margin-left: 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.top-bar .social-icons a:hover {
    color: var(--accent-color);
}

/* Navigation */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 10px 15px;
    color: var(--text-color);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: bold;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(248, 249, 250, 0.7) 100%), url('https://via.placeholder.com/1920x1080/f8f9fa/333333?text=StarryCare') no-repeat center center;
    background-size: cover;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: white;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-features li {
    margin-bottom: 8px;
    color: var(--text-color);
}

.service-features i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Why Us Section */
.why-us-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.feature-box {
    text-align: center;
    padding: 30px;
    margin-bottom: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--text-light);
}

/* Join Us Section */
.join-us-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.join-us-section h2 {
    color: white;
    margin-bottom: 20px;
}

.join-us-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.join-us-section .btn-light {
    color: var(--primary-color);
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: white;
}

.newsletter-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-box h2 {
    color: white;
    margin-bottom: 15px;
}

.newsletter-box p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.newsletter-form .form-control {
    height: 50px;
    border-radius: 50px 0 0 50px;
    border: none;
    padding: 0 20px;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    height: 50px;
    padding: 0 30px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: bold;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: white;
}

.accordion-button {
    font-weight: 600;
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(26, 35, 126, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(26, 35, 126, 0.25);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
    margin-bottom: 30px;
}

.contact-form .form-control {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.contact-info {
    padding: 40px;
}

.contact-info h3 {
    margin-bottom: 25px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.1rem;
    margin-top: 3px;
}

.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* About Page Specific Styles */
.about-hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(248, 249, 250, 0.7) 100%);
}

/* Our Story Section */
.our-story-section {
    padding: 80px 0;
    background-color: white;
}

.achievement-box {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 35, 126, 0.1);
}

.achievement-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(26, 35, 126, 0.1);
    background: white;
}

.achievement-icon {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.achievement-box:hover .achievement-icon {
    transform: scale(1.1);
}

.text-primary {
    color: var(--primary-color) !important;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 10px 0;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .achievement-box {
        margin-bottom: 15px;
    }
    
    .text-primary {
        font-size: 1.8rem;
    }
}

.mission-vision-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.mission-box, .vision-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.mv-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.mission-box h2, .vision-box h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.values-section {
    padding: 80px 0;
    background-color: white;
}

.value-card {
    text-align: center;
    padding: 30px;
    margin-bottom: 30px;
}

.value-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.partners-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.partner-logo img {
    max-width: 150px;
    height: auto;
}

.about-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-box h2 {
    color: white;
    margin-bottom: 30px;
}

/* Core Values Section */
.values-section {
    padding: 80px 0;
    background-color: white;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 35, 126, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.star-acronym {
    margin-top: 40px;
}

.star-acronym h4 {
    font-size: 1.8rem;
    color: white;
}

.star-acronym p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .value-card {
        margin-bottom: 20px;
    }
    
    .value-icon {
        font-size: 2rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .achievement-boxes {
        flex-direction: column;
        align-items: center;
    }
    
    .partner-logos {
        gap: 20px;
    }
    
    .partner-logo img {
        max-width: 120px;
    }
}

/* Contact Sections */
.contact-hero-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.contact-main-section {
    padding: 80px 0;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-info-container h2 {
    color: var(--primary-color);
}

.contact-icon {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

/* Contact Information Styles */
.mycontact-info {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.mycontact-info h3 {
    color: #1a237e;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.mycontact-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.mycontact-info ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.mycontact-info ul li i {
    color: #1a237e;
    margin-right: 15px;
    font-size: 1.1rem;
    margin-top: 3px;
}

/* Contact Method Styles */
.contact-method {
    display: flex;
    align-items: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #1a237e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #1a237e;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-details p {
    margin-bottom: 5px;
    color: #555;
}

.contact-details p:first-of-type {
    font-weight: 600;
    color: #1a237e;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .contact-info {
        padding: 20px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 15px;
    }
}

/* Services Page Specific Styles */
.services-hero {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.services-hero h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.services-hero .lead {
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.services-grid {
    padding: 80px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--text-color);
    max-width: 700px;
    margin: 15px auto 0;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-card li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.service-card li i {
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 4px;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.service-details {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.service-detail {
    margin-bottom: 60px;
}

.service-detail h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.highlight-box {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid var(--accent-color);
}

.highlight-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefits-section {
    padding: 80px 0;
    background-color: white;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    margin-bottom: 30px;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.services-cta {
    padding: 80px 0;
    background: var(--primary-color);
    color: white;
}

.services-cta h2 {
    color: white;
    margin-bottom: 20px;
}

.services-cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons .btn {
    margin: 0 10px;
    min-width: 150px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .services-hero, 
    .services-grid,
    .service-details,
    .benefits-section {
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    .services-hero {
        text-align: center;
        padding: 80px 0;
    }
    
    .service-detail .row > div {
        margin-bottom: 30px;
    }
    
    .cta-buttons .btn {
        display: block;
        margin: 10px auto;
        max-width: 250px;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 0;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-widget ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .top-bar .contact-info, .top-bar .social-icons {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .top-bar .social-icons a {
        margin: 0 7px;
    }
    
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .contact-form, .contact-info {
        padding: 30px 20px;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 8px 20px;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control {
        border-radius: 50px;
        margin-bottom: 10px;
    }
    
    .newsletter-form .btn {
        border-radius: 50px;
        width: 100%;
    }
}