/* ====================== GENERAL STYLES ====================== */
body {
    background: radial-gradient(circle at center, #0a0f1a, #000);
    color: #e6edf3;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    background: radial-gradient(circle at center, #0a0f1a, #000);
    color: #e6edf3;
    padding: 80px 10%;
    width: 90%;
    margin: 60px auto;
    position: relative;
    overflow: hidden;
}

h2 {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.6);
    margin-bottom: 40px;
    text-align: center;
}

/* ====================== NAVBAR ====================== */
/* ===== Navbar Styling - Full Width ===== */
/* ===== Full-Width Navbar ===== */
.nav-coffee {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    padding: 2px 32px;
    /* max-width: 1390px; */

    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(96, 165, 250, 0.3);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);

    position: sticky;
    top: 0;
    z-index: 1000;
    border-radius: 0;

    /* ❗ REMOVE height (this fixes button overflow) */
}

/* Logo */
.nav-coffee .logo img {
    height: 50px;
    display: block;
    cursor: pointer;
    border-radius: 50%;
    filter: drop-shadow(0 0 20px #60a5fa);
}

/* Links */
.nav-coffee .links {
    display: flex;
    gap: 30px;
    list-style: none;
    padding-left: 0;
}

.nav-coffee .links li a {
    color: #e6edf3;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: block;
}

.nav-coffee .links a:hover {
    color: #60a5fa;
    background: rgba(37, 99, 235, 0.1);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

.nav-coffee .links a.active {
    color: #60a5fa;
    background: rgba(37, 99, 235, 0.15);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

/* Coffee Button */
.nav-coffee .coffee-btn {
    background: linear-gradient(90deg, #2563eb, #1e40af);
    color: #fff;
    border: none;

    border-radius: 8px;
    padding: 8px 10px;
    font-size: 1rem;
    cursor: pointer;
    margin-right: 4rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.nav-coffee .coffee-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
}

/* ---------- Responsive Navigation ---------- */

/* Tablet */
@media (max-width: 1024px) {
    .nav-coffee {
        padding: 6px 20px;
    }

    .nav-coffee .links {
        gap: 20px;
    }

    .nav-coffee .coffee-btn {
        margin-right: 1rem;
    }
}

@media (max-width: 768px) {

    .nav-coffee {
        position: relative;
        flex-wrap: wrap;
        padding: 10px 16px;
    }

    /* LOGO – left */
    .nav-coffee .logo {
        order: 1;
    }

    /* 🔥 HAMBURGER – ABSOLUTE (iOS SAFE) */
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;

        position: absolute;
        top: 20%;
        right: 40px;

        transform: translateY(-50%);

        width: 44px;
        height: 44px;

        font-size: 1.9rem;
        color: #e6edf3;
        cursor: pointer;

        z-index: 3000;
        -webkit-tap-highlight-color: transparent;
    }

    /* LINKS – dropdown */
    .nav-coffee .links {
        order: 2;
        width: 100%;
        display: none;
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 14px 0;
    }

    .nav-coffee .links.active {
        display: flex;
    }

    /* COFFEE BUTTON – next row */
    .nav-coffee .coffee-btn {
        order: 3;
        width: 40%;
        margin: 10px auto 0;
        text-align: center;
    }
}



/* Hide hamburger on desktop */
.menu-toggle {
    display: none;
}


/* ===== Fix gap between navbar and content ===== */
body,
html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: 100%;
}

/* Reduce top padding inside pages if needed */

main {
    flex: 1;
    /* Push footer down */
    /* padding-top: 20px; */
}

/* Responsive */
@media (max-width: 900px) {
    .nav-coffee {
        flex-direction: column;
        gap: 10px;
        padding: 10px 20px;
    }

    .nav-coffee .links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-coffee .coffee-btn {
        padding: 8px 20px;
        font-size: 0.95rem;
    }
}

/* ====================== HOME / HERO ====================== */
#home {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 60px 20px;
    overflow: hidden;
}


/* -------- Main Container -------- */
.home h2 {
    margin-bottom: 12px;
}

.home-container h1 {
    margin-bottom: 10px;
    text-align: center;
}

.home-container {
    max-width: 850px;
    width: 100%;
    padding: 40px 50px;

    /* CENTER THE CONTAINER */
    margin: 40px auto 0;
    margin-bottom: 10px;
    /* ← This centers horizontally */

    border-radius: 20px;
    background: rgba(15, 23, 42, 0.75);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    box-shadow: 0 0 25px rgba(0, 149, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: glowPulse 3s ease-in-out infinite, floatUpDown 6s ease-in-out infinite;
}


.home-container::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #00b7ff, #7c3aed, #ec4899, #06b6d4, #00b7ff);
    background-size: 400% 400%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderGlowDynamic 8s linear infinite;
}

/* -------- Button -------- */

.hero-btn {
    margin-top: 20px;
    display: inline-block;
    padding: 12px 25px;
    background: #4a4aff;
    color: white !important;
    /* ensure link stays white */
    font-size: 1.1rem;
    border-radius: 8px;
    text-decoration: none !important;
    /* remove underline */
    transition: 0.3s ease;
    font-weight: 600;
    cursor: pointer;
    /* behaves like button */
    border: none;
}

.hero-btn:hover {
    background: #3737e6;
    /* optional hover */
    transform: translateY(-3px);
}

.highlight {
    color: #00b7ff;
    text-shadow: 0 0 10px #00b7ff;
}

/* =========================================================
   🔥 RESPONSIVE FIXES — MOBILE, TABLET & LARGE SCREENS
   ========================================================= */

/* -------- Tablets (768px and below) -------- */
@media (max-width: 768px) {
    .home-container {
        max-width: 90%;
        padding: 30px 25px;
        margin-top: 120px;
    }

    .hero-btn {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }

    #home {
        padding: 40px 15px;
    }
}

