/* ============================================================
   GLOBAL STYLES
   ============================================================ */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f0f0f;
    color: white;
}

html {
    scroll-behavior: smooth;
}

/* ============================================================
   NAVIGATION BAR
   ============================================================ */
.nav {
    background: #1a1a1a;
    padding: 18px;
    text-align: center;
    border-bottom: 3px solid #4B0082;
    box-shadow: 0 0 15px rgba(75, 0, 130, 0.35);
}

.nav a {
    color: white;
    margin: 0 18px;
    text-decoration: none;
    font-size: 19px;
    font-weight: bold;
    transition: 0.3s ease;
}

.nav a:hover,
.nav-link.active {
    color: #b88cff;
    text-shadow: 0 0 10px rgba(184, 140, 255, 0.9);
}

/* ============================================================
   BUSINESS SIGN UNDER HEADER
   ============================================================ */
.header-sign {
    width: 250px;
    margin: 10px auto;
}

.header-sign img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 0 12px rgba(184,140,255,0.6));
}
/* ============================================================
   PAGE TITLES
   ============================================================ */
.page-title {
    text-align: center;
    margin: 60px 0 30px;
    color: #b88cff;
    text-shadow: 0 0 10px rgba(184,140,255,0.5);
}

/* ============================================================
   GENERIC CONTENT SECTIONS
   ============================================================ */
.section-box {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 50px 20px;
    border: 3px solid #4B0082;
    border-radius: 10px;
    background: #1a1a1a;
    box-shadow: 0 0 20px rgba(75, 0, 130, 0.3);
}

.section-title {
    text-align: center;
    color: #b88cff;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(184,140,255,0.5);
}

/* ============================================================
   DIVIDERS
   ============================================================ */
.divider {
    width: 90%;
    max-width: 1100px;
    height: 3px;
    background: #4B0082;
    margin: 40px auto;
    box-shadow: 0 0 12px rgba(75,0,130,0.6);
    border-radius: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.button {
    background: #4B0082;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 18px;
    display: inline-block;
    box-shadow: 0 0 12px rgba(75,0,130,0.6);
    transition: 0.3s ease;
}

.button:hover {
    background: #6a0dad;
}

/* ============================================================
   PORTFOLIO GRID
   ============================================================ */
.portfolio-grid,
.gallery-grid {
    display: grid;
    gap: 20px;
    padding: 20px;
}

.portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.portfolio-grid img,
.portfolio-grid video,
.gallery-grid img {
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
    background: #000;
    border: 3px solid #4B0082;
    box-shadow: 0 0 12px rgba(75, 0, 130, 0.6);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-grid img:hover,
.portfolio-grid video:hover,
.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(184, 140, 255, 0.9);
}

/* ============================================================
   AWARDS SECTION
   ============================================================ */
.award-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.award-item {
    text-align: center;
    max-width: 300px;
}

.award-item img {
    width: 100%;
    border-radius: 6px;
    border: 3px solid #4B0082;
    box-shadow: 0 0 10px rgba(75, 0, 130, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.award-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(184, 140, 255, 0.7);
}

.award-caption {
    margin-top: 12px;
    padding: 10px 0;
    background: linear-gradient(to right, #4B0082, #2E0059, #4B0082);
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    font-size: 15px;
    box-shadow: 0 0 8px rgba(184, 140, 255, 0.5);
}

/* ============================================================
   FORMS
   ============================================================ */
form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: none;
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
#topBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #b88cff;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    transition: background 0.3s ease;
}

#topBtn:hover {
    background: #6a4fbf;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-entry {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.timeline-entry.show {
    opacity: 1;
    transform: translateY(0);
}

.timeline-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 40px;
}

.timeline-line {
    position: absolute;
    top: 45px;
    width: 100%;
    height: 4px;
    background: rgba(184, 140, 255, 0.4);
    box-shadow: 0 0 10px rgba(184, 140, 255, 0.7);
    border-radius: 2px;
}

.timeline-container {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding: 40px 20px 0;
}

