/* Custom Styles for PCC Website */

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px; /* Account for fixed navbar */
}

/* Adjust spacing after navbar */
.navbar + * {
    margin-top: 0;
}

/* Navigation Styles */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Hero Section */
.hero-section {
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Page Header */
.page-header {
    margin-top: 0; /* Body padding-top already accounts for fixed navbar */
}

/* Adjust spacing after navbar - ensure first content starts right after navbar */
.hero-section {
    margin-top: 0; /* No extra margin needed since body has padding-top */
}

/* Adjust spacing after page header section - reduce gap */
.page-header + section {
    margin-top: 0;
}

/* Card Styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Statistics Section */
.stats-section .stat-item {
    padding: 20px;
}

.stats-section h3 {
    font-size: 3rem;
}

/* Partner Logos */
.partner-logo {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

/* Testimonials */
.testimonials-section .card {
    border-left: 4px solid #0d6efd;
}

/* Gallery */
.gallery-item {
    transition: opacity 0.3s ease;
}

.gallery-item img {
    height: 250px;
    object-fit: cover;
}

/* Blog */
.blog-content .card-img-top {
    height: 300px;
    object-fit: cover;
}

/* Contact Form */
.contact-item h5 {
    margin-bottom: 10px;
}

.contact-item p {
    margin-bottom: 0;
}

.contact-item a {
    color: #333;
    text-decoration: none;
}

.contact-item a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

/* Footer */
footer {
    margin-top: 50px;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #adb5bd !important;
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* Newsletter Section */
.newsletter-section form {
    max-width: 600px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }
    
    .stats-section h3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

/* Button Styles */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Section Spacing */
section {
    margin-bottom: 0;
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
}

/* Text Utilities */
.lead {
    font-weight: 400;
}

/* Badge Styles */
.badge {
    padding: 0.35em 0.65em;
    font-weight: 500;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.card {
    animation: fadeIn 0.6s ease-out;
}
