:root {
    --primary-color: #066d5f;
    --secondary-color: #3e92cc;
    --accent-color: #d8315b;
    --text-color: #1e1b18;
    --light-color: #fffaff;
    --gray-color: #f5f5f5;
    --dark-gray: #888;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links ul li {
    margin: 0 1rem;
}

.nav-links ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links ul li a:hover {
    color: var(--secondary-color);
}

.login-btn button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.login-btn button:hover {
    background-color: var(--secondary-color);
}

#openMenu, #closeMenu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 2rem 5%;
    min-height: 80vh;
    background-color: var(--gray-color);
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    color: var(--dark-gray);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    text-decoration: none;
}

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

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    text-decoration: none;
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Location Selector */
.location-selector {
    background-color: white;
    padding: 2rem 5%;
    margin: -2rem 10% 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
}

.location-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.location, .date, .price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.location i, .date i, .price i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.action-buttons {
    display: flex;
    justify-content: space-between;
}

/* Journey Section */
.journey, .milestones {
    padding: 4rem 5%;
    text-align: center;
}

.journey h2, .milestones h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.journey h2 span, .milestones h2 span {
    color: var(--secondary-color);
}

.journey p, .milestones p {
    color: var(--dark-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.journey-cards, .milestone-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.journey-card, .milestone-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.journey-card:hover, .milestone-card:hover {
    transform: translateY(-10px);
}

.journey-card img, .milestone-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 1rem;
    color: white;
    text-align: left;
}

.milestone-details {
    padding: 1rem;
    text-align: left;
}

.milestone-details h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.milestone-meta {
    display: flex;
    justify-content: space-between;
    color: var(--dark-gray);
}

.see-more {
    margin-top: 2rem;
}

.see-more a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.see-more a:hover {
    color: var(--primary-color);
}

/* Blog Section */
.blog {
    padding: 4rem 5%;
    background-color: var(--gray-color);
    text-align: center;
}

.blog h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog p {
    color: var(--dark-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.blog-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-image {
    flex: 1;
}

.blog-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-content {
    flex: 1;
    text-align: left;
}

.blog-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.blog-content p {
    margin-bottom: 2rem;
    text-align: left;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--primary-color);
}

/* CS Corner Section */
.cs-corner {
    display: flex;
    align-items: center;
    padding: 4rem 5%;
    background-color: white;
}

.cs-content {
    flex: 1;
}

.cs-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.cs-content p {
    margin-bottom: 2rem;
    max-width: 600px;
    color: var(--dark-gray);
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.explore-btn:hover {
    background-color: var(--secondary-color);
}

.cs-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cs-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 3rem 5% 1rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.powered-by h3 {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.footer-links h4, .newsletter h4, .app-download h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.subscribe-form {
    display: flex;
    margin-top: 1rem;
}

.subscribe-form input {
    padding: 0.8rem;
    border: none;
    border-radius: 5px 0 0 5px;
    width: 100%;
}

.subscribe-form button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.app-buttons button {
    background-color: #333;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero, .blog-container, .cs-corner {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-content, .blog-content, .cs-content {
        text-align: center;
    }
    
    .hero-content p, .cs-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .location-container {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.5s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links ul li {
        margin: 1rem 0;
    }
    
    #openMenu, #closeMenu {
        display: block;
    }
    
    #closeMenu {
        position: absolute;
        top: 2rem;
        right: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.journey, .milestones, .blog, .cs-corner {
    animation: fadeIn 1s ease-out;
}

/* Phase Pages Styles */
.phase-hero {
    background-color: #f8f9fa;
    padding: 80px 5%;
    text-align: center;
}

.phase-hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.phase-hero-content h1 span {
    color: #3498db;
}

.phase-hero-content p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 30px;
}

.phase-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.phase-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.phase-meta-item i {
    color: #3498db;
}

/* Phase Overview */
.phase-overview {
    padding: 60px 5%;
    background-color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.overview-content {
    margin-bottom: 40px;
}

.overview-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.overview-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.overview-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    min-width: 150px;
}

.stat-item h3 {
    font-size: 36px;
    color: #3498db;
    margin-bottom: 5px;
}

.stat-item p {
    color: #666;
}

/* Gallery Section */
.phase-gallery {
    padding: 60px 5%;
    background-color: #f8f9fa;
    text-align: center;
}

.phase-gallery h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.phase-gallery h2 span {
    color: #3498db;
}

.phase-gallery > .container > p {
    color: #666;
    margin-bottom: 40px;
}

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

.gallery-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-caption {
    padding: 20px;
    text-align: left;
}

.gallery-caption h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.gallery-caption p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Key Learnings Section */
.key-learnings {
    padding: 60px 5%;
    background-color: white;
    text-align: center;
}

.key-learnings h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.key-learnings h2 span {
    color: #3498db;
}

.learnings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.learning-item {
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.learning-item:hover {
    transform: translateY(-5px);
}

.learning-icon {
    font-size: 30px;
    color: #3498db;
    margin-bottom: 15px;
}

.learning-item h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.learning-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Phase Navigation */
.phase-navigation {
    padding: 60px 5%;
    background-color: #f8f9fa;
    text-align: center;
}

.phase-navigation h2 {
    margin-bottom: 30px;
    font-size: 24px;
}

.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-btn.prev {
    background-color: #f1f1f1;
    color: #333;
}

.nav-btn.next {
    background-color: #3498db;
    color: white;
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .phase-hero-content h1 {
        font-size: 32px;
    }
    
    .phase-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .learnings-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-buttons {
        flex-direction: column;
    }
}

/* Add these styles to your existing CSS file */

/* Work Data Hero Section */
.work-data-hero {
    background-color: #f8f9fa;
}

/* Data Categories Section */
.data-categories {
    padding: 60px 5%;
    text-align: center;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 15px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #e0e0e0;
}

.filter-btn.active {
    background-color: #3498db;
    color: white;
}

/* Data Files Section */
.data-files {
    padding: 20px 5% 60px;
}

.files-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.file-card {
    display: flex;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.file-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.file-icon {
    font-size: 30px;
    color: #3498db;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.file-details {
    flex: 1;
}

.file-details h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.file-details p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.file-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #888;
}

.file-actions {
    display: flex;
    align-items: center;
}

.download-btn {
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #2980b9;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background-color: #f1f1f1;
}

.page-btn.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

/* Data Request Section */
.data-request {
    padding: 60px 5%;
    background-color: #f8f9fa;
}

.request-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.request-content {
    flex: 1;
}

.request-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.request-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.request-form input,
.request-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.request-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .files-container {
        grid-template-columns: 1fr;
    }
    
    .request-container {
        flex-direction: column;
    }
    
    .file-card {
        flex-direction: column;
    }
    
    .file-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .file-actions {
        margin-top: 15px;
    }
}

/* Remove text decoration from milestone card links */
.milestone-card a {
    text-decoration: none;
    color: inherit;
}

/* Remove text decoration from download buttons in work data page */
.download-btn {
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.file-actions a {
    text-decoration: none;
}


/* Journey Gallery Page Styles */

/* Gallery Hero Section */
.gallery-hero {
    background-color: #f8f9fa;
    padding: 80px 5%;
    text-align: center;
}

.gallery-hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.gallery-hero-content h1 span {
    color: #3498db;
}

.gallery-hero-content p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Gallery Filters */
.gallery-filters {
    padding: 30px 5%;
    background-color: white;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #e0e0e0;
}

.filter-btn.active {
    background-color: #3498db;
    color: white;
}

/* Photo Gallery */
.photo-gallery {
    padding: 20px 5% 60px;
    background-color: #f8f9fa;
}

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

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

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

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    opacity: 0;
}

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

.overlay-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.overlay-content p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

/* Gallery Quote */
.gallery-quote {
    padding: 60px 5%;
    background-color: white;
    text-align: center;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-content i {
    font-size: 30px;
    color: #3498db;
    margin-bottom: 20px;
}

.quote-content p {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    font-style: italic;
    margin-bottom: 20px;
}

.quote-content span {
    color: #666;
    font-size: 16px;
}

/* Gallery CTA */
.gallery-cta {
    padding: 60px 5%;
    background-color: #f8f9fa;
    text-align: center;
}

.gallery-cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.gallery-cta h2 span {
    color: #3498db;
}

.gallery-cta p {
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

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

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }
.gallery-item:nth-child(9) { animation-delay: 0.9s; }
.gallery-item:nth-child(10) { animation-delay: 1.0s; }
.gallery-item:nth-child(11) { animation-delay: 1.1s; }
.gallery-item:nth-child(12) { animation-delay: 1.2s; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-hero-content h1 {
        font-size: 32px;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Tech Exploration Page Styles */

/* Tech Page General */
.tech-page {
    background-color: #f8f9fa;
}

.tech-page h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.tech-page h2 span {
    color: #3498db;
}

.section-desc {
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

/* Tech Hero Section */
.tech-hero {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tech-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.tech-hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-hero-content h1 span {
    color: #3498db;
}

.tech-hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.tech-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.tech-stat {
    text-align: center;
}

.tech-stat span {
    font-size: 36px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    color: #3498db;
}

.tech-stat p {
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
}

/* Tech Approach Section */
.tech-approach {
    padding: 80px 5%;
    background-color: white;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.approach-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

.approach-icon {
    font-size: 30px;
    color: #3498db;
    margin-bottom: 20px;
}

.approach-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.approach-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    z-index: 2;
    position: relative;
}

.approach-number {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 60px;
    font-weight: 700;
    color: rgba(52, 152, 219, 0.1);
    z-index: 1;
}

/* Tech Showcase Section */
.tech-showcase {
    padding: 80px 5%;
    background-color: #f8f9fa;
}

.showcase-tabs {
    margin-top: 40px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 25px;
    background-color: white;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: #e0e0e0;
}

.tab-btn.active {
    background-color: #3498db;
    color: white;
}

.tab-content {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tab-inner {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .tab-inner {
        flex-direction: row;
    }
}

.tab-image {
    flex: 1;
}

.tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 400px;
}

.tab-details {
    flex: 1;
    padding: 30px;
}

.tab-details h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.tab-details p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tab-details ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.tab-details li {
    margin-bottom: 8px;
    color: #666;
}

.tech-used {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-used span {
    background-color: #f1f1f1;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #333;
}

.project-impact {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
}

.project-impact h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #3498db;
}

.project-impact p {
    font-size: 14px;
    margin: 0;
}

/* Tech Skills Section */
.tech-skills {
    padding: 80px 5%;
    background-color: white;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.skill-category h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-bar {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-progress {
    height: 8px;
    background-color: #f1f1f1;
    border-radius: 10px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background-color: #3498db;
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease;
}

/* Tech Timeline Section */
.tech-timeline {
    padding: 80px 5%;
    background-color: #f8f9fa;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #3498db;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 16px;
    height: 16px;
    background-color: #3498db;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    position: relative;
    width: calc(50% - 30px);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    left: calc(50% + 30px);
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background-color: #3498db;
    color: white;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.timeline-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.timeline-icon {
    position: absolute;
    top: 20px;
    width: 40px;
    height: 40px;
    background-color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -50px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -50px;
}

/* Tech Contact Section */
.tech-contact {
    padding: 80px 5%;
    background-color: white;
}

.tech-contact .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .tech-contact .container {
        flex-direction: row;
    }
}

.contact-content {
    flex: 1;
}

.contact-content h2 {
    margin-bottom: 15px;
}

.contact-content p {
    color: #666;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.contact-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Adjustments for Tech Page */
@media (max-width: 768px) {
    .tech-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 50px);
        left: 50px !important;
    }
    
    .timeline-icon {
        display: none;
    }
}


/* Coming Soon Page Styles */
.coming-soon {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 5%;
    background-color: #f8f9fa;
    text-align: center;
}

.coming-soon-content {
    max-width: 800px;
    margin-bottom: 40px;
}

.coming-soon h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.coming-soon h1 span {
    color: #3498db;
}

.coming-soon p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.countdown-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    min-width: 80px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.countdown-item span {
    font-size: 32px;
    font-weight: 700;
    color: #3498db;
    display: block;
}

.countdown-item p {
    font-size: 14px;
    margin: 5px 0 0;
    color: #666;
}

.notify-container {
    margin-bottom: 40px;
}

.notify-container p {
    margin-bottom: 15px;
}

.notify-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.notify-form input {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    min-width: 250px;
    font-family: 'Poppins', sans-serif;
}

.notify-form input:focus {
    outline: none;
    border-color: #3498db;
}

.back-home {
    margin-top: 30px;
}

/* Animation Circles */
.coming-soon-animation {
    margin-top: 30px;
}

.circle-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.7;
}

.circle-1 {
    width: 100px;
    height: 100px;
    background-color: rgba(52, 152, 219, 0.3);
    top: 0;
    left: 50px;
    animation: pulse 2s infinite alternate;
}

.circle-2 {
    width: 70px;
    height: 70px;
    background-color: rgba(52, 152, 219, 0.5);
    top: 65px;
    left: 20px;
    animation: pulse 2.5s infinite alternate-reverse;
}

.circle-3 {
    width: 85px;
    height: 85px;
    background-color: rgba(52, 152, 219, 0.4);
    top: 65px;
    right: 20px;
    animation: pulse 3s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .countdown-container {
        flex-wrap: wrap;
    }
    
    .coming-soon h1 {
        font-size: 36px;
    }
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .hero, .cs-corner {
        flex-direction: column;
    }
    
    .hero-content, .cs-content, .hero-image, .cs-image {
        width: 100%;
        text-align: center;
    }
    
    .hero-image img, .cs-image img {
        max-width: 80%;
        margin: 30px auto 0;
    }
    
    .journey-cards, .milestone-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-links {
        position: fixed;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        background: white;
        text-align: left;
        z-index: 999;
        transition: 0.5s;
        padding-top: 60px;
    }
    
    .nav-links ul li {
        display: block;
        margin: 25px 20px;
    }
    
    .nav-links ul li a {
        color: #333;
    }
    
    .fa-times, .fa-bars {
        display: block;
        color: #333;
        font-size: 22px;
        cursor: pointer;
    }
    
    .fa-times {
        position: absolute;
        top: 25px;
        left: 25px;
        color: #333;
    }
    
    .location-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .blog-container {
        flex-direction: column;
    }
    
    .blog-image, .blog-content {
        width: 100%;
    }
    
    .blog-image {
        height: 250px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons a {
        margin: 10px 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .journey-cards, .milestone-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Add this to your existing CSS */
img {
    max-width: 100%;
    height: auto;
}



/* Gallery Page Additional Styles */

/* Gallery Hero Section */
.gallery-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/main.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 5%;
}

.gallery-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.gallery-hero h1 span {
    color: #3498db;
}

.gallery-hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Gallery Filters */
.gallery-filters {
    padding: 30px 5%;
    background-color: white;
    text-align: center;
}

.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #f8f9fa;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #e0e0e0;
}

.filter-btn.active {
    background-color: #3498db;
    color: white;
}

/* Photo Gallery */
.photo-gallery {
    padding: 0 5% 60px;
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s 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));
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-overlay h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

/* Gallery Stories Section */
.gallery-stories {
    padding: 80px 5%;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-desc {
    text-align: center;
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
}

.stories-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.story-card {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.story-image {
    flex: 1;
    min-height: 300px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    flex: 1;
    padding: 30px;
}

.story-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.story-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Gallery Reflections Section */
.gallery-reflections {
    padding: 80px 5%;
    background-color: white;
}

.reflection-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.reflection-content {
    flex: 1.5;
}

.reflection-content blockquote {
    font-size: 20px;
    font-style: italic;
    color: #333;
    border-left: 4px solid #3498db;
    padding-left: 20px;
    margin-bottom: 20px;
}

.reflection-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.reflection-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.reflection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery CTA Section */
.gallery-cta {
    padding: 80px 5%;
    background-color: #f8f9fa;
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Responsive Adjustments for Gallery Page */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .story-card {
        flex-direction: column;
    }
    
    .story-image {
        height: 200px;
    }
    
    .reflection-container {
        flex-direction: column-reverse;
    }
    
    .reflection-image {
        margin-bottom: 30px;
        max-height: 300px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-hero h1 {
        font-size: 32px;
    }
}


/* Blog/Impact Diaries Page Styles */
.blog-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/main.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 5%;
}

.blog-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.blog-hero h1 span {
    color: #3498db;
}

.blog-hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Blog Categories */
.blog-categories {
    padding: 30px 0;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.category-tab {
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.category-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.category-tab:hover::after,
.category-tab.active::after {
    width: 80%;
}

.category-tab.active {
    color: #3498db;
    font-weight: 500;
}

/* Featured Post */
.featured-post {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.featured-post-container {
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.featured-post-image {
    flex: 1;
    height: 400px;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post-content {
    flex: 1;
    padding: 40px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.post-category {
    color: #3498db;
    font-weight: 500;
}

.post-date {
    color: #666;
}

.featured-post-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.featured-post-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Blog Posts Grid */
.blog-posts {
    padding: 60px 0;
    background-color: white;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.post-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-10px);
}

.post-image {
    height: 200px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

.post-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.post-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: #3498db;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 10px;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.newsletter-container {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.newsletter-content {
    flex: 1;
}

.newsletter-content h2 {
    margin-bottom: 15px;
}

.newsletter-content h2 span {
    color: #3498db;
}

.newsletter-content p {
    color: #666;
}

.newsletter-form {
    flex: 1;
}

.newsletter-form form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #3498db;
}

/* Responsive Adjustments for Blog Page */
@media (max-width: 992px) {
    .featured-post-container {
        flex-direction: column;
    }
    
    .featured-post-image {
        width: 100%;
        height: 300px;
    }
    
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .newsletter-container {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-hero h1 {
        font-size: 32px;
    }
    
    .category-tabs {
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
}

/* Blog Post Page Styles */
.blog-post-header {
    padding: 80px 0 40px;
    background-color: #f8f9fa;
    text-align: center;
}

.blog-post-header h1 {
    font-size: 36px;
    margin: 15px 0 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.post-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 16px;
    margin: 0;
}

.author-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.blog-post-content {
    padding: 40px 0 80px;
    background-color: white;
}

.post-image-full {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.post-image-full img {
    width: 100%;
    height: auto;
    display: block;
}

.post-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #333;
}

.post-intro {
    font-size: 20px;
    color: #555;
    margin-bottom: 30px;
    font-weight: 300;
}

.post-body h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: #333;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body blockquote {
    border-left: 4px solid #3498db;
    padding: 15px 20px;
    margin: 30px 0;
    background-color: #f8f9fa;
    font-style: italic;
    color: #555;
}

.post-body ul {
    margin: 20px 0;
    padding-left: 20px;
}

.post-body ul li {
    margin-bottom: 10px;
}

.post-image-inline {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.post-image-inline img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    background-color: #f8f9fa;
    padding: 10px 15px;
    font-size: 14px;
    color: #666;
    text-align: center;
    margin: 0;
}

.post-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.post-tags span {
    font-weight: 500;
}

.post-tags a {
    display: inline-block;
    padding: 5px 12px;
    background-color: #f0f0f0;
    border-radius: 30px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background-color: #3498db;
    color: white;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-share span {
    font-weight: 500;
}

.post-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #555;
    transition: all 0.3s ease;
}

.post-share a:hover {
    background-color: #3498db;
    color: white;
}

.related-posts {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

.related-posts h2 span {
    color: #3498db;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Responsive Adjustments for Blog Post */
@media (max-width: 768px) {
    .blog-post-header h1 {
        font-size: 28px;
    }
    
    .post-body h2 {
        font-size: 24px;
    }
    
    .post-intro {
        font-size: 18px;
    }
    
    .post-footer {
        flex-direction: column;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Projects Page Styles */
.projects-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/11.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 5%;
}

.projects-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.projects-hero h1 span {
    color: #3498db;
}

.projects-hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Projects Filter */
.projects-filter {
    padding: 30px 0;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-tab {
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.filter-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.filter-tab:hover::after,
.filter-tab.active::after {
    width: 80%;
}

.filter-tab.active {
    color: #3498db;
    font-weight: 500;
}

/* Featured Project */
.featured-project {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.featured-project-container {
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.featured-project-image {
    flex: 1;
    height: 400px;
}

.featured-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-project-content {
    flex: 1;
    padding: 40px;
}

.project-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.badge.tech {
    background-color: #e3f2fd;
    color: #1976d2;
}

.badge.fellowship {
    background-color: #e8f5e9;
    color: #388e3c;
}

.badge.completed {
    background-color: #e8f5e9;
    color: #388e3c;
}

.badge.ongoing {
    background-color: #fff8e1;
    color: #ffa000;
}

.badge.upcoming {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.featured-project-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.featured-project-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.meta-item i {
    color: #3498db;
}

/* Projects Grid */
.projects-grid {
    padding: 60px 0;
    background-color: white;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    height: 200px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.project-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.read-more {
    color: #3498db;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.read-more:hover {
    gap: 10px;
}

/* Project Stats */
.project-stats {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.project-stats h2 {
    margin-bottom: 40px;
}

.project-stats h2 span {
    color: #3498db;
}

.stats-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    text-align: center;
    min-width: 200px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: #666;
}

/* Project CTA */
.project-cta {
    padding: 60px 0;
    background-color: white;
}

.cta-container {
    background-color: #3498db;
    border-radius: 10px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.cta-content {
    max-width: 60%;
}

.cta-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: white;
}

.cta-content p {
    opacity: 0.9;
}

.project-cta .primary-btn {
    background-color: white;
    color: #3498db;
}

.project-cta .primary-btn:hover {
    background-color: #f8f9fa;
}

/* Responsive Adjustments for Projects Page */
@media (max-width: 992px) {
    .featured-project-container {
        flex-direction: column;
    }
    
    .featured-project-image {
        width: 100%;
        height: 300px;
    }
    
    .projects-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .cta-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-item {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .projects-container {
        grid-template-columns: 1fr;
    }
    
    .projects-hero h1 {
        font-size: 32px;
    }
    
    .filter-tabs {
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
}


/* Coming Soon Page Styles */
.coming-soon {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.coming-soon-content {
    max-width: 700px;
    margin: 0 auto;
}

.coming-soon-content i {
    font-size: 60px;
    color: #3498db;
    margin-bottom: 20px;
}

.coming-soon-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.coming-soon-content h1 span {
    color: #3498db;
}

.coming-soon-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.countdown-item {
    min-width: 80px;
}

.countdown-number {
    font-size: 36px;
    font-weight: 700;
    color: #3498db;
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
}

.countdown-label {
    font-size: 14px;
    color: #666;
}

/* Project Details Page Styles */
.project-header {
    padding: 80px 0 40px;
    background-color: #f8f9fa;
    text-align: center;
}

.project-header h1 {
    font-size: 36px;
    margin: 15px 0 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.project-meta-header {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.project-content {
    padding: 40px 0 80px;
    background-color: white;
}

.project-image-full {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.project-image-full img {
    width: 100%;
    height: auto;
    display: block;
}

.project-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #333;
}

.project-intro {
    font-size: 20px;
    color: #555;
    margin-bottom: 30px;
    font-weight: 300;
}

.project-body h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: #333;
}

.project-body p {
    margin-bottom: 20px;
}

.project-body ul, .project-body ol {
    margin: 20px 0;
    padding-left: 20px;
}

.project-body ul li, .project-body ol li {
    margin-bottom: 10px;
}

.project-image-inline {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.project-image-inline img {
    width: 100%;
    height: auto;
    display: block;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    min-width: 100px;
}

.tech-item i {
    font-size: 30px;
    color: #3498db;
}

.project-gallery {
    margin-top: 50px;
}

.project-gallery h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

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

.related-projects {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.related-projects h2 {
    margin-bottom: 40px;
}

.related-projects h2 span {
    color: #3498db;
}

.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .countdown {
        flex-wrap: wrap;
    }
    
    .project-header h1 {
        font-size: 28px;
    }
    
    .project-body h2 {
        font-size: 24px;
    }
    
    .project-intro {
        font-size: 18px;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .tech-stack {
        justify-content: center;
    }
}