/* -------- Large Phones (600px and below) -------- */
@media (max-width: 600px) {
    .home-container {
        padding: 25px 10px;
        margin-top: 100px;
        margin-right: 10px;
        margin-left: 10px;
        border-radius: 16px;
    }

    .hero-btn {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* -------- Small Phones (480px and below) -------- */
@media (max-width: 480px) {
    .home-container {
        padding: 20px 10px;
        margin-top: 40px;
        margin-right: 10px;
        margin-left: 10px;
    }

    h1,
    h2,
    h3,
    p {
        text-align: center;
    }

    .hero-btn {
        font-size: 0.7rem;
    }
}

/* -------- Very Small Devices (360px and below) -------- */
@media (max-width: 360px) {
    .home-container {
        padding: 18px 10px;
        margin-top: 40px;
        margin-right: 10px;
        margin-left: 10px;
    }

    .hero-btn {
        padding: 10px;
        font-size: 0.85rem;
    }
}


/* ====================== CAROUSEL / SKILLS ====================== */
/* ====================== 3D CAROUSEL ====================== */
.carousel {
    position: relative;
    width: 80%;
    max-width: 1000px;
    height: 400px;
    margin: 65px 225px;
    perspective: 3000px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* 3D rotating track */
.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotate 18s infinite linear;
}

/* 3D Image Styling */
.carousel-track img {
    position: absolute;
    width: 420px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    background-color: #161b22;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
    transition: transform 0.5s, opacity 0.5s;
    transform-origin: center center;

    /* Main transform logic (dynamic using --i) */
    transform: rotateY(calc(var(--i) * 51.42deg)) translateZ(520px);
}

/* 7 images = 360 / 7 = 51.42deg gap */

/* Lighting effect */
.carousel-track::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15), transparent 70%);
}

/* Pause on hover */
.carousel:hover .carousel-track {
    animation-play-state: paused;
}

