:root {
    --primary-color: #0066cc;
    --secondary-color: #ff6600;
    --dark-color: #333;
    --light-color: #f8f9fa;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
}

/* Common Section Styles */
.section-title {
    color: var(--primary-color);
    position: relative;
    margin-bottom: 30px;
    text-align: center;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto;
}

/* Button Styles */
.btn-primary-custom, 
.btn-submit {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    padding: 10px 25px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s;
}

.btn-primary-custom:hover, 
.btn-submit:hover {
    background-color: #e65c00;
    border-color: #e65c00;
    color: white;
}

/* Header Styles */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar a {
    color: white;
    margin-right: 15px;
}

.top-bar a:hover {
    color: #ffcc00;
    text-decoration: none;
}

.logo-container {
    padding: 15px 0;
}

.logo {
    height: 80px;
}

/* Navigation */
.navbar-custom {
    background-color: var(--primary-color) !important;
    padding: 0;
}

.navbar-custom .navbar-nav .nav-link {
    color: white;
    padding: 15px 20px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 15px;
}

.navbar-custom .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-custom .navbar-toggler {
    border-color: white;
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Hero Sections */
.hero-section, 
.about-hero {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://alldriverwelfareassociation.org/wp-content/uploads/2021/01/banner-1.jpg');
}

.about-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://alldriverwelfareassociation.org/wp-content/uploads/2021/01/about-banner.jpg');
}

.hero-section h1, 
.about-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Content Sections */
.about-section, 
.services-section, 
.testimonial-section, 
.form-section, 
.gallery-section, 
.contact-section, 
.terms-section, 
.refund-section, 
.privacy-section, 
.mission-section, 
.team-section, 
.stats-section {
    padding: 60px 0;
}

.about-section, 
.testimonial-section, 
.form-section, 
.gallery-section, 
.contact-section, 
.terms-section, 
.refund-section, 
.privacy-section, 
.mission-section {
    background-color: var(--light-color);
}

/* Card Styles */
.service-box, 
.testimonial-card, 
.application-form, 
.contact-form, 
.contact-card, 
.contact-info-card, 
.mission-card, 
.team-card, 
.terms-content, 
.policy-content, 
.event-card {
    background: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.service-box:hover, 
.contact-info-card:hover, 
.mission-card:hover, 
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Service Box */
.service-box {
    text-align: center;
    padding: 30px 15px;
    border: 1px solid #eee;
}

.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Forms */
.form-group label {
    font-weight: 600;
    color: var(--dark-color);
}

.required-field::after {
    content: " *";
    color: red;
}

/* Gallery */
.gallery-filter {
    margin-bottom: 40px;
    text-align: center;
}

.filter-button {
    display: inline-block;
    padding: 8px 20px;
    background: white;
    border: 1px solid #ddd;
    color: var(--dark-color);
    margin: 0 5px 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-button:hover, 
.filter-button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.gallery-item {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 15px;
    background: white;
}

.gallery-caption h5 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 18px;
}

.gallery-caption p {
    color: #666;
    font-size: 14px;
    margin-bottom: 0;
}

/* Contact Info */
.contact-info {
    margin-top: 40px;
}

.contact-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-card h4, 
.contact-info-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-card p, 
.contact-info-card p {
    margin-bottom: 5px;
    line-height: 1.6;
}

/* Map */
.map-section {
    padding: 0 0 60px;
}

.map-container {
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* About Page */
.about-img {
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.mission-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Team */
.team-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-info p {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s;
}

.team-social a:hover {
    background-color: var(--secondary-color);
}

/* Stats */
.stats-section {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.stat-item {
    margin-bottom: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
}

/* Policy Content */
.highlight-box {
    background-color: rgba(0, 102, 204, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin: 20px 0;
}

.policy-content h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 22px;
}

.policy-content h4 {
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 18px;
}

.policy-content p, 
.terms-content p {
    margin-bottom: 15px;
}

.policy-content ul, 
.terms-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content ul li, 
.terms-content ul li {
    margin-bottom: 8px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer h4 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 20px;
}

.footer-links li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: white;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    font-size: 14px;
    color: #aaa;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section, 
    .about-hero {
        padding: 80px 0;
    }
    
    .hero-section h1, 
    .about-hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .hero-section, 
    .about-hero {
        padding: 60px 0;
    }
    
    .hero-section h1, 
    .about-hero h1 {
        font-size: 32px;
    }
    
    .navbar-custom .navbar-nav .nav-link {
        padding: 10px 15px;
    }
    
    .service-box, 
    .testimonial-card, 
    .application-form, 
    .contact-form, 
    .contact-card, 
    .contact-info-card, 
    .terms-content, 
    .policy-content {
        padding: 20px;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .filter-button {
        padding: 6px 15px;
        font-size: 14px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero-section h1, 
    .about-hero h1 {
        font-size: 28px;
    }
    
    .hero-section p {
        font-size: 16px;
    }
    
    .logo {
        height: 60px;
    }
    
    .btn-primary-custom, 
    .btn-submit {
        padding: 8px 20px;
        font-size: 14px;
    }
}