/* FAIC 2026 - Custom Styles */
/* Modern, responsive, and elegant design for Ghana Consulting Engineers Association */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #ffc107;
    --accent-color: #198754;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --primary-gradient: linear-gradient(135deg, #FF6B6B, #FF8E53, #FFC857);
    --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #0099ff 100%);
    --gradient-secondary: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    --gradient-accent: linear-gradient(135deg, #198754 0%, #20c997 100%);
}

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

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Page Load Animations */
.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scale {
    animation: scaleIn 0.8s ease-out forwards;
}

.animate-slide-down {
    animation: slideInDown 0.8s ease-out forwards;
}

/* Animation Delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Navbar Styles */
.navbar {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

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

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: var(--gradient-primary);
    color: white !important;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-pill {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--gradient-secondary);
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.hero-tag {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Full Screen Carousel */
.carousel-fullscreen {
    height: 100vh;
    width: 100%;
}

.carousel-fullscreen .carousel-inner,
.carousel-fullscreen .carousel-item {
    height: 100vh;
}

.carousel-fullscreen .carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-fullscreen .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(13, 110, 253, 0.4) 100%);
}

.carousel-caption-custom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    max-width: 900px;
}

.carousel-caption-custom h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.carousel-caption-custom p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Vertical Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 100%;
    height: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-control-prev {
    top: 0;
    bottom: auto;
}

.carousel-control-next {
    top: auto;
    bottom: 0;
}

.carousel-fullscreen:hover .carousel-control-prev,
.carousel-fullscreen:hover .carousel-control-next {
    opacity: 0.5;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    transform: rotate(90deg);
    width: 3rem;
    height: 3rem;
}

/* Button Styles */
.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

.btn-secondary-custom {
    background: var(--gradient-secondary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-secondary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
    color: var(--dark-color);
}

.btn-outline-custom {
    border: 2px solid white;
    background: transparent;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-gradient {
    background: var(--primary-gradient);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    text-decoration: none;
    display: inline-block;
}

.btn-gradient:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.5);
    color: #fff;
}

/* Card Styles */
.card-custom {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-custom .card-body {
    padding: 2rem;
}

.card-custom .card-title {
    font-weight: 700;
    color: var(--dark-color);
}

/* Logo Cards */
.logo-card {
    text-align: center;
    padding: 2rem;
}

.logo-card img {
    max-height: 120px;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.logo-card.round-logo img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Section Styles */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

/* Mission Card */
.mission-card {
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.mission-card .stat-item {
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.mission-card .stat-item:last-child {
    border-right: none;
}

.mission-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
}

.mission-card .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-accent);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Pricing Table */
.pricing-table {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.pricing-table thead {
    background: var(--gradient-secondary);
}

.pricing-table thead th {
    color: var(--dark-color);
    font-weight: 700;
    padding: 1.25rem;
    border: none;
}

.pricing-table tbody td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
}

.pricing-table tbody tr:hover {
    background: rgba(13, 110, 253, 0.05);
}

/* Program Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--primary-color);
}

.timeline-date {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Tour Cards */
.tour-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.tour-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.tour-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.tour-card .card-body {
    padding: 1.5rem;
}

/* Booking Info Cards */
.booking-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.booking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.booking-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.booking-card h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* Form Styles */
.form-custom {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-custom .form-control,
.form-custom .form-select {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-custom .form-control:focus,
.form-custom .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.form-custom .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-section-title {
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Footer Styles */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    opacity: 0.7;
}

/* Map Container */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Contact Info */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

/* Hotel Card */
.hotel-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hotel-card img {
    height: 350px;
    object-fit: cover;
    width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-caption-custom h1 {
        font-size: 2rem;
    }
    
    .carousel-caption-custom p {
        font-size: 1rem;
    }
    
    .hero-pill {
        font-size: 1.25rem;
        padding: 0.5rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mission-card .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .mission-card .stat-item:last-child {
        border-bottom: none;
    }
    
    .form-custom {
        padding: 1.5rem;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-indicator i {
    font-size: 2rem;
    color: white;
    opacity: 0.8;
}

/* Three Column Overlay */
.three-col-overlay {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.three-col-overlay .col-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.three-col-overlay .col-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.three-col-overlay .col-item p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}