/* Rotate Animation */
@keyframes rotate {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

/* ===========================================================
   Responsive
   =========================================================== */

/* Tablets (1024px) */
@media (max-width: 1024px) {
    .carousel {
        height: 340px;
        width: 90%;
    }

    .carousel-track img {
        width: 350px;
        height: 240px;
        transform: rotateY(calc(var(--i) * 51.42deg)) translateZ(420px);
    }
}

/* Small Tablets (768px) */
@media (max-width: 768px) {
    .carousel {
        height: 300px;
    }

    .carousel-track img {
        width: 300px;
        height: 200px;
        transform: rotateY(calc(var(--i) * 51.42deg)) translateZ(330px);
    }
}

/* Phones below 600px → 3D carousel ON (instead of slider) */
@media (max-width: 600px) {

    .carousel {
        width: 100%;
        height: 260px;
        margin: 30px auto;
        perspective: 2000px;
        /* Keep 3D */
        overflow: hidden;
        /* No horizontal scroll */
    }

    .carousel-track {
        width: 100%;
        height: 100%;
        transform-style: preserve-3d;
        animation: rotate 16s infinite linear;
        /* short rotation for mobile */
    }

    .carousel-track img {
        width: 220px;
        height: 150px;
        transform: rotateY(calc(var(--i) * 51.42deg)) translateZ(300px);
    }
}

/* Small Phones (450px) */
@media (max-width: 450px) {
    .carousel-track img {
        width: 190px;
        height: 130px;
        transform: rotateY(calc(var(--i) * 51.42deg)) translateZ(260px);
    }
}

/* Very Small Phones (350px) */
@media (max-width: 350px) {
    .carousel-track img {
        width: 170px;
        height: 120px;
        transform: rotateY(calc(var(--i) * 51.42deg)) translateZ(230px);
    }
}


/* ====================== ACHIEVEMENTS / CARDS ====================== */
.glow-container {
    background: rgba(22, 27, 34, 0.8);
    border: 2px solid rgba(96, 165, 250, 0.5);
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.3), inset 0 0 15px rgba(37, 99, 235, 0.2);
    backdrop-filter: blur(10px);
    max-width: 1000px;
    margin: 0 auto;
    transition: all 0.4s;
}

.glow-container:hover {
    box-shadow: 0 0 40px rgba(96, 165, 250, 0.6), inset 0 0 25px rgba(37, 99, 235, 0.3);
    transform: translateY(-5px);
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card {
    background: #161b22;
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 12px;
    padding: 20px;
    width: 280px;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(96, 165, 250, 0.5);
}

/* ====================== ABOUT / KNOW ME ====================== */

/* ============================= */
/* KNOW ME / ABOUT SECTION ONLY */
/* ============================= */

#know-me {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Container centered */
    min-height: 100vh;
    padding: 80px 20px;
}

/* Main card */
.about-content {
    display: flex;
    flex-direction: column;
    /* Header on top */
    align-items: center;
    /* Center container horizontally */
    justify-content: center;
    gap: 30px;

    max-width: 1000px;
    width: 100%;
    padding: 40px 50px;

    border-radius: 20px;
    background: rgba(15, 23, 42, 0.75);
    border: 2px solid transparent;
    backdrop-filter: blur(10px);

    position: relative;
    animation: glowPulse 3s ease-in-out infinite,
        floatUpDown 6s ease-in-out infinite;
    /* CENTER THE CONTAINER */
    margin: 40px auto 0;
    margin-bottom: 20px;
    /* ← This centers horizontally */

}

/* Header — full width inside container */
.about-content h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    font-size: 2rem;

}

/* Image + Text row */
.about-body {
    display: flex;
    flex-direction: row;
    /* Image left, text right */
    gap: 40px;
    align-items: flex-start;
    width: 100%;
    justify-content: flex-start;
    /* Keep container centered but row left-aligned */
}

/* Image column */
.about-image {
    flex-shrink: 0;
}

.about-image img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0, 149, 255, 0.4);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.founder-image img {
    width: 220px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0, 149, 255, 0.4);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 45px rgba(0, 149, 255, 0.8);
}

/* Text column */
.about-text {
    flex: 1;
    text-align: left;
    /* LEFT align p content only */
    max-width: 600px;
}

.about-text p,
.about-text li {
    line-height: 1.8;
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #e6edf3;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    /* ensure p text is left aligned */
}

/* Animated glowing border */
.about-content::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg,
            #00b7ff,
            #7c3aed,
            #ec4899,
            #06b6d4,
            #00b7ff);
    background-size: 400% 400%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderGlowDynamic 8s linear infinite;
}


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

/* -------- Tablets (1024px and below) -------- */
@media (max-width: 1024px) {
    .about-content {
        padding: 30px 35px;
        gap: 25px;
        display: flex;
        flex-direction: column;
        /* keep header on top */
        align-items: center;
        /* container centered */
        max-width: 90%;
    }

    .about-body {
        flex-direction: row;
        /* image left, text right */
        gap: 25px;
        width: 100%;
    }

    .about-content img {
        width: 220px;
        height: 220px;
    }

    .about-text p,
    .about-text li {
        font-size: 1rem;
        text-align: left;
    }
}

