/* ==========================================
   KORAPATRAM WEBSITE
   Version 1.0
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

:root{

    --bg:#07120D;
    --surface:#102019;
    --primary:#1E7C45;
    --accent:#F28C28;
    --text:#F2F2F2;
    --grey:#B8B8B8;
    --border:rgba(255,255,255,.08);

}

body{

    background:var(--bg);

    color:var(--text);

    font-family:'Poppins',sans-serif;

    line-height:1.8;

}

.container{

    width:90%;

    max-width:1250px;

    margin:auto;

}

section{

    padding:100px 0;

}

img{

    max-width:100%;

    display:block;

}

/* ================= HEADER ================= */

header{

    position:sticky;
    top:0;
    z-index:1000;
    backdrop-filter:blur(12px);

}

header .container{

    height:100%;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.logo img{

    height:72px;
    width:auto;
    display:block;
    tansition:0.3s ease;
}

.logo img:hover{
    transform:scale(1.05);
}

nav ul{

    display:flex;

    list-style:none;

    gap:35px;

}

nav a{

    text-decoration:none;

    color:white;

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color:var(--accent);

}

.button{

    background:var(--accent);

    color:#111;

    text-decoration:none;

    padding:14px 28px;

    border-radius:40px;

    font-weight:600;

}

/* ================= HERO ================= */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    background:

    radial-gradient(circle at top,#143926 0%,#07120D 70%);

}

.hero-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:70px;

}

.badge{

    display:inline-block;

    padding:8px 18px;

    border-radius:30px;

    background:#183726;

    color:white;

    font-size:13px;

    letter-spacing:1px;

}

.hero h1{

    font-size:72px;

    line-height:1.1;

    font-weight:700;

    margin:30px 0;

}

.hero h1 span{

    color:var(--accent);

}

.hero p{

    color:var(--grey);

    font-size:18px;

}

.hero-buttons{

    margin-top:45px;

    display:flex;

    gap:20px;

}

.primary-button{

    background:var(--accent);

    color:#111;

    padding:16px 34px;

    border-radius:40px;

    text-decoration:none;

    font-weight:600;

}

.secondary-button{

    border:2px solid var(--accent);

    color:var(--accent);

    padding:16px 34px;

    border-radius:40px;

    text-decoration:none;

}

.hero-logo{

  .hero-logo{
    width:100%;
    max-width:560px;
    display:block;
    margin:auto;
    animation:floatLogo 5s ease-in-out infinite;
    filter:drop-shadow(0 15px 30px rgba(0,0,0,.35));
}

}

/* ==========================================
   SECTION TITLES
========================================== */

.section-title{

    text-align:center;

    max-width:850px;

    margin:0 auto 70px;

}

.section-title h2{

    font-size:44px;

    color:var(--accent);

    margin-bottom:18px;

}

.section-title p{

    color:var(--grey);

    font-size:18px;

}

/* ==========================================
   BEGINNING
========================================== */

#beginning{

    background:#0b1712;

}

/* ==========================================
   FEATURE GRID
========================================== */

.feature-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.feature-card{

    background:var(--surface);

    padding:35px;

    border-radius:20px;

    border:1px solid var(--border);

    transition:.35s ease;

}

.feature-card:hover{

    transform:translateY(-10px);

    border-color:var(--accent);

    box-shadow:0 15px 35px rgba(0,0,0,.30);

}

.feature-card h3{

    color:var(--accent);

    margin-bottom:15px;

}

/* ==========================================
   JOURNEY
========================================== */

.timeline{

    max-width:850px;

    margin:auto;

}

.timeline-item{

    display:flex;

    gap:25px;

    margin-bottom:45px;

    align-items:flex-start;

}

.timeline-dot{

    width:18px;

    height:18px;

    background:#555;

    border-radius:50%;

    margin-top:10px;

}

.timeline-item.completed .timeline-dot{

    background:var(--primary);

}