.timeline-dot {
    width: 38px;
    height: 38px;
    background: #b88cff;
    border-radius: 50%;
    margin: 0 auto 12px;
    box-shadow: 0 0 18px rgba(184, 140, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.timeline-dot:hover {
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(184, 140, 255, 1);
}

.timeline-dot i {
    color: white;
    font-size: 18px;
}

.timeline-box {
    background: rgba(255, 255, 255, 0.07);
    padding: 12px 18px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 12px rgba(0,0,0,0.2);
    transition: 0.3s ease;
}

.timeline-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 18px rgba(184, 140, 255, 0.6);
}

@media (max-width: 768px) {
    .timeline-container {
        flex-direction: column;
        gap: 40px;
    }

    .timeline-line {
        display: none;
    }
}

/* ============================================================
   HOMEPAGE (CLEANED + UPGRADED)
   ============================================================ */
.hero {
    width: 100%;
    min-height: 420px;
    padding: 100px 20px;
    text-align: center;
    background: url("images/web photos/IMG_6117.PNG") center/cover no-repeat;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
}

.hero > * {
    position: relative;
    z-index: 1;
}

/* Fade-in animation */
.hero,
.hero-badge,
.hero-title,
.hero-subtitle,
.hero-cta {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
}

.hero-badge { animation-delay: 0.2s; }
.hero-title { animation-delay: 0.4s; }
.hero-subtitle { animation-delay: 0.6s; }
.hero-cta { animation-delay: 0.8s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 16px 30px;
    border: 4px solid #4B0082;
    border-radius: 12px;
    background: rgba(0,0,0,0.55);
    color: white;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(75,0,130,0.7);
    box-shadow: 0 0 20px rgba(75,0,130,0.5);
}

.hero-title {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 0 0 12px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 0 10px rgba(0,0,0,0.7);
}

.hero-cta {
    margin-top: 25px;
}

/* CTA Upgrade */
.hero-cta .button {
    font-size: 20px;
    padding: 14px 32px;
    border: 2px solid #b88cff;
}

.hero-cta .button:hover {
    background: #b88cff;
    color: #000;
    box-shadow: 0 0 18px rgba(184,140,255,0.9);
}

.what-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.what-item {
    background: #111;
    border-radius: 8px;
    padding: 18px 16px;
    box-shadow: 0 0 12px rgba(0,0,0,0.4);
    border: 1px solid #333;
}

.what-item h3 {
    color: #b88cff;
    margin: 0 0 8px;
}

.what-item p {
    margin: 0;
    color: #ddd;
}

.quote-section {
    text-align: center;
    margin: 60px 0;
}

.center-text {
    text-align: center;
}

.section-cta {
    margin-top: 25px;
}

.back-top {
    text-align: center;
    margin: 30px 0 0;
}

.back-top-button {
    font-size: 16px;
}
/* PORTFOLIO PAGE – CLEAN RECTANGLE BOXES */
.portfolio-grid img {
    width: 100%;
    height: 260px; /* same rectangle height as Featured Projects */
    object-fit: cover;
    border-radius: 6px;
    border: 3px solid #4B0082;
    box-shadow: 0 0 12px rgba(75,0,130,0.6);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #111;
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid #333;
}

.footer h2 {
    color: #b88cff;
    margin-bottom: 10px;
    text-shadow: 0 0 6px rgba(75,0,130,0.4);
}

.footer p {
    margin: 5px 0;
    font-size: 16px;
}

.footer a {
    color: #b88cff;
    text-decoration: none;
}

.footer-copy {
    margin-top: 20px;
    font-size: 14px;
    color: #aaa;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: #ddd;
}

.services-wrapper {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
}

.service-item {
    margin-bottom: 25px;
}

.service-title {
    color: #b88cff;
    margin: 0 0 10px;
    text-shadow: 0 0 8px rgba(184,140,255,0.4);
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.portfolio-header {
    margin: 60px 0 30px;
}

.portfolio-intro {
    font-size: 18px;
    max-width: 800px;
    margin: 10px auto 0;
    color: #ddd;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-header {
    margin: 60px 0 30px;
}

.about-text {
    max-width: 800px;
    margin: 20px auto 0;
    font-size: 17px;
    line-height: 1.6;
    color: #ddd;
    text-align: left;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.thank-section {
    padding: 60px 20px;
}

.thank-text {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
    color: #ddd;
}

.thank-button {
    margin-top: 20px;
}

/* ============================================================
   FEATURED PROJECTS – CLEAN RECTANGLE BOXES
   ============================================================ */
#featured-projects img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 6px;
    border: 3px solid #4B0082;
    box-shadow: 0 0 12px rgba(75,0,130,0.6);
}
/* ================================
   PORTFOLIO PAGE UPGRADES
   ================================ */

/* 1. Unified spacing + layout */
.page-title-section {
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #ddd;
    margin-top: 10px;
}

/* 2. Consistent hover effects */
.portfolio-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 18px rgba(138, 43, 226, 0.8);
    transition: 0.25s ease-in-out;
}

/* 3. Matched typography + section titles */
.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: #e6e6e6;
    text-shadow: 0 0 12px rgba(138, 43, 226, 0.8);
}
/* Service Item Spacing Polish */
.services-wrapper {
    display: grid;
    gap: 30px; /* space between each service item */
    margin-top: 20px;
}

.service-item {
    padding: 20px 10px;
    margin: 0; /* remove uneven spacing */
}

.service-title {
    margin-bottom: 10px; /* tighten title spacing */
}
/* Services Page Section Box Polish */
.services-section {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 50px 20px;
    background: #1a1a1a;
    border: 3px solid #4B0082;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(75, 0, 130, 0.3);
}
/* Typography Polish for Services Page */
.services-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.service-item p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 0;
}
.social-links {
display: flex;
justify-content: center;
align-items: flex-start;
gap: 25px;
flex-wrap: wrap;
margin-top: 20px;
margin-bottom: 20px;
}

.social-links a {
color: #b88cff;
text-decoration: none;
font-weight: bold;
text-align: center;
min-width: 85px;
}

.social-links i {
display: block;
margin-bottom: 8px;
font-size: 32px;
}

.social-links a {
    color: #b88cff;
}

.social-links .fa-facebook {
    color: #1877F2;
}

.social-links .fa-instagram {
    color: #E4405F;
}

.social-links .fa-tiktok {
    color: #25F4EE;
}

.social-links .fa-google {
    color: #4285F4;
}

.social-links .fa-award {
    color: #FFD700;
}

.social-links a:hover {
    color: white;
}

.social-links a:hover i {
    color: white;
}

/* ---------- Mobile Layout Final Fixes ---------- */
@media (max-width: 768px) {

    .nav {
        padding: 12px;
    }

    .nav a {
        display: block;
        margin: 10px 0;
        font-size: 17px;
    }

    .header-sign {
        width: 180px;
        margin: 15px auto;
    }

    .hero {
        padding: 70px 15px;
        min-height: auto;
    }

    .hero-badge {
        font-size: 20px;
        padding: 12px 18px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .section-box,
    .services-section {
        width: 92%;
        padding: 30px 15px;
    }

    .portfolio-grid,
    .gallery-grid {
        padding: 10px;
    }

    #topBtn {
        right: 15px;
        bottom: 15px;
        font-size: 16px;
        padding: 10px 13px;
    }
}