/*==================================================
  HOBBYIST DEN - STYLE.CSS
  PART 1
==================================================*/

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#333;
    background:#fff;
    overflow-x:hidden;
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

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

/*==============================
SECTION TITLE
==============================*/

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    display:inline-block;
    color:#2e7d32;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:10px;
}

.section-title h2{
    font-size:42px;
    color:#16341b;
    margin-bottom:15px;
}

.section-title p{
    max-width:700px;
    margin:auto;
    color:#666;
}

/*==============================
BUTTONS
==============================*/

.btn1,
.btn2{
    display:inline-block;
    padding:15px 38px;
    border-radius:40px;
    transition:.4s;
    font-weight:600;
}

.btn1{
    background:#2e7d32;
    color:#fff;
}

.btn1:hover{
    background:#1b5e20;
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.btn2{
    color:#fff;
    border:2px solid #fff;
    margin-left:15px;
}

.btn2:hover{
    background:#fff;
    color:#2e7d32;
}

/*==============================
NAVBAR
==============================*/

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:rgba(0,0,0,.35);
    backdrop-filter:blur(12px);
}

.navbar{
    width:90%;
    max-width:1300px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo img{
    width:55px;
}

.logo h2{
    color:#fff;
    font-size:26px;
}

.nav-links{
    display:flex;
    gap:35px;
}

.nav-links a{
    color:#fff;
    font-weight:500;
    transition:.3s;
    position:relative;
}

.nav-links a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#ffd54f;
    transition:.4s;
}

.nav-links a:hover::after{
    width:100%;
}

.nav-links a:hover{
    color:#ffd54f;
}

.donate-btn{
    padding:12px 28px;
    background:#ffd54f;
    color:#222;
    border-radius:30px;
    font-weight:700;
    transition:.3s;
}

.donate-btn:hover{
    transform:translateY(-3px);
    background:#ffca28;
}

.menu-btn{
    display:none;
    color:#fff;
    font-size:28px;
    cursor:pointer;
}

/*==============================
HERO
==============================*/

.hero{
    position:relative;
    height:100vh;
    background:url("../images/hero.jpg") center/cover no-repeat;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.65));
}

.hero-content{
    position:relative;
    z-index:5;
    width:90%;
    max-width:900px;
    color:#fff;
    animation:fadeUp 1.2s ease;
}

.hero-logo{
    width:140px;
    margin:auto;
    margin-bottom:25px;
    animation:float 4s infinite ease-in-out;
}

.hero h1{
    font-size:65px;
    line-height:1.2;
    margin-bottom:20px;
    font-weight:700;
}

.hero p{
    font-size:20px;
    color:#eee;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
}

/*==============================
SCROLL DOWN
==============================*/

.scroll-down{
    position:absolute;
    bottom:30px;
    left:50%;
    transform:translateX(-50%);
    color:#fff;
    font-size:32px;
    animation:bounce 2s infinite;
    z-index:9;
}

/*==============================
ANIMATIONS
==============================*/

@keyframes float{

0%,100%{
transform:translateY(0);
}

50%{
transform:translateY(-15px);
}

}

@keyframes bounce{

0%,20%,50%,80%,100%{
transform:translate(-50%,0);
}

40%{
transform:translate(-50%,-14px);
}

60%{
transform:translate(-50%,-8px);
}

}

@keyframes fadeUp{

from{
opacity:0;
transform:translateY(50px);
}

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

}

/*==============================
SECTION SPACING
==============================*/

section{
    padding:100px 0;
}
/*==================================================
PART 2
ABOUT • SERVICES • WHY CHOOSE US • STATISTICS
==================================================*/

/*==============================
ABOUT SECTION
==============================*/

.about{
    background:#f8faf8;
}

.about .container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.about-image img{
    width:100%;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
    transition:.5s;
}

.about-image img:hover{
    transform:scale(1.03);
}

.section-tag{
    display:inline-block;
    background:#2e7d32;
    color:#fff;
    padding:8px 20px;
    border-radius:30px;
    font-size:14px;
    letter-spacing:1px;
    margin-bottom:20px;
}

.about-content h2{
    font-size:42px;
    color:#16341b;
    margin-bottom:25px;
}

.about-content p{
    color:#666;
    margin-bottom:20px;
    text-align:justify;
}

/*==============================
SERVICES
==============================*/

.services{
    background:#fff;
}

.service-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.service-card{
    background:#fff;
    padding:40px 30px;
    border-radius:18px;
    text-align:center;
    transition:.4s;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    border-top:5px solid transparent;
}