.timeline-item h3{

    margin-bottom:8px;

}

/* ==========================================
   FOUNDER
========================================== */

.founder-grid{

    display:grid;

    grid-template-columns:1fr 380px;

    gap:60px;

    align-items:start;

}

.founder-left blockquote{

    margin-top:35px;

    padding-left:25px;

    border-left:4px solid var(--accent);

    font-size:22px;

    font-style:italic;

    color:#ffffff;

}

.founder-card{

    background:var(--surface);

    padding:35px;

    border-radius:20px;

    border:1px solid var(--border);

}

.founder-card ul{

    margin-top:20px;

    padding-left:20px;

}

.founder-card li{

    margin-bottom:15px;

}

/* ==========================================
   PARTNERS
========================================== */

.partner-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:25px;

}

.partner-card{

    background:var(--surface);

    padding:35px;

    border-radius:18px;

    text-align:center;

    font-weight:600;

    transition:.35s ease;

    border:1px solid var(--border);

}

.partner-card:hover{

    background:var(--primary);

    transform:translateY(-8px);

}

/* ==========================================
   CONTACT
========================================== */

.contact-form{

    max-width:750px;

    margin:auto;

}

.contact-form input,

.contact-form textarea{

    width:100%;

    padding:18px;

    margin-bottom:20px;

    border:none;

    border-radius:12px;

    background:var(--surface);

    color:white;

    font-size:16px;

}

.contact-form textarea{

    resize:vertical;

}

.contact-form button{

    background:var(--accent);

    color:#111;

    border:none;

    padding:18px 45px;

    border-radius:40px;

    cursor:pointer;

    font-size:16px;

    font-weight:600;

}

/* ==========================================
   FOOTER
========================================== */

footer{

    background:#050b08;

    padding:70px 0;

    text-align:center;

}

.footer-logo{
    width:260px;
    max-width:100%;
    display:block;
    margin:0 auto 20px;

}

.footer-content p{

    color:#bcbcbc;

    margin-top:10px;

}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:900px){

.hero-grid,

.founder-grid{

grid-template-columns:1fr;

}

nav{

display:none;

}

.hero{

text-align:center;

}

.hero-buttons{

justify-content:center;

flex-wrap:wrap;

}

.hero h1{

font-size:46px;

}

section{

padding:70px 0;

}

}

/* ==========================================
   PREMIUM ANIMATIONS
========================================== */

header{

    transition:all .35s ease;

}

.logo img{
    height:78px;
    transition:all .35s ease;

}

.logo img:hover{

    transform:scale(1.08) rotate(-2deg);

}

.hero-logo{

    animation:floatLogo 5s ease-in-out infinite;

}

@keyframes floatLogo{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0px);

    }

}

.primary-button,

.secondary-button,

.button{

    transition:all .35s ease;

}

.primary-button:hover,

.button:hover{

    transform:translateY(-4px);

    box-shadow:0 14px 35px rgba(242,140,40,.35);

}

.secondary-button:hover{

    background:var(--accent);

    color:#111;

}

.feature-card,

.partner-card,

.founder-card{

    transition:all .35s ease;

}

.feature-card:hover,

.partner-card:hover,

.founder-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,0,0,.30);

}

@keyframes floatLogo{

0%{

transform:translateY(0px);

}

50%{

transform:translateY(-10px);

}

100%{

transform:translateY(0px);

}

}

/* ===========================
   RESEARCH SECTION
=========================== */

.research{

padding:100px 8%;

background:#081812;

}

.research h2{

font-size:48px;

text-align:center;

color:#ffffff;

margin-bottom:20px;

}

.section-subtitle{

max-width:800px;

margin:0 auto 70px;

text-align:center;

color:#cfcfcf;

font-size:18px;

line-height:1.8;

}

.research-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:30px;

}

.research-card{

background:#10251d;

padding:35px;

border-radius:18px;

transition:.35s ease;

border:1px solid rgba(255,255,255,.08);

}

.research-card:hover{

transform:translateY(-8px);

border-color:#F59E42;

}

.research-card h3{

color:#F59E42;

margin-bottom:18px;

}

.research-card p{

color:#d8d8d8;

line-height:1.8;

}

/* ===========================
   JOURNEY
=========================== */

.journey{

padding:100px 8%;

background:#06130f;

}

.timeline{

max-width:900px;

margin:60px auto;

border-left:3px solid #F59E42;

padding-left:35px;

}

.timeline-item{

position:relative;

padding-bottom:50px;

}

.circle{

position:absolute;

left:-46px;

top:4px;

width:18px;

height:18px;

border-radius:50%;

background:#777;

}

.timeline-item.active .circle{

background:#F59E42;

box-shadow:0 0 20px rgba(245,158,66,.6);

}

.timeline-item h3{

color:#ffffff;

margin-bottom:8px;

}

.timeline-item p{

color:#cfcfcf;

line-height:1.7;

}

/* =====================================
   SCROLL REVEAL
===================================== */

.reveal{

opacity:0;

transform:translateY(60px);

transition:all .9s ease;

}

.reveal.active{

opacity:1;

transform:translateY(0);

}

/* =====================================
   PREMIUM CARD EFFECT
===================================== */

.feature-card,
.research-card,
.partner-card,
.founder-card{

transition:
transform .35s ease,
box-shadow .35s ease,
border-color .35s ease;

}

.feature-card:hover,
.research-card:hover,
.partner-card:hover,
.founder-card:hover{

transform:translateY(-12px);

border-color:#F59E42;

box-shadow:
0 18px 45px rgba(0,0,0,.35),
0 0 25px rgba(245,158,66,.20);

}

/* =====================================
   TIMELINE
===================================== */

.timeline-item{

opacity:.45;

transform:translateX(-35px);

transition:.7s ease;

}

.timeline-item.active{

opacity:1;

transform:translateX(0);

}

.circle{

transition:.45s;

}

.timeline-item.active .circle{

transform:scale(1.25);

box-shadow:0 0 18px #F59E42;

}

/* =========================================
   PREMIUM BUTTONS
========================================= */

.primary-button,
.secondary-button,
.button,
.contact-form button{

position:relative;

overflow:hidden;

transition:.35s ease;

}

.primary-button:hover,
.button:hover,
.contact-form button:hover{

transform:translateY(-5px);

box-shadow:0 18px 40px rgba(245,158,66,.35);

}

.secondary-button:hover{

background:#F59E42;

color:#07120D;

}

/* =========================================
   FLOATING LOGO
========================================= */

.hero-logo{

animation:floating 6s ease-in-out infinite;

}

@keyframes floating{

0%{

transform:translateY(0px);

}

50%{

transform:translateY(-12px);

}

100%{

transform:translateY(0px);

}

}

/* =========================================
   LOADER
========================================= */

#loader{

position:fixed;

left:0;

top:0;

width:100%;

height:100%;

background:#07120D;

display:flex;

justify-content:center;

align-items:center;

z-index:99999;

transition:.6s ease;

}

.loader-circle{

width:70px;

height:70px;

border-radius:50%;

border:6px solid rgba(255,255,255,.15);

border-top-color:#F59E42;

animation:spin 1s linear infinite;

}

@keyframes spin{

100%{

transform:rotate(360deg);

}
}
/* =========================================
   BACK TO TOP
========================================= */

#topBtn{

position:fixed;

right:30px;

bottom:30px;

width:52px;

height:52px;

border:none;

border-radius:50%;

background:#F59E42;

color:#07120D;

font-size:22px;

font-weight:bold;

cursor:pointer;

display:none;

z-index:999;

transition:.35s ease;

box-shadow:0 10px 25px rgba(0,0,0,.25);

}

#topBtn:hover{

transform:translateY(-5px);

}

