/* Main Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/freemasonic (9).jpg');
    background-size: cover;
    background-position: center;
    padding: 150px 0;
    margin-bottom: 30px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 123, 0.8), rgba(0, 0, 123, 0.9)), url('../images/freemasonic (10).jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    margin: 50px 0;
}

/* Card styling */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Floating buttons */
.floating-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    z-index: 1000;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 24px;
}

.whatsapp-btn {
    right: 20px;
    background-color: #25D366;
}

.call-btn {
    left: 20px;
    background-color: #007bff;
}

/* Form styling */
.form-section {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

footer a:hover {
    text-decoration: underline;
}

/* Navbar brand */
.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: bold;
}

.navbar-brand img {
    margin-right: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
    }
}

/* About page specific */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #007bff;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid #007bff;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.left::after {
    right: -10px;
}

.timeline-item.right::after {
    left: -10px;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.left, .timeline-item.right {
        left: 0;
    }
    
    .timeline-item.left::after, .timeline-item.right::after {
        left: 21px;
    }
}

/* Masonic symbols */
.masonic-symbol {
    max-width: 100px;
    margin: 0 auto 20px;
    display: block;
}

/* Contact page styling */
.contact-info .bg-primary {
    transition: transform 0.3s;
}

.contact-info .bg-primary:hover {
    transform: scale(1.1);
}

/* FAQ Accordion styling */
.accordion-button:not(.collapsed) {
    background-color: rgba(0, 123, 255, 0.1);
    color: #0056b3;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

/* Logo styling */
.logo-img {
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.7));
    transition: transform 0.3s;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.1);
}

/* Carousel styling */
.carousel-item {
    height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Registration Fee Section */
.fee-card {
    border: 2px solid #c9a227;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.fee-header {
    background: linear-gradient(135deg, #003366, #001a33);
    color: white;
    padding: 15px;
    border-bottom: 2px solid #c9a227;
}

.fee-price {
    font-size: 3rem;
    font-weight: bold;
    color: #003366;
}

.fee-currency {
    font-size: 1.5rem;
    position: relative;
    top: -15px;
    color: #003366;
}

/* Testimonial styling */
.testimonial {
    border-left: 4px solid #003366;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Additional responsive adjustments */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption h5 {
        font-size: 1.2rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .fee-price {
        font-size: 2.5rem;
    }
}

/* Registration fee section */
.fee-card {
    border: 2px solid #FFD700;
    transition: transform 0.3s, box-shadow 0.3s;
}

.fee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.3);
}

.fee-header {
    background: linear-gradient(135deg, #00008B, #0000CD);
    color: #FFD700;
    padding: 15px;
    border-radius: 5px 5px 0 0;
}

.fee-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00008B;
}

.fee-currency {
    font-size: 1.2rem;
    position: relative;
    top: -15px;
}

/* Additional responsive improvements */
@media (max-width: 576px) {
    .top-contact .col-md-6:last-child {
        text-align: left !important;
        margin-top: 5px;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .floating-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
    }
    
    .floating-btn a {
        font-size: 20px;
    }
}

/* Testimonial styling */
.testimonial {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
}

.testimonial::before {
    content: '\201C';
    font-size: 80px;
    position: absolute;
    top: -20px;
    left: 10px;
    color: rgba(0, 0, 0, 0.1);
}

.testimonial-author {
    font-weight: bold;
    text-align: right;
}