@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fafafa;
}

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

/* ===== HEADER ===== */
header {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

nav {
    display: flex;
    gap: 10px;
}

nav a {
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00a651, #00c864);
    transition: width 0.3s ease;
    border-radius: 2px;
}

nav a:hover {
    color: #00a651;
    background: rgba(0, 166, 81, 0.08);
}

nav a:hover::after {
    width: 50%;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: url("background.png") center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 50, 30, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 35px;
    opacity: 0.95;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #00a651 0%, #00c864 100%);
    padding: 16px 40px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 166, 81, 0.4);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 166, 81, 0.5);
}

.btn:active {
    transform: translateY(-1px);
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section h2 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 50px;
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    position: relative;
    color: #00c864;
}
.email {
    font-size: 12px;
   } 
.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #00a651, #00c864);
    margin: 20px auto 0;
    border-radius: 2px;
}

.dark h2::after {
    background: linear-gradient(90deg, #00c864, #00e676);
}

.section p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

#about p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ===== DARK SECTION ===== */
.dark {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #f5f5f5;
}

.dark .section p,
.dark p {
    color: #ccc;
}

/* ===== ACTIVITY BLOCKS ===== */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.activity-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.activity-block:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 166, 81, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.activity-block h3 {
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #00c864;
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-block h3::before {
    content: '◆';
    font-size: 0.8rem;
    color: #00a651;
}

.activity-block ul {
    list-style: none;
    padding-left: 0;
}

.activity-block li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: #bbb;
    transition: all 0.2s ease;
}

.activity-block li:last-child {
    border-bottom: none;
}

.activity-block li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00a651;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.activity-block li:hover {
    color: #fff;
    padding-left: 30px;
}

.activity-block li:hover::before {
    transform: translateX(5px);
}

/* ===== CONTACT SECTION ===== */
#contact {
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-grid > div {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #eee;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-grid > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: #00a651;
}

.contact-grid h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #00a651;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-grid p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.contact-grid a {
    color: #00a651;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.contact-grid a:hover {
    color: #008944;
    text-decoration: underline;
}

.closing {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 500;
    margin-top: 30px;
    color: #333;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.08) 0%, rgba(0, 200, 100, 0.05) 100%);
    border-radius: 12px;
    border-left: 4px solid #00a651;
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #888;
    text-align: center;
    padding: 30px;
    font-size: 0.9rem;
}

footer .container {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* ===== ANIMATIONS & SCROLL ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ===== projects ===== */

div.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

div.gallery-item {
  margin: 5px;
  border: 1px solid #ccc;
  width: 180px;
}

div.gallery-item:hover {
  border: 1px solid #777;
}

div.gallery-item img {
  width: 100%;
  height: auto;
}

div.gallery-item div.desc {
  padding: 15px;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    header {
        padding: 12px 0;
    }
    
    nav {
        gap: 5px;
    }
    
    nav a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .activity-block {
        padding: 25px;
    }
    
    .contact-grid > div {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 40px;
    }
    
    nav a {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
}
