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

body {
    background: #0c0c0c;
    color: #eaeaea;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* ===== NAVBAR STATIC ===== */
/* Navbar fixed at top */
.navbar {
    position: fixed;       /* stays on top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;         /* above everything else */
    background: #111;      /* dark background for contrast */
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* ===== SECTION SPACING ===== */
section,
.about,
.service,
.portfolio,
.testimonial,
.team,
.contact,
.blog {
    padding: 100px 20px;
}

/* ===== DARK ORANGE CARD STYLE ===== */
.glass-card,
.service-item,
.divbackgr,
.portfolio-item {
    background: #1a0f05; /* dark orange base */
    border: 1px solid #ff7a00;
    border-radius: 20px;
    padding: 40px;
    transition: 0.4s ease;
}

.glass-card:hover,
.service-item:hover,
.divbackgr:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255,122,0,0.35);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

/* VIDEO */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2;
}

/* Overlay */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: -1;
}

/* HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 800;
}

.typed-text {
    color: #ff7a00;
    margin-bottom: 25px;
}

/* HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 800;
}

.typed-text {
    color: #ff7a00;
    margin-bottom: 25px;
}

/* ===== BUTTONS ===== */
.btn,
.buttonsize,
.primary-btn,
.outline-btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    cursor: pointer;
    transition: none; /* remove hover transitions */
}

/* Primary button (Hire Me) */
.primary-btn {
    background: #ff7a00;
    color: #fff;
    border: none;
}

/* Outline button (Contact Me) plain, no hover effect */
.outline-btn {
    border: 2px solid #ff7a00;
    color: #ff7a00;
    background: transparent;
}

/* ===== ABOUT ===== */
.about {
    background: #111;
}

.about-img img {
    width: 100%;
    max-height: 720px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* ===== PORTFOLIO ===== */
.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    transition: 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

/* ===== CONTACT ===== */
.contact {
    background: #101010;
}

.contact-flex {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-pic-size {
    width: 500px;
    max-width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

.divbackgr {
    width: 500px;
    max-width: 100%;
}

/* INPUTS */
.inputsize,
textarea {
    background: #111;
    border: 1px solid #ff7a00;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.inputsize:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(255,122,0,0.5);
}

/* ===== TEAM & BLOG IMAGES ===== */
.team-img img,
.blog-img img {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    border-radius: 20px;
}

/* ===== FOOTER CENTERED ===== */
/* Footer container */
.footer {
    background: #111;          /* dark background */
    color: #eaeaea;
    padding: 60px 20px;
    text-align: center;        /* centers all text inside */
}

/* Footer headings */
.footer h2,
.footer h3 {
    margin-bottom: 15px;
    color: #ff7a00;            /* dark orange accent */
}

/* Footer menu / contact info */
.footer .footer-menu p {
    margin: 5px 0;
}

/* Footer social icons */
.footer .footer-social {
    margin-top: 20px;
}

.footer .footer-social a {
    color: #ff7a00;            /* dark orange */
    margin: 0 10px;
    font-size: 20px;
    transition: 0.3s ease;
}

.footer .footer-social a:hover {
    color: #fff;
}

/* Footer copyright */
.footer .copyright {
    margin-top: 30px;
    font-size: 14px;
    color: #aaa;
}

/* ===== BOTTOM RIGHT ICON ===== */
/* Bottom icon wrapper */
.bottom-icon-wrapper {
    display: flex;
    justify-content: flex-end;  /* pushes icon to right */
    padding: 30px 20px;
}

/* Bottom icon itself */
.bottom-icon {
    position: static;  /* normal flow */
    background: #ff7a00;
    color: #fff;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255,122,0,0.5);
    transition: 0.3s ease;
}

.bottom-icon:hover {
    transform: scale(1.1);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media(max-width: 992px){
    .contact-flex {
        flex-direction: column;
        gap: 40px;
    }

    section {
        padding: 80px 20px;
    }
}

/* Mobile */
@media(max-width: 600px){

    section {
        padding: 60px 15px;
    }

    .hero {
        height: 90vh;
    }

    .contact-pic-size {
        height: 350px;
    }

    .glass-card,
    .service-item,
    .divbackgr {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    /* Increase hero height */
    .hero {
        height: 98vh; /* increase height for mobile */
    }

    /* Move content down */
    .hero-content {
        margin-top: 100px; /* push content down */
        text-align: left; /* center text for smaller screens */
    }

    /* Adjust hero h1 font size for mobile */
    .hero h1 {
        font-size: clamp(28px, 8vw, 48px);
    }

    /* Adjust typed text spacing */
    .typed-text {
        margin-bottom: 20px;
    }
}

/* Back to top button fixed bottom-right */
.back-to-top {
    position: fixed;       /* fixed to viewport */
    right: 20px;
    bottom: 20px;
    background: #ff7a00;
    color: #fff;
    border-radius: 50%;
    padding: 15px;
    font-size: 18px;
    z-index: 9999;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255,122,0,0.5);
    transition: transform 0.3s ease, background 0.3s ease;
}

.back-to-top:hover {
    transform: scale(1.1);
    background: #e56700;
}