/* Custom Styles for ATC Website */

/* Color Theme */
:root {
    --primary-blue: #007bff;
    --secondary-gold: #ffd700;
    --dark-blue: #003366;
    --light-gray: #f8f9fa;
    --text-dark: #333;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loading-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(0, 51, 102, 0.86) 0%, rgba(0, 98, 230, 0.75) 100%),
        url('../images/hero-image.png') center center/cover no-repeat;
    color: white;
    padding: 90px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.hero-bg-orb-1 {
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.14);
    top: -80px;
    left: -50px;
}

.hero-bg-orb-2 {
    width: 320px;
    height: 320px;
    background: rgba(255, 215, 0, 0.2);
    bottom: -140px;
    right: -70px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions .btn {
    margin: 0 !important;
}

.btn-primary-custom {
    background: var(--secondary-gold);
    color: var(--text-dark);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-card .btn {
    margin-top: auto;
    align-self: center;
}

/* Why Choose Us */
.why-choose-section {
    padding: 80px 0;
}

.feature-item {
    text-align: center;
    margin-bottom: 2rem;
    background: #fff;
    padding: 28px 22px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-blue);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-gold);
    margin-bottom: 1rem;
}

/* Process Cards */
.process-step {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 28px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.why-choose-section .col-lg-4:nth-child(1) .feature-item {
    border-top-color: #007bff;
}

.why-choose-section .col-lg-4:nth-child(2) .feature-item {
    border-top-color: #ffc107;
}

.why-choose-section .col-lg-4:nth-child(3) .feature-item {
    border-top-color: #20c997;
}

/* Testimonials */
.testimonial-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
}

.testimonial-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.2rem;
    color: #495057;
    line-height: 1.7;
    flex-grow: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    margin-top: auto;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.testimonial-stars {
    letter-spacing: 2px;
    font-size: 0.95rem;
    margin-top: 10px;
}

#testimonialCarousel .carousel-indicators {
    position: static;
    margin-top: 8px;
}

#testimonialCarousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #0d6efd;
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
    width: 40px;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    background-size: 60% 60%;
}

#testimonialCarousel .carousel-control-prev {
    left: -14px;
}

#testimonialCarousel .carousel-control-next {
    right: -14px;
}

@media (max-width: 991px) {
    #testimonialCarousel .carousel-control-prev {
        left: -6px;
    }

    #testimonialCarousel .carousel-control-next {
        right: -6px;
    }
}

/* Team Section */
.team-section {
    padding: 80px 0;
}

.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 5px solid var(--secondary-gold);
}

/* Contact Form */
.contact-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-image {
    height: 200px;
    object-fit: cover;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-blue);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 72px 0 60px;
    }

    .hero-content {
        padding: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .service-card {
        margin-bottom: 2rem;
    }

    .contact-form {
        padding: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}