.service-card:hover{
    transform:translateY(-12px);
    border-top:5px solid #2e7d32;
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.service-card i{
    font-size:55px;
    color:#2e7d32;
    margin-bottom:20px;
}

.service-card h3{
    margin-bottom:15px;
    color:#16341b;
    font-size:24px;
}

.service-card p{
    color:#666;
}

/*==============================
WHY CHOOSE US
==============================*/

.why-us{
    background:#f5f9f5;
}

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

.why-box{
    background:#fff;
    padding:40px 25px;
    text-align:center;
    border-radius:18px;
    transition:.4s;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.why-box:hover{
    transform:translateY(-10px);
    background:#2e7d32;
    color:#fff;
}

.why-box:hover h3,
.why-box:hover p,
.why-box:hover i{
    color:#fff;
}

.why-box i{
    font-size:52px;
    color:#2e7d32;
    margin-bottom:18px;
    transition:.3s;
}

.why-box h3{
    margin-bottom:15px;
    color:#16341b;
}

.why-box p{
    color:#666;
}

/*==============================
STATISTICS
==============================*/

.stats{
    background:linear-gradient(rgba(21,63,25,.92),
    rgba(21,63,25,.92)),
    url("../images/stats.jpg") center/cover;
    color:#fff;
}

.stats .section-title span,
.stats .section-title h2{
    color:#fff;
}

.stats-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

.stat-box{
    text-align:center;
    padding:45px 20px;
    border-radius:18px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(10px);
    transition:.4s;
}

.stat-box:hover{
    transform:translateY(-10px);
    background:rgba(255,255,255,.15);
}

.stat-box i{
    font-size:55px;
    color:#ffd54f;
    margin-bottom:20px;
}

.stat-box h2{
    font-size:52px;
    margin-bottom:10px;
    font-weight:700;
}

.stat-box p{
    font-size:18px;
    letter-spacing:1px;
}
/*==================================================
PART 3
GALLERY • PARTNERS • CTA • CONTACT • MAP
==================================================*/

/*==============================
GALLERY
==============================*/

.gallery{
    background:#ffffff;
}

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

.gallery-item{
    overflow:hidden;
    border-radius:18px;
    box-shadow:0 12px 30px rgba(0,0,0,.12);
    cursor:pointer;
    position:relative;
}

.gallery-item img{
    width:100%;
    height:300px;
    object-fit:cover;
    transition:.6s;
}

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

.gallery-item::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(46,125,50,.25);
    opacity:0;
    transition:.4s;
}

.gallery-item:hover::after{
    opacity:1;
}

/*==============================
PARTNERS
==============================*/

.partners{
    background:#f7faf7;
}

.partner-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.partner-card{
    background:#fff;
    border-radius:18px;
    padding:35px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s;
}

.partner-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.partner-card h3{
    color:#2e7d32;
    margin-bottom:20px;
    font-size:24px;
}

.partner-card ul li{
    padding:12px 0;
    border-bottom:1px solid #eee;
    color:#555;
}

.partner-card ul li:last-child{
    border-bottom:none;
}

/*==============================
CALL TO ACTION
==============================*/

.cta{
    position:relative;
    background:url("../images/cta.jpg") center/cover;
    padding:130px 0;
    text-align:center;
    color:#fff;
}

.cta-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.65);
}

.cta-content{
    position:relative;
    z-index:2;
    width:90%;
    max-width:900px;
    margin:auto;
}

.cta-content h2{
    font-size:52px;
    margin-bottom:20px;
}

.cta-content p{
    font-size:20px;
    color:#eee;
    margin-bottom:35px;
}

/*==============================
CONTACT
==============================*/

.contact{
    background:#fff;
}

.contact-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:flex-start;
}

.contact-info h3{
    font-size:32px;
    color:#16341b;
    margin-bottom:25px;
}

.contact-info p{
    margin-bottom:18px;
    color:#555;
}

.contact-info i{
    color:#2e7d32;
    width:30px;
    font-size:18px;
}

.contact-form{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.10);
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:16px;
    margin-bottom:18px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
    outline:none;
    transition:.3s;
    font-family:'Poppins',sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:#2e7d32;
    box-shadow:0 0 10px rgba(46,125,50,.2);
}

.contact-form textarea{
    resize:none;
}

.contact-form button{
    border:none;
    cursor:pointer;
}

/*==============================
MAP
==============================*/

.map iframe{
    width:100%;
    height:450px;
    border:none;
}
/*==================================================
PART 4
FOOTER • WHATSAPP • SCROLL TOP • RESPONSIVE
==================================================*/

/*==============================
FOOTER
==============================*/

footer{
    background:#16341b;
    color:#fff;
    padding:80px 0 20px;
}

