/* programs.css - WITH LARGE IMAGES */

.programs-page {
    background: #0a1929;
    color: white;
}

/* Hero Section */
.programs-hero {
    background: linear-gradient(135deg, #0a1929 0%, #1a365d 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 30%;
    right: 15%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 20%;
    animation: float 7s ease-in-out infinite;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 25%;
    animation: float 9s ease-in-out infinite reverse;
}

.shape-5 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 15%;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.programs-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #00a86b, #00cc88);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 32px rgba(0, 168, 107, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.programs-badge i {
    font-size: 1.4rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title .title-line {
    display: block;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #00cc88, #00ffaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00cc88, transparent);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.program-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.program-stats .stat {
    text-align: center;
    animation: fadeInUp 0.6s ease forwards;
}

.program-stats .stat:nth-child(2) { animation-delay: 0.1s; }
.program-stats .stat:nth-child(3) { animation-delay: 0.2s; }
.program-stats .stat:nth-child(4) { animation-delay: 0.3s; }

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00cc88, #00ffaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 2rem;
    color: #00cc88;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Program Sections */
.program-section {
    padding: 120px 0; /* Increased padding for bigger sections */
    position: relative;
    min-height: 120vh; /* Increased height for bigger images */
    display: flex;
    align-items: center;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    z-index: 0;
}

/* Individual Section Backgrounds */
.cca-section .section-overlay {
    background: linear-gradient(135deg, #1a365d, #2d4a7a);
}

.livelihood-section .section-overlay {
    background: linear-gradient(135deg, #4a235a, #6c3483);
}

.fpo-section .section-overlay {
    background: linear-gradient(135deg, #0e6251, #117864);
}

.nrm-section .section-overlay {
    background: linear-gradient(135deg, #1b4f72, #21618c);
}

.training-section .section-overlay {
    background: linear-gradient(135deg, #7d6608, #b7950b);
}

.section-header {
    text-align: center;
    margin-bottom: 80px; /* Increased margin */
    position: relative;
    z-index: 1;
}

.section-icon {
    width: 100px; /* Increased size */
    height: 100px; /* Increased size */
    background: linear-gradient(135deg, #00cc88, #00ffaa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 35px; /* Increased margin */
    font-size: 2.5rem; /* Increased size */
    box-shadow: 0 15px 40px rgba(0, 204, 136, 0.4); /* Increased shadow */
    border: 4px solid rgba(255, 255, 255, 0.3); /* Thicker border */
}

.section-title {
    font-size: 3.5rem; /* Increased size */
    font-weight: 800;
    margin-bottom: 20px; /* Increased margin */
    text-transform: uppercase;
    letter-spacing: 2px; /* Increased letter spacing */
    background: linear-gradient(135deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.5rem; /* Increased size */
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 2px; /* Increased letter spacing */
}

/* Photo Grid - LARGE IMAGES */
.big-photos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px; /* Increased gap */
    position: relative;
    z-index: 1;
}

.photo-item {
    perspective: 1000px;
    height: 400px; /* SIGNIFICANTLY INCREASED HEIGHT - was 300px */
}

.photo-frame {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.photo-frame:hover {
    transform: rotateY(5deg) rotateX(5deg) scale(1.08); /* Increased scale */
}

.photo-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 15px; /* Increased border radius */
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6); /* Enhanced shadow */
}

.large-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.photo-frame:hover .large-photo {
    transform: scale(1.15); /* Increased zoom effect */
}

.photo-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid rgba(255, 255, 255, 0.4); /* Thicker border */
    border-radius: 15px;
    pointer-events: none;
}

.corner {
    position: absolute;
    width: 40px; /* Larger corners */
    height: 40px; /* Larger corners */
    border: 4px solid #00cc88; /* Thicker border */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.corner-tl {
    top: -4px;
    left: -4px;
    border-right: none;
    border-bottom: none;
    border-radius: 15px 0 0 0; /* Larger radius */
}

.corner-tr {
    top: -4px;
    right: -4px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 15px 0 0;
}

.corner-bl {
    bottom: -4px;
    left: -4px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 15px;
}

.corner-br {
    bottom: -4px;
    right: -4px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 15px 0;
}

.photo-frame:hover .corner {
    opacity: 1;
}

/* Section-specific corner colors */
.cca-section .corner { border-color: #4a9eff; }
.livelihood-section .corner { border-color: #d47ae8; }
.fpo-section .corner { border-color: #00cc88; }
.nrm-section .corner { border-color: #5dade2; }
.training-section .corner { border-color: #f4d03f; }

/* Program Navigation */
.program-navigation {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.nav-dots {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Increased gap */
}

.nav-dot {
    width: 70px; /* Larger dots */
    height: 70px; /* Larger dots */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3); /* Thicker border */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.nav-dot:hover {
    transform: scale(1.15); /* Increased scale */
    background: rgba(0, 204, 136, 0.4);
    border-color: #00cc88;
}

.nav-dot.active {
    background: linear-gradient(135deg, #00cc88, #00ffaa);
    border-color: #00cc88;
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(0, 204, 136, 0.7); /* Enhanced shadow */
}

.dot-label {
    position: absolute;
    right: 80px; /* Adjusted position */
    background: rgba(0, 0, 0, 0.9);
    padding: 10px 20px; /* Increased padding */
    border-radius: 8px; /* Larger radius */
    font-size: 1rem; /* Larger font */
    font-weight: 600;
    opacity: 0;
    transform: translateX(15px);
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.nav-dot:hover .dot-label {
    opacity: 1;
    transform: translateX(0);
}

.dot-label::after {
    content: '';
    position: absolute;
    right: -6px; /* Adjusted position */
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid rgba(0, 0, 0, 0.9);
}

/* Footer Customization */
.programs-page .footer {
    background: #1a365d;
    margin-top: 0;
}

.programs-page .footer-bottom {
    border-top: 2px solid rgba(255, 255, 255, 0.2); /* Thicker border */
}

/* Responsive Design - Adjusted for Larger Images */
@media (max-width: 1600px) {
    .big-photos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
    
    .photo-item {
        height: 450px; /* Even larger on large screens */
    }
}

@media (max-width: 1200px) {
    .photo-item {
        height: 400px;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .section-icon {
        width: 90px;
        height: 90px;
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .big-photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .photo-item {
        height: 450px; /* Larger on tablet */
    }
    
    .program-navigation {
        display: none;
    }
    
    .section-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .programs-hero {
        padding: 80px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .program-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .program-section {
        padding: 100px 0;
        min-height: auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .big-photos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .photo-item {
        height: 500px; /* Full width large images on mobile */
    }
    
    .section-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .programs-badge {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .program-stats {
        gap: 20px;
    }
    
    .stat {
        flex: 0 0 calc(50% - 20px);
    }
    
    .photo-item {
        height: 400px; /* Slightly smaller on very small screens */
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px); /* Increased distance */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards; /* Slower animation */
}

/* Additional Effects for Large Photos */
.photo-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.05) 50%,
        rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.photo-frame:hover .photo-inner::before {
    opacity: 1;
}
.gradient-orange {
  background: linear-gradient(
    135deg,
    #ff6f00,   /* rich saffron orange */
    #ff8f00,   /* warm orange */
    #ffb300,   /* golden highlight */
    #ff8f00,
    #ff6f00
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: 1px;
  animation: premiumGlow 7s ease infinite;
}

@keyframes premiumGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
