/* GMAEA Custom Styles */

/* Color Variables */
:root {
    --primary-blue: #0066cc;
    --secondary-blue: #004499;
    --light-blue: #e6f2ff;
    --dark-blue: #003366;
    --success-green: #28a745;
    --warning-orange: #ffc107;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --border-light: #e9ecef;
    --white: #ffffff;
    --light-gray: #f8f9fa;
}

/* Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

.display-4, .display-5, .display-6 {
    font-weight: 700;
}

/* Hero Section Title Styling */
.hero-section h1.display-4 {
    font-size: 200% !important;
    line-height: 1.3 !important;
    text-align: center !important;
    letter-spacing: -0.5px;
    word-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem !important;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Hero Section Lead Text */
.hero-section .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 1.4;
    margin-bottom: 2rem;
}

/* Custom Bootstrap Color Overrides */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-1px);
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

.text-primary {
    color: var(--primary-blue) !important;
}

.border-primary {
    border-color: var(--primary-blue) !important;
}

.badge.bg-primary {
    background-color: var(--primary-blue) !important;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

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

/* Luxury Navigation Hover Effects */
.navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
    padding-bottom: 0.5rem !important;
    margin: 0 0.2rem;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(-50%);
    opacity: 0;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
    opacity: 1;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Dropdown Menu Luxury Effects */
.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.navbar-nav .dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-nav .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), rgba(0, 102, 204, 0.1));
    transition: width 0.3s ease;
    z-index: 0;
}

.navbar-nav .dropdown-item:hover::before {
    width: 100%;
}

.navbar-nav .dropdown-item:hover {
    background: transparent;
    color: var(--primary-blue);
    transform: translateX(5px);
}

.navbar-nav .dropdown-item i,
.navbar-nav .dropdown-item span {
    position: relative;
    z-index: 1;
}

/* Language Selector Special Effects */
.navbar-nav #languageDropdown {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0.4rem 1rem !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-nav #languageDropdown:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.navbar-brand img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

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

/* Hero Slideshow */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.4), rgba(0, 68, 153, 0.5));
    display: flex;
    align-items: center;
    z-index: 2;
    color: white;
}

.slide-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    text-align: center;
}

/* Hero Logo Styles */
.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-logo-img {
    max-height: 120px;
    max-width: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

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

.slide-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.slide-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

.slide-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Navigation Buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

/* Dot Indicators */
.slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.dot:hover,
.dot.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

/* Hero Stats (for slide 5) */
.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    padding: 1rem;
}

/* Responsive Design for Slideshow */
@media (max-width: 1200px) {
    .slide-title {
        font-size: 4rem;
    }
    
    .slide-subtitle {
        font-size: 1.3rem;
    }
    
    .slide-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-slideshow {
        height: 100vh;
    }
    
    .hero-logo-img {
        max-height: 80px;
        max-width: 200px;
    }
    
    .slide-title {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .slide-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .slide-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .slide-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .prev-btn {
        left: 20px;
    }
    
    .next-btn {
        right: 20px;
    }
    
    .slide-indicators {
        bottom: 20px;
        gap: 12px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
    
    .hero-stats {
        margin-top: 2rem;
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-logo-img {
        max-height: 60px;
        max-width: 150px;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .slide-description {
        font-size: 0.9rem;
    }
    
    .hero-stats .row > div {
        margin-bottom: 1rem;
    }
    
    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: 15px;
    }
    
    .next-btn {
        right: 15px;
    }
}

/* Cards */
.card {
    border: none;
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

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

.card-body {
    padding: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Timeline */
.timeline-icon {
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

/* Forms */
.form-control {
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

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

/* Contact Information */
.contact-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 40px;
    text-align: center;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #212529, #343a40) !important;
}

footer .social-links a {
    display: inline-block;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-blue) !important;
}

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

.gallery-item.d-none {
    display: none !important;
}

/* Empty States */
.empty-state {
    padding: 4rem 2rem;
}

.empty-state i {
    opacity: 0.5;
}

/* Service Icons */
.service-icon {
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

/* Step Numbers */
.step-number {
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-blue);
    border-color: var(--border-light);
    padding: 0.75rem 1rem;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.pagination .page-link:hover {
    color: var(--secondary-blue);
    background-color: var(--light-blue);
    border-color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        margin-top: 2rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-stats .row > div {
        margin-bottom: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-blue);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.border-radius-lg {
    border-radius: 15px !important;
}

.shadow-primary {
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.15) !important;
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .pagination {
        display: none !important;
    }
    
    .container {
        max-width: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid var(--border-light) !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid var(--text-dark) !important;
    }
    
    .btn-primary {
        background-color: var(--text-dark) !important;
        border-color: var(--text-dark) !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .fade-in {
        transition: none !important;
    }
}
/* Force refresh */
