/* Custom CSS for LGST Website */

:root {
    --primary-color: #C8A349;
    --primary-dark: #A68A3B;
    --primary-light: #E6C878;
    --navy-color: #0B1C3E;
    --navy-light: #1A2B4C;
    --navy-dark: #061225;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    background: #fff;
}
.navbar-scrolled{
    background-color: #fff !important;
    transition: background-color 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

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

.navbar-nav .nav-link {
    color: var(--navy-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 75vh;
    min-height: 40vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 0px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 28, 62, 0.8), rgba(26, 43, 76, 0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s both;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(200, 163, 73, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

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

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(200, 163, 73, 0.1), rgba(200, 163, 73, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(200, 163, 73, 0.2), rgba(200, 163, 73, 0.1));
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-card h4 {
    color: var(--navy-color);
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.feature-card:hover h4 {
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    margin: 0;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-content {
    padding: 1.5rem;
}

.service-content h4 {
    color: var(--navy-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-content h4 {
    color: var(--primary-color);
}

.service-content p {
    color: var(--text-light);
    margin: 0;
}

/* Achievement Items */
.achievement-item {
    text-align: center;
    padding: 1rem;
}

.achievement-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.achievement-item p {
    color: var(--text-light);
    margin: 0;
}

/* Gallery */
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    margin: 0;
    opacity: 0.9;
}

/* Contact Section */
.contact-info {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 16px;
    height: 100%;
}

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

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

.contact-item h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin: 0;
    color: var(--text-light);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(200, 163, 73, 0.25);
}

/* Footer */
footer {
    background: var(--navy-color) !important;
}

footer h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }

    .contact-info,
    .contact-form {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .feature-card,
    .service-card {
        margin-bottom: 2rem;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

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

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img[loading] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Services Page Styles */
.service-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.5s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.service-icon {
    background: linear-gradient(135deg, rgba(200, 163, 73, 0.1), rgba(200, 163, 73, 0.05));
    border-radius: 12px;
    padding: 1rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(200, 163, 73, 0.2), rgba(200, 163, 73, 0.1));
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-color);
    margin: 0;
    transition: color 0.3s ease;
}

.service-card:hover .service-content h3 {
    color: var(--primary-color);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.service-details li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

.service-card:hover .service-details li {
    color: var(--text-dark);
}

/* About Page Styles */
.value-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    background: linear-gradient(135deg, rgba(200, 163, 73, 0.1), rgba(200, 163, 73, 0.05));
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, rgba(200, 163, 73, 0.2), rgba(200, 163, 73, 0.1));
    transform: scale(1.1);
}

.value-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.value-card:hover h4 {
    color: var(--primary-color);
}

.value-card p {
    color: var(--text-light);
    margin: 0;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.5s ease;
    height: 100%;
}

.achievement-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px) scale(1.05);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.achievement-card:hover .achievement-number {
    transform: scale(1.1);
}

.achievement-label {
    color: var(--primary-light);
    font-weight: 500;
}

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

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-color);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--text-light);
    margin: 0;
}

.certifications {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.certification-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.certification-item i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.certification-item:hover i {
    transform: scale(1.1);
}

/* Gallery Page Styles */
.filter-buttons {
    margin-bottom: 2rem;
}

.filter-btn {
    background: var(--light-gray);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover {
    background: rgba(200, 163, 73, 0.1);
    color: var(--primary-color);
    transform: scale(1.05);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(200, 163, 73, 0.3);
}

.gallery-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    cursor: pointer;
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image-container {
    position: relative;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-overlay i {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gallery-content {
    padding: 1.5rem;
}

.gallery-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.gallery-card:hover .gallery-content h4 {
    color: var(--primary-color);
}

.gallery-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-light);
}

.gallery-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s ease;
}

.gallery-card:hover .gallery-meta span {
    color: var(--primary-color);
}

/* Contact Page Styles */
.contact-form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-form-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-form-card h2 {
    color: var(--navy-color);
    margin-bottom: 2rem;
}

.contact-info {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-info h2 {
    color: var(--navy-color);
    margin-bottom: 2rem;
}

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

.contact-icon {
    background: linear-gradient(135deg, rgba(200, 163, 73, 0.1), rgba(200, 163, 73, 0.05));
    border-radius: 12px;
    padding: 1rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-details h5 {
    color: var(--navy-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-details small {
    color: var(--text-light);
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Modal Styles */
.modal-content {
    background: transparent;
}

.modal-header {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.lightbox-info {
    color: var(--white);
}

.lightbox-info h4 {
    margin-bottom: 0.5rem;
}

.lightbox-meta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.lightbox-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-header {
        flex-direction: column;
        text-align: center;
    }

    .service-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .gallery-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}