.footer-container{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.footer-col h2,
.footer-col h3{
    margin-bottom:20px;
    color:#ffd54f;
}

.footer-col p{
    color:#ddd;
    line-height:1.8;
}

.footer-col a{
    display:block;
    color:#ddd;
    margin-bottom:12px;
    transition:.3s;
}

.footer-col a:hover{
    color:#ffd54f;
    padding-left:8px;
}

.footer-col input{
    width:100%;
    padding:14px;
    border:none;
    border-radius:8px;
    margin-bottom:15px;
    font-size:15px;
}

.footer-col button{
    border:none;
    cursor:pointer;
}

footer hr{
    border:none;
    height:1px;
    background:rgba(255,255,255,.15);
    width:90%;
    margin:50px auto 20px;
}

.copyright{
    text-align:center;
    color:#bbb;
    font-size:15px;
}

/*==============================
WHATSAPP BUTTON
==============================*/

.whatsapp{
    position:fixed;
    right:25px;
    bottom:95px;
    width:60px;
    height:60px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:32px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    z-index:999;
    transition:.3s;
}

.whatsapp:hover{
    transform:scale(1.1);
}

/*==============================
SCROLL TO TOP
==============================*/

#topBtn{
    position:fixed;
    bottom:25px;
    right:25px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#2e7d32;
    color:#fff;
    font-size:20px;
    cursor:pointer;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    transition:.3s;
    z-index:999;
}

#topBtn:hover{
    background:#1b5e20;
    transform:translateY(-5px);
}

/*==============================
RESPONSIVE 992px
==============================*/

@media(max-width:992px){

.hero h1{
    font-size:48px;
}

.hero p{
    font-size:18px;
}

.about .container,
.contact-container{
    grid-template-columns:1fr;
}

.section-title h2{
    font-size:34px;
}

.cta-content h2{
    font-size:40px;
}

}

/*==============================
RESPONSIVE 768px
==============================*/

@media(max-width:768px){

.nav-links,
.donate-btn{
    display:none;
}

.menu-btn{
    display:block;
}

.hero{
    height:90vh;
}

.hero-logo{
    width:110px;
}

.hero h1{
    font-size:38px;
}

.hero p{
    font-size:16px;
}

.hero-buttons{
    flex-direction:column;
    gap:15px;
}

.btn2{
    margin-left:0;
}

.section-title h2{
    font-size:30px;
}

.about-content h2{
    font-size:32px;
}

.cta-content h2{
    font-size:34px;
}

.contact-form{
    padding:25px;
}

.footer-container{
    text-align:center;
}

}

/*==============================
RESPONSIVE 480px
==============================*/

@media(max-width:480px){

.navbar{
    padding:15px 0;
}

.logo img{
    width:45px;
}

.logo h2{
    font-size:20px;
}

.hero{
    padding-top:70px;
}

.hero h1{
    font-size:30px;
}

.hero p{
    font-size:15px;
}

.btn1,
.btn2{
    width:100%;
    text-align:center;
}

.section-title h2{
    font-size:26px;
}

.stat-box h2{
    font-size:40px;
}

.cta-content h2{
    font-size:28px;
}

.whatsapp{
    width:55px;
    height:55px;
    font-size:28px;
}

#topBtn{
    width:50px;
    height:50px;
}

}
/*=========================================
PREMIUM EFFECTS
=========================================*/

/* Smooth fade animation */

.fade-up{
    opacity:0;
    transform:translateY(60px);
    transition:all .8s ease;
}

.fade-up.show{
    opacity:1;
    transform:translateY(0);
}

/* Floating cards */

.service-card,
.partner-card,
.why-box,
.stat-box{
    position:relative;
    overflow:hidden;
}

.service-card::before,
.partner-card::before,
.why-box::before,
.stat-box::before{

    content:'';

    position:absolute;

    top:-100%;

    left:-100%;

    width:250%;

    height:250%;

    background:linear-gradient(
        45deg,
        transparent,
        rgba(255,255,255,.15),
        transparent
    );

    transform:rotate(25deg);

    transition:1s;

}

.service-card:hover::before,
.partner-card:hover::before,
.why-box:hover::before,
.stat-box:hover::before{

    top:100%;

    left:100%;

}

/* Image hover */

.about-image,
.gallery-item{

    overflow:hidden;

}

.about-image img,
.gallery-item img{

    transition:.7s;

}

.about-image:hover img,
.gallery-item:hover img{

    transform:scale(1.08);

}

/* Buttons */

.btn1,
.btn2,
.donate-btn{

    position:relative;

    overflow:hidden;

}

.btn1::before,
.btn2::before,
.donate-btn::before{

    content:'';

    position:absolute;

    top:0;

    left:-120%;

    width:120%;

    height:100%;

    background:rgba(255,255,255,.25);

    transform:skewX(-25deg);

    transition:.6s;

}

.btn1:hover::before,
.btn2:hover::before,
.donate-btn:hover::before{

    left:130%;

}
