* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: black;
    color: white;
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* Intro/Loading Screen */
.intro {
    position: fixed;
    inset: 0;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.intro.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro .logo-img {
    height: 120px;
    animation: logo-grow 3s ease-out forwards;
}

@keyframes logo-grow {
    0% { 
        opacity: 0; 
        transform: scale(0.5); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1); 
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #CC5500;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background:#CC5500;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('image.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: #ccc;
    font-weight: 300;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    color: #ddd;
    line-height: 1.8;
}

.highlight {
    color: #CC5500;
    font-weight: bold;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #CC5500;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #CC5500;
}

.btn:hover {
    background: transparent;
    color: #CC5500;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

/* Sections */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section.dark {
    background: #111;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-transform: uppercase;
    color: #CC5500;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    
}
.mission-title {
  color: #CC5500;
}

.about-grid img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.about-grid img:hover {
    transform: scale(1.02);
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stats span {
    font-size: 2.5rem;
    color: #CC5500;
    font-weight: bold;
}

.stats div {
    text-align: center;
    min-width: 100px;
}

/* Projects Grid (Single Card Layout) */
.projects-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.projects-grid .card {
    background: #222;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #333;
    transition: all 0.3s ease;
    max-width: 500px;
    width: 100%;
}

.projects-grid .card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.projects-grid .card:hover {
    transform: translateY(-5px);
    border-color: #CC5500;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
}

/* ===== NEW GALLERY STYLES ===== */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Thumbnail Navigation */
.gallery-thumbnails {
    position: relative;
    margin-bottom: 2rem;
    padding: 0 40px;
}

.thumbnails-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.thumbnails-container::-webkit-scrollbar {
    display: none;
}

.thumbnail {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail.active {
    opacity: 1;
    border: 3px solid #CC5500;
    transform: scale(1.1);
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(204, 85, 0, 0.8);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.3s ease;
}

.thumb-nav:hover {
    background: #CC5500;
    transform: translateY(-50%) scale(1.1);
}

.prev-thumb {
    left: 0;
}

.next-thumb {
    right: 0;
}

/* Main Gallery Viewer */
.gallery-viewer {
    position: relative;
    height: 500px;
    background: #111;
    border-radius: 15px;
    overflow: hidden;
}

.gallery-slides {
    position: relative;
    height: 100%;
    width: 100%;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide.active {
    opacity: 1;
    transform: scale(1);
}

.gallery-slide img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-slide img:hover {
    transform: scale(1.02);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: all 0.3s ease;
}

.gallery-nav:hover {
    background: #CC5500;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-lightbox:hover {
    color: #CC5500;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: #CC5500;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Gallery Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-slide.active {
    animation: zoomIn 0.5s ease-out;
}

/* Remove the old masonry gallery styles */
/* .grid.gallery { column-count: 3; etc... } */

/* Cards */
.card {
    background: #222;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #CC5500;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

form input,
form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #222;
    border: 1px solid #444;
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: #CC5500;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

form button {
    padding: 1rem 2rem;
    background: #CC5500;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
}

form button:hover {
    background: #CC5500;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #000;
    padding: 2rem 1rem;
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .stats {
        gap: 1rem;
    }

    .stats span {
        font-size: 2rem;
    }

    /* Gallery Mobile Responsive */
    .gallery-viewer {
        height: 300px;
    }
    
    .thumbnail {
        width: 80px;
        height: 60px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

/* Smooth scrolling for older browsers */
html {
    scroll-behavior: smooth;
}

/* Loading animation improvements */
.loading-text {
    opacity: 0;
    animation: fadeIn 1s ease-in-out 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Selection color */
::selection {
    background:#CC5500;
    color: white;
}



/* Projects Section - Side by Side Layout */
.project-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: #222;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.project-container:hover {
    transform: translateY(-5px);
    border-color: #CC5500;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
}

.project-image {
    text-align: center;
}

.project-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.project-image img:hover {
    transform: scale(1.02);
}

.project-info h3 {
    color: #CC5500;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.project-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-info strong {
    color: #CC5500;
}

.project-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    justify-content: space-between;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: #333;
    border-radius: 8px;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #CC5500;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 0.5rem;
}

/* Responsive Design for Projects */
@media (max-width: 768px) {
    .project-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .project-image img {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .project-container {
        padding: 1.5rem;
    }
    
    .project-info h3 {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Leadership Team Styles */
/* Leadership Team Styles */
.team-header {
  text-align: center;
  margin-bottom: 3rem;
}

.team-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.leader-card {
  position: relative;
  height: 350px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(204, 85, 0, 0.3);
}

.leader-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #CC5500;
  z-index: 1;
}

.leader-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform 0.3s ease;
  /* This ensures images don't turn orange */
  mix-blend-mode: normal;
}

.leader-card:hover .leader-photo {
  transform: scale(1.05);
}

.leader-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem 1rem;
  color: white;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.leader-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.leader-role {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  font-weight: 500;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .leadership-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .leader-card {
    height: 300px;
  }
  
  .leader-content h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .leader-card {
    height: 250px;
  }
  
  .team-subtitle {
    font-size: 1.1rem;
    padding: 0 1rem;
  }
}