/* ========================================
   COBY TRANSPORT
   Modern Responsive CSS
======================================== */

/* ===== RESET ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0b0b0b;
    color: #ffffff;
    line-height: 1.7;
}

/* ===== VARIABLES ===== */

:root {
    --primary: #1f8fff;
    --primary-hover: #46a5ff;
    --dark: #0b0b0b;
    --card: rgba(255,255,255,0.05);
    --border: rgba(255,255,255,0.08);
    --text: #d5d5d5;
    --heading: #ffffff;
    --shadow: 0 15px 40px rgba(0,0,0,.45);
    --radius: 18px;
}

/* ===== CONTAINER ===== */

.container {
    width: min(1100px, 92%);
    margin: auto;
}

/* ===== HEADER ===== */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11,11,11,.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.05);
    z-index: 999;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo img {
    height: 70px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: .3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

/* ===== BUTTONS ===== */

.btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg,#1f8fff,#0072ff);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: .35s;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(31,143,255,.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: black;
}

.btn-nav {
    padding: 12px 24px;
}

/* ===== HERO ===== */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    background:
        linear-gradient(rgba(11,11,11,.85),
        rgba(11,11,11,.95)),
        url("images/hero.jpg");

    background-size: cover;
    background-position: center;
}

.hero-content {
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 650px;
}

.tagline {
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: .9rem;
}

.hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: 4rem;
    margin: 20px 0;
    line-height: 1.1;
}

.hero p {
    color: var(--text);
    font-size: 1.2rem;
    max-width: 550px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* ===== SECTIONS ===== */

section {
    padding: 100px 0;
}

section h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 20px;
    font-family: 'Sora', sans-serif;
}

.section-intro {
    text-align: center;
    color: var(--text);
    max-width: 700px;
    margin: auto auto 60px;
}

/* ===== FEATURE CARDS ===== */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 25px;
    margin-top: 60px;
}

.feature-card {
    background: var(--card);
    padding: 35px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    transition: .35s;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text);
}

/* ===== SERVICES ===== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: #151515;
    padding: 40px;
    border-radius: var(--radius);
    transition: .35s;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.service-card h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.service-card p {
    color: var(--text);
}

/* ===== ABOUT ===== */

.about {
    background: #101010;
}

.about-text {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.about p {
    margin-top: 20px;
    color: var(--text);
}

/* ===== CTA ===== */

.cta {
    text-align: center;
    background: linear-gradient(135deg,#0d3c70,#081b33);
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    color: #d7e7ff;
    margin-bottom: 35px;
}

/* ===== CONTACT ===== */

form {
    max-width: 700px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input,
textarea {
    padding: 18px;
    background: #171717;
    color: white;
    border: 1px solid #2b2b2b;
    border-radius: 12px;
    font-size: 1rem;
    transition: .3s;
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
}

textarea {
    resize: vertical;
}

/* ===== FOOTER ===== */

footer {
    background: black;
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.08);
}

footer img {
    width: 180px;
    margin-bottom: 20px;
}

footer p {
    color: #9b9b9b;
    margin-top: 10px;
}

/* ===== ANIMATIONS ===== */

.feature-card,
.service-card,
.btn {
    transition: all .35s ease;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.hero-text {
    animation: fadeUp 1s ease;
}

/* ===== RESPONSIVE ===== */

@media(max-width:900px){

    .hero h1{
        font-size:3rem;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:flex-start;
    }

}

@media(max-width:768px){

    .nav-container{
        flex-direction:column;
        gap:20px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
        gap:20px;
    }

    .hero{
        text-align:center;
        padding-top:120px;
    }

    .hero-content{
        justify-content:center;
    }

    .hero-buttons{
        align-items:center;
    }

    .hero h1{
        font-size:2.4rem;
    }

    section{
        padding:80px 0;
    }

    section h2{
        font-size:2rem;
    }

}

@media(max-width:480px){

    .hero h1{
        font-size:2rem;
    }

    .btn{
        width:100%;
        text-align:center;
    }

    .logo img{
        height:55px;
    }

}