:root {
    --primary-color: #00bfff;
    --secondary-color: #0b1e36;
    --accent-color: #6c63ff;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
}

body {
    background: radial-gradient(circle at top left, var(--secondary-color), #000);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    line-height: 1.6;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.glassy-nav {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 10px 0;
}

.glassy-nav.scrolled {
    background: rgba(0, 0, 0, 0.9);
    padding: 8px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
    border-radius: 5px;
}

.brand-text {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    color: #ddd !important;
    transition: color 0.3s;
    font-weight: 500;
    margin: 0 8px;
    position: relative;
}

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

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

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

.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* HERO BACKGROUND FIXED - Made responsive */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image/logo.png') no-repeat center center;
    background-size: 80%; /* Makes it larger but still fits within screen */
    opacity: 0.5;
    z-index: 1;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--text-light), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 191, 255, 0.2);
}

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

.scroll-indicator a {
    color: var(--text-light);
    font-size: 1.5rem;
    text-decoration: none;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.about-image-container {
    position: relative;
}

/* ABOUT CAROUSEL ADDED - 2 photos looping */
.about-carousel {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.about-carousel-slide {
    flex: 0 0 100%;
    height: 100%;
}

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

.about-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.about-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.about-carousel-indicator.active {
    background: var(--primary-color);
}

.floating-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    height: 100%;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.75rem;
    margin: 0 auto;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.team-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.team-track {
    display: flex;
    transition: transform 0.5s ease;
}

.team-member {
    flex: 0 0 300px;
    margin: 0 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

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

.member-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.member-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 20px;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.member-description {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.leader-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.team-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.panel-content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 30px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.close-panel {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-panel:hover {
    color: var(--primary-color);
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.panel-member {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

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

.contact-method {
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-method:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0 auto;
}

footer {
    background: rgba(255, 255, 255, 0.05);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    text-align: center;
    line-height: 40px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

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

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

    .section-padding {
        padding: 60px 0;
    }

    .floating-card {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
    }

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

    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }

    .nav-logo {
        height: 35px;
    }

    .brand-text {
        font-size: 1.3rem;
    }

    .team-member {
        flex: 0 0 250px;
    }

    /* About carousel mobile */
    .about-carousel {
        height: 300px;
    }
}

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

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

    .nav-logo {
        height: 30px;
    }

    .brand-text {
        font-size: 1.2rem;
    }

    .team-member {
        flex: 0 0 220px;
    }

    .panel-grid {
        grid-template-columns: 1fr;
    }
}
/* Video Showcase Styles */
.video-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    height: 400px;
}

.video-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 191, 255, 0.2);
}

.project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

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

.video-container:hover .video-overlay {
    opacity: 1;
}

.video-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.video-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Projects Section Styles */
.project-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-status {
    position: absolute;
    top: 20px;
    right: 20px;
}

.status-badge {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}


.projects-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.panel-project {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

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

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.panel-project:hover .project-image img {
    transform: scale(1.1);
}

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

.panel-project:hover .project-overlay {
    opacity: 1;
}

.project-info {
    text-align: center;
    color: white;
    padding: 20px;
}

.project-info h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.project-tag {
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
}


@media (max-width: 800px) {
    .video-container {
        height: 300px;
        margin-bottom: 20px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .video-content h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .video-container {
        height: 300px;
    }
    
    .project-image {
        height: 180px;
    }
}
/* Ministry Project Panel Styles */
.project-detail-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.project-detail-content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 30px;
}

.project-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.project-detail-section {
    margin-bottom: 80px;
}

.project-detail-section:last-child {
    margin-bottom: 0;
}

.project-detail-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.project-detail-row.reverse {
    flex-direction: row-reverse;
}

.project-detail-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.project-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.project-detail-image:hover img {
    transform: scale(1.05);
}

.project-detail-text {
    flex: 1;
}

.project-detail-text h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.project-detail-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.project-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.project-feature {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.project-feature h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.project-feature p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

.project-highlight {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1), rgba(108, 99, 255, 0.1));
    border: 1px solid rgba(0, 191, 255, 0.3);
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
}

.project-highlight h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .project-detail-row,
    .project-detail-row.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .project-detail-content {
        margin: 30px auto;
        padding: 20px;
    }
    
    .project-detail-header {
        margin-bottom: 30px;
    }
    
    .project-detail-section {
        margin-bottom: 50px;
    }
    
    .project-feature-grid {
        grid-template-columns: 1fr;
    }
}
/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, var(--secondary-color), #000);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-logo {
    width: 250px;
    height: 250px;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
    border-radius: 10px;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 191, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-text {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.loading-subtext {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.brand-text-loading {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 20px auto;
    overflow: hidden;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}