/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-brand img {
    margin-right: 10px;
}

/* Enhanced Hero Section */
.hero-section {
    margin-top: 76px;
}

.carousel-item {
    height: 85vh;
    min-height: 600px;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: left;
}

.caption-content {
    max-width: 600px;
}

.carousel-caption h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s ease;
}

.carousel-caption p {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

.cta-buttons {
    animation: fadeInUp 1.2s ease;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}



/* Quick Stats */
.quick-stats {
    background: linear-gradient(135deg, #244325 0%, #34495e 100%);
}

.stat-item h2 {
    font-weight: 700;
}

.stat-item small {
    color: rgb(180 206 233 / 75%) !important;
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    padding: 20px;
}

/* Section Titles */
.section-title {
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

/* Cards */
.highlight-card, .service-card, .team-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.highlight-card:hover, .service-card:hover, .team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}


/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}


/* Product Cards */
.product-card {
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.product-image {
    overflow: hidden;
    border-radius: 8px;
}

.product-image img {
    transition: transform 0.3s ease;
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Mission & Vision Section */
.mission-vision-content .section-title {
    position: relative;
    padding-bottom: 20px;
}

.mission-vision-content .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #3498db;
}

.mission-card, .vision-card {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.vision-list li {
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.vision-list li:last-child {
    border-bottom: none;
}

/* Values Grid */
.value-card {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.value-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}



/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-text {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Team Section */
.team-card img {
    height: 250px;
    object-fit: cover;
}

.founder-card {
    max-width: 400px;
}

.founder-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: between;
    align-items: center;
}

.faq-answer {
    padding: 1rem;
    background: white;
    border-left: 3px solid var(--secondary-color);
    display: none;
}

.faq-question.active + .faq-answer {
    display: block;
}

/* Contact Form */
.contact-info h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.business-hours {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 3rem 0;
}

.footer h5 {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        bottom: 10%;
        padding: 1rem;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
}

/* Mission & Vision Cards */
.mission-card, .vision-card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.mission-card .card-body, .vision-card .card-body {
    padding: 2rem;
}

/* Achievement Items */
.achievement-item {
    padding: 1.5rem;
}

.achievement-item h5 {
    color: var(--primary-color);
    margin: 1rem 0;
}

/* Service Cards */
.service-card .card-body {
    padding: 2rem;
}

.service-card ul {
    padding-left: 1rem;
    margin-top: 1rem;
}

.service-card li {
    margin-bottom: 0.5rem;
}

/* User Dashboard */
.nav-pills .nav-link {
    color: #495057;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.nav-pills .nav-link:hover:not(.active) {
    background-color: #e9ecef;
}

/* FAQ Styles */
.faq-item {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question.active {
    background: var(--primary-color);
    color: white;
}

.faq-answer {
    padding: 1.25rem;
    background: white;
    border-top: 1px solid #dee2e6;
}

/* Team Styles */
.team-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

.stat-item h2 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Auth Pages */
.card {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #1a252f;
    border-color: #1a252f;
}

/* Error Page */
.error-content {
    padding: 3rem 0;
}

.display-1 {
    font-size: 8rem;
    font-weight: 300;
    line-height: 1;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .display-1 {
        font-size: 4rem;
    }
    
    .team-card .row {
        flex-direction: column;
    }
    
    .team-card .col-md-4 {
        width: 100%;
    }
}

/* CTA Section */
.bg-primary {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    .carousel-caption {
        text-align: center;
        bottom: 20px;
        transform: none;
    }
    
    .caption-content h1 {
        font-size: 2rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .quick-stats .display-4 {
        font-size: 2.5rem;
    }
    
    .feature-card, .value-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 50vh;
    }
    
    .caption-content h1 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
}

/* Smooth transitions */
.carousel-fade .carousel-item {
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item:not(.active) {
    opacity: 0;
}

/* Enhanced buttons */
.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}


/* Enhanced Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: 76px;
}

/* Contact Info Cards */
.contact-info-section .card,
.contact-form-section .card {
    border-radius: 15px;
    overflow: hidden;
}

.office-card {
    transition: all 0.3s ease;
}

.office-card:hover {
    transform: translateX(5px);
}

.contact-item {
    padding: 4px 0;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: #495057;
}

.office-icon {
    width: 50px;
    height: 50px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Business Hours */
.hours-list {
    background: rgba(0, 0, 0, 0.02);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hour-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hour-item:last-child {
    border-bottom: none;
}

/* Contact Form Enhancements */
.contact-form-section .form-control,
.contact-form-section .form-select {
    border-left: none;
    padding-left: 0;
    transition: all 0.3s ease;
}

.contact-form-section .form-control:focus,
.contact-form-section .form-select:focus {
    box-shadow: none;
    border-color: #3498db;
}

.input-group-text {
    background-color: #f8f9fa !important;
    border-right: none;
    transition: all 0.3s ease;
}

.form-control:focus + .input-group-text {
    border-color: #3498db;
}

/* Map Placeholders */
.map-placeholder {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.map-placeholder:hover {
    border-color: #3498db;
    transform: translateY(-2px);
}

.location-card {
    transition: all 0.3s ease;
}

.location-card:hover {
    background: rgba(0, 0, 0, 0.01);
}

.location-icon {
    width: 60px;
    height: 60px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Quick Contact Options */
.quick-contact-option {
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.quick-contact-option:hover {
    background: rgba(0, 0, 0, 0.02);
    transform: translateY(-5px);
}

/* Form Validation Styles */
.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: #198754;
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #dc3545;
}

/* Alert Enhancements */
.alert {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Button Enhancements */
.btn {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        margin-top: 70px;
    }
    
    .contact-info-section,
    .contact-form-section {
        margin-bottom: 2rem;
    }
    
    .location-card {
        border-bottom: 1px solid #dee2e6;
    }
    
    .location-card:last-child {
        border-bottom: none;
    }
    
    .quick-contact-option {
        margin-bottom: 1.5rem;
    }
    
    .quick-contact-option:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .card-header h4 {
        font-size: 1.25rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
}

/* Animation for form elements */
.form-control,
.form-select {
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.2);
}

/* Success message animation */
.alert-success {
    animation: slideInDown 0.5s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}