/* ==========================
   GLOBAL STYLES
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, sans-serif;
    background:#f4f6f9;
    color:#333;
    animation:fadeIn 0.8s ease-in-out;
}

/* ==========================
   PAGE FADE EFFECT
========================== */

@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(15px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* ==========================
   NAVBAR
========================== */

nav{
    background:#111;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 40px;
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    font-size:26px;
    font-weight:bold;
}

nav ul{
    list-style:none;
    display:flex;
}

nav ul li{
    margin-left:25px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    position:relative;
    transition:0.3s;
}

/* Underline Animation */

nav ul li a::after{

    content:'';
    position:absolute;

    left:0;
    bottom:-5px;

    width:0;
    height:2px;

    background:white;

    transition:0.3s;

}

nav ul li a:hover::after{
    width:100%;
}

nav ul li a:hover{
    color:#00d4ff;
}

/* ==========================
   HERO SECTION
========================== */

.hero{

    height:90vh;

    background:
    linear-gradient(
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.5)
    ),

    url("https://images.unsplash.com/photo-1518770660439-4636190af475");

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;

    text-align:center;
    color:white;
}

.hero h1{
    font-size:60px;
}

.hero p{
    width:70%;
    margin-top:20px;
    font-size:22px;
    line-height:1.6;
}

/* ==========================
   BUTTON
========================== */

.btn{

    display:inline-block;

    margin-top:25px;

    background:white;
    color:#0077ff;

    padding:12px 25px;

    text-decoration:none;
    border-radius:30px;

    font-weight:bold;

    transition:0.3s;
}

.btn:hover{

    transform:scale(1.08);

    box-shadow:
    0 0 15px rgba(255,255,255,0.6);

}

/* ==========================
   CARDS
========================== */

.card,
.tech-card,
.future-card{

    background:white;

    border-radius:15px;

    box-shadow:
    0 0 10px rgba(0,0,0,0.15);

    transition:0.35s;

}

.card:hover,
.tech-card:hover,
.future-card:hover{

    transform:
    translateY(-10px)
    scale(1.02);

    box-shadow:
    0 10px 25px rgba(0,0,0,0.25);

}

/* ==========================
   SECTIONS
========================== */

.info,
.timeline,
.table-section,
.prediction{

    padding:50px;

}

h1,h2,h3{
    margin-bottom:15px;
}

p{
    line-height:1.7;
}

/* ==========================
   IMAGES
========================== */

img{

    max-width:100%;
    display:block;

}

.future-card img{

    width:100%;
    height:220px;

    object-fit:cover;

}

/* ==========================
   TABLES
========================== */

table{

    width:100%;
    border-collapse:collapse;

    margin-top:20px;

}

table,
th,
td{
    border:1px solid #ddd;
}

th{

    background:#0077ff;
    color:white;

}

th,
td{

    padding:12px;
    text-align:center;

}

tr:hover{

    background:#f1f1f1;

}

/* ==========================
   FORMS
========================== */

input,
textarea{

    width:100%;

    padding:12px;

    margin-top:8px;
    margin-bottom:15px;

    border:1px solid #ccc;

    border-radius:8px;

}

button{

    background:#0077ff;

    color:white;

    border:none;

    padding:12px 25px;

    border-radius:8px;

    cursor:pointer;

    transition:0.3s;

}

button:hover{

    background:#005ed1;

    transform:scale(1.05);

}

/* ==========================
   LIVE CLOCK
========================== */

.clock{

    text-align:center;

    font-size:28px;

    font-weight:bold;

    color:#0077ff;

    margin:25px 0;

}

/* ==========================
   FOOTER
========================== */

footer{

    background:#111;

    color:white;

    text-align:center;

    padding:18px;

    margin-top:40px;

}

/* ==========================
   RESPONSIVE DESIGN
========================== */

@media(max-width:768px){

    nav{

        flex-direction:column;

    }

    nav ul{

        flex-direction:column;
        text-align:center;

        margin-top:15px;

    }

    nav ul li{

        margin:10px 0;

    }

    .hero h1{

        font-size:38px;

    }

    .hero p{

        width:90%;
        font-size:18px;

    }

}