/* -------- Tablets / Large Phones (768px and below) -------- */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
        /* container centered */
        text-align: center;
        /* header centered */
        padding: 30px;
        gap: 30px;
        max-width: 85%;
    }

    .about-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        width: 100%;
    }

    .about-content img {
        width: 200px;
        height: 200px;
    }

    .about-text {
        max-width: 95%;
        text-align: left;
        /* text left inside column */
    }

    .about-text p,
    .about-text li {
        font-size: 0.95rem;
        text-align: left;
    }
}

/* -------- Large Phones / Small Tablets (600px and below) -------- */
@media (max-width: 600px) {
    .about-content {
        padding: 25px 10px;
        gap: 20px;
        max-width: 85%;
    }

    .about-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        width: 100%;
    }

    .about-content img {
        width: 180px;
        height: 180px;
    }

    .about-text {
        max-width: 95%;
    }

    .about-text p,
    .about-text li {
        font-size: 0.9rem;
        line-height: 1.6;
        text-align: left;
    }
}

/* -------- Small Phones (480px and below) -------- */
@media (max-width: 480px) {
    #know-me {
        padding: 50px 10px;
    }

    .about-content {
        padding: 20px 10px;
        gap: 15px;
        max-width: 85%;
    }

    .about-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        width: 100%;
    }

    .about-content img {
        width: 160px;
        height: 160px;
    }

    .about-text {
        max-width: 95%;
    }

    .about-text p,
    .about-text li {
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: left;
    }
}

/* -------- Very Small Devices (360px and below) -------- */
@media (max-width: 360px) {
    .about-content {
        padding: 18px 10px;
        gap: 10px;
        max-width: 85%;
    }

    .about-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        width: 100%;
    }

    .about-content img {
        width: 140px;
        height: 140px;
    }

    .about-text p,
    .about-text li {
        font-size: 0.8rem;
        line-height: 1.4;
        text-align: left;
    }
}



/* =========================================================================
   PROJECTS & SERVICES – CLEAN RESPONSIVE VERSION
   ========================================================================= */

/* ====================== MAIN CONTAINERS ====================== */
#projects,
#services {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto 60px;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0, 200, 255, 0.3);
    border: 1px solid rgba(0, 200, 255, 0.2);
    padding: 40px 30px;
}

#projects h2,
#services h2 {
    text-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
    letter-spacing: 1px;
    margin-bottom: 30px;
}

/* ====================== SELECT DROPDOWN ====================== */
.project-select {
    width: 60%;
    max-width: 600px;
    padding: 12px;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
    border: 1px solid rgba(0, 200, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.3);
}

/* =========================================================================
   PROJECT – SINGLE LARGE INFORMATION CARD
   ========================================================================= */

.proj-container-single {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
}

.big-card {
    width: 90%;
    max-width: 900px;
    background: transparent;
    margin-bottom: 30px;
}

.big-card-inner {
    width: 100%;
    transform: none !important;
    height: auto;
}

.big-front {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 200, 255, 0.2);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 0 25px rgba(0, 200, 255, 0.3);
}

.big-back {
    margin-top: 15px;
    background: transparent;
    border: 1px solid rgba(0, 200, 255, 0.3);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 0 25px rgba(0, 200, 255, 0.3);
    height: auto;
    overflow: visible;
}

.big-back p,
.big-back ul,
.big-back li {
    font-size: 0.9rem;
}

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

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

#services .card {
    width: 280px;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(0, 180, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    transition: 0.4s ease;
    animation: floatPulse 8s ease-in-out infinite, glowWave 5s linear infinite;
}

#services .card h3 {
    color: #00b4d8;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

#services .card p {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.5;
}

#services .card:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: #00b4d8;
    box-shadow: 0 0 45px rgba(0, 180, 255, 0.8);
}

/* =========================================================================
   RESPONSIVE – TABLETS (max-width: 1024px)
   ========================================================================= */
@media (max-width: 1024px) {

    .project-select {
        width: 80%;
        font-size: 0.9rem;
    }

    .big-card {
        max-width: 95%;
    }

    .cards {
        gap: 25px;
    }

    #services .card {
        width: 45%;
    }
}

/* =========================================================================
   RESPONSIVE – MOBILE (max-width: 768px)
   ========================================================================= */

@media (max-width: 768px) {

    #projects,
    #services {
        width: 85%;
        padding: 25px 15px;
    }

    /* Dropdown */
    .project-select {
        width: 95%;
        padding: 10px;
    }

    /* Project info card */
    .proj-container-single {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
        padding: 0 12px;
        width: 95%;
    }

    .big-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .big-front {
        padding: 10px 5px;
        width: 95%;

    }

    .big-front h2 {
        font-size: 1.15rem;
    }

    .big-back {
        padding: 20px 16px;
        min-height: 340px;
        margin-bottom: 70px;
        overflow-y: auto;
        margin-right: 25px;
    }

    .big-back p,
    .big-back li {
        font-size: 0.92rem;
    }

    /* Services */
    .cards {
        flex-direction: column;
        gap: 20px;
        margin-right: 50px;
    }

    #services .card {
        width: 100%;
        padding: 20px;
    }
}

/* =========================================================================
   SMALL PHONES (max-width: 430px)
   ========================================================================= */
@media (max-width: 430px) {

    .big-front h2 {
        font-size: 1.05rem;
    }

    .big-back {
        min-height: 380px;
        padding: 18px 14px;
        width: 90%;
    }

    .big-back p,
    .big-back li {
        font-size: 0.85rem;
    }
}

/* =========================================================================
   ULTRA SMALL PHONES (max-width: 360px)
   ========================================================================= */
@media (max-width: 360px) {

    .big-back {
        min-height: 420px;
        padding: 16px 12px;
        margin-right: 25px;
    }

    .big-back p,
    .big-back li {
        font-size: 0.82rem;
    }
}





/* ===== Modal Contact Form ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 17, 23, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.4s ease;
}

.modal-content {
    background: #161b22;
    padding: 25px 35px;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
    text-align: center;
    width: 360px;
    position: relative;
    animation: slideUp 0.4s ease;
}

.modal-content h2 {
    color: #60a5fa;
    margin-bottom: 15px;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    background: #0d1117;
    border: 1px solid #2563eb;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    color: #fff;
    font-size: 1rem;
}

.modal-content button {
    background: linear-gradient(90deg, #2563eb, #1e40af);
    border: none;
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.modal-content button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.6);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 1.4rem;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #60a5fa;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

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

/* ===== Footer ===== */
/* ===== Footer ===== */
footer {
    width: 100%;
    padding: 16px 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
    border-top: 1px solid #1f2937;
    background: #111827;
    box-sizing: border-box;
}

footer img {
    vertical-align: middle;
    width: 20px;
    height: 20px;
}

/* Responsive tweaks */
@media (max-width: 480px) {
    footer {
        font-size: 0.8rem;
        padding: 14px 16px;
    }

    footer img {
        width: 18px;
        height: 18px;
    }
}

/* ===== Feedback Section ===== */
#feedback {
    padding: 60px 10%;
    background: radial-gradient(circle at center, #0a0f1a, #000);
    color: #e6edf3;
    position: relative;
    overflow: hidden;
}

/* Feedback Header */
#feedback h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: #60a5fa;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.6);
    letter-spacing: 1px;
}

/* Feedback Form Container */
.feedback-container {
    max-width: 550px;
    margin: 0 auto;
    margin-bottom: 10px;
    /* CENTER the box — replaces your fixed left margin */
    padding: 60px 40px;
    background: rgba(15, 23, 42, 0.85);
    border-radius: 16px;
    border: 1px solid rgba(96, 165, 250, 0.3);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.3);
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
}

.feedback-container:hover {
    box-shadow: 0 0 40px rgba(96, 165, 250, 0.6);
    transform: translateY(-5px);
}

/* Form Elements */
.feedback-container form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feedback-container label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #00b4d8;
    margin-bottom: 18px;
    display: block;

}

/* Inputs & Textarea */
.feedback-container input,
.feedback-container textarea {
    width: 100%;
    padding: 8px 8px;
    border-radius: 10px;
    border: 1px solid rgba(96, 165, 250, 0.5);
    background: rgba(0, 0, 0, 0.3);
    color: #e6edf3;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    /* margin-bottom: 2px; */
}

.feedback-container input:focus,
.feedback-container textarea:focus {
    border-color: #00b4d8;
    box-shadow: 0 0 15px rgba(0, 180, 255, 0.4);
    background: rgba(0, 0, 0, 0.5);
}

/* Placeholder */
.feedback-container input::placeholder,
.feedback-container textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

/* Submit Button */
.feedback-container .submit-btn {
    background: linear-gradient(90deg, #2563eb, #1e40af);
    color: #fff;
    font-weight: 500;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.feedback-container .submit-btn:hover {
    background: linear-gradient(90deg, #1e40af, #2563eb);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
    transform: translateY(-3px);
}

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

/* Feedback: */
/* ====================================== */
/*         RESPONSIVE BREAKPOINTS         */
/* ====================================== */

/* Tablets */
@media (max-width: 992px) {
    #feedback {
        padding: 50px 8%;
    }

    .feedback-container {
        padding: 40px 30px;
    }
}

/* Small Tablets & Large Phones */
@media (max-width: 768px) {
    #feedback h2 {
        margin-right: 0;
        font-size: 1.7rem;
    }

    .feedback-container {
        max-width: 90%;
        padding: 35px 25px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    #feedback {
        padding: 40px 5%;
    }

    #feedback h2 {
        font-size: 1.5rem;
    }

    .feedback-container {
        padding: 25px 5px;
    }

    .feedback-container input,
    .feedback-container textarea {
        font-size: 0.9rem;
        padding: 10px 0px;
        width: 95%;
    }

    .feedback-container .submit-btn {
        font-size: 0.9rem;
        padding: 10px 15px;
        width: 60%;
    }
}




/* ===== Preloader Styles ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0d1117;
    /* match your site’s dark theme */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    transition: opacity 1s ease, visibility 1s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    animation: coinFlip 2s linear infinite;
    transform-style: preserve-3d;
    filter: drop-shadow(0 0 20px #60a5fa);
}

/* .loader-logo {
    width: 220px;
    height: 220px;
    animation: coinFlip 2s linear infinite;
    transform-style: preserve-3d;
    filter: drop-shadow(0 0 20px #60a5fa);
    background: #60a5fa; /* or your image */

/* Make it a triangle */
/* clip-path: polygon(50% 0%, 0% 100%, 100% 100%); */
/* } */


/* Coin flip (3D spin around Y axis) */
@keyframes coinFlip {
    0% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}


/* =============================== */
/*      Coffee Request Section     */
/* =============================== */
#coffee-request {
    padding: 60px 20px;
    text-align: center;
    background: radial-gradient(circle at center, #0a0f1a, #000);
    color: #e6edf3;
}

#coffee-request h2 {
    color: #60a5fa;
    font-size: 2rem;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.6);
}

/* =============================== */
/*         Cofee Form Box          */
/* =============================== */
.coffee-container {
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 10px;
    padding: 35px 30px;
    background: rgba(15, 23, 42, 0.85);
    border-radius: 12px;
    border: 1px solid rgba(96, 165, 250, 0.25);
    box-shadow: 0 0 25px rgba(0, 149, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
}

.coffee-container:hover {
    box-shadow: 0 0 40px rgba(0, 149, 255, 0.45);
    transform: translateY(-4px);
}

.coffee-container label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #00b4d8;
    margin-bottom: 18px;
    display: block;

}

/* Inputs & Textarea */
.coffee-container input,
.coffee-container textarea {
    width: 100%;
    padding: 8px 5px;
    margin-bottom: 18px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s ease;

}

.coffee-container input:focus,
.coffee-container textarea:focus {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 12px rgba(0, 183, 255, 0.4);
}

.coffee-container input::placeholder,
.coffee-container textarea::placeholder {
    color: #a8a8a8;
    font-style: italic;
}

/* Submit Button */
.coffee-container .submit-btn {
    background: linear-gradient(90deg, #2563eb, #1e40af);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.coffee-container .submit-btn:hover {
    background: linear-gradient(90deg, #1e40af, #2563eb);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.6);
    transform: translateY(-3px);
}

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

/* Tablets */
@media (max-width: 992px) {
    #coffee-request h2 {
        font-size: 1.8rem;
    }

    .coffee-container {
        padding: 30px 25px;
        max-width: 85%;
    }
}

/* Large Phones + Small Tablets */
@media (max-width: 768px) {
    #coffee-request {
        padding: 50px 15px;
    }

    #coffee-request h2 {
        font-size: 1.6rem;
    }

    .coffee-container {
        max-width: 90%;
        padding: 28px 22px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    #coffee-request {
        padding: 40px 10px;
    }

    #coffee-request h2 {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }

    .coffee-container {
        padding: 22px 18px;
        max-width: 85%;
    }

    .coffee-container input,
    .coffee-container textarea {
        font-size: 0.9rem;
        padding: 10px;
        width: 95%;
    }

    .coffee-container .submit-btn {
        font-size: 0.9rem;
        padding: 10px 18px;
    }
}