/* ==========================================================================
   Homepage Specific Overrides & New Sections
   ========================================================================== */

/* Utility colors based on design */
:root {
    --new-yellow: #1b8cff;
    --new-blue: #1b8cff;
    --new-red: #1b8cff;
    --dark-bg: #ffffff;
    --light-bg: #ffffff;
}

/* Base resets for home page specifically */
.home-page .btn-black {
    background: var(--text-dark);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.6rem;
    font-weight: 600;
}
.home-page .btn-blue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--new-blue);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}
.home-page .btn-blue:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(27,140,255,0.3); }

.home-page .section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 3rem;
}
.home-page .text-blue { color: var(--new-blue) !important; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.home-hero {
    padding: 9rem 0 5rem;
    background: var(--bg-light);
}

.home-hero-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.home-hero-image-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.yellow-bg-shape {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 85%;
    background: var(--new-yellow);
    border-radius: 20px;
    z-index: -1;
}

.home-hero-img {
    max-width: 90%;
    display: block;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.home-hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.home-hero-title .dash { font-family: var(--font-body); font-weight: 700; }

.home-hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.6;
}

.home-hero-actions {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.home-hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}
.home-hero-badge i { font-size: 2rem; color: var(--text-dark); }
.home-hero-badge .badge-text strong { display: block; font-size: 1rem; }
.home-hero-badge .badge-text span { font-size: 0.8rem; color: var(--text-gray); }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee-red .marquee-track {
    background: var(--new-red);
}
.marquee-red .marquee-content span {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
}

/* ==========================================================================
   About Me
   ========================================================================== */
.home-about {
    padding: 6rem 0;
    background: var(--light-bg);
}

.home-about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.home-about-title h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
}

.home-about-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.home-about-lists {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.list-col h4 {
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.list-col ul li {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.list-col ul li::before {
    content: '';
    width: 4px; height: 4px;
    background: var(--text-gray);
    border-radius: 50%;
}

/* ==========================================================================
   Working Process
   ========================================================================== */
.home-process {
    padding: 7rem 0;
    background: var(--dark-bg);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.process-item {
    display: grid;
    grid-template-columns: 200px 60px 1fr;
    min-height: 150px;
}

.process-left {
    text-align: right;
    padding-right: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 15px;
}

.process-num {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: rgba(0,0,0,0.4);
    margin-top: 5px;
}

.process-title {
    font-size: 2rem;
    color: var(--text-dark);
}

.process-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-dot {
    width: 14px; height: 14px;
    background: #ccc;
    border-radius: 50%;
    margin-top: 10px;
    z-index: 2;
    transition: var(--transition);
}
.process-dot.active {
    background: var(--new-blue);
    box-shadow: 0 0 0 4px rgba(27,140,255,0.3);
}

.process-line {
    width: 1px;
    flex: 1;
    background: rgba(0,0,0,0.15);
}

.process-right {
    padding-left: 1.5rem;
    padding-bottom: 3rem;
}
.process-right p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   Recent Projects
   ========================================================================== */
.home-projects {
    padding: 7rem 0;
    background: var(--light-bg);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}
.projects-header .section-title { margin-bottom: 0; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    transition: var(--transition);
    min-height: 160px;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.project-info {
    flex: 1;
    padding: 2rem;
}
.project-info h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}
.project-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.case-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}
.case-link:hover { color: var(--new-blue); gap: 8px; }

.project-img {
    width: 150px;
    flex-shrink: 0;
    height: 100%;
    background: var(--bg-gray);
    overflow: hidden;
}
.project-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.4s ease; }
.project-img img:hover { transform: scale(1.08); }

/* ==========================================================================
   Stats
   ========================================================================== */
.home-stats {
    background: var(--new-red);
    padding: 4rem 0;
}
.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}
.h-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.h-stat-label {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.home-testimonials {
    padding: 7rem 0;
    background: var(--light-bg);
}

.testi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.testi-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}
.testi-author img {
    width: 50px; height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.testi-author strong { display: block; font-size: 1.1rem; }
.testi-author span { font-size: 0.85rem; color: var(--text-gray); }

.testi-text {
    font-style: italic;
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

.testi-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.testi-dots .dot {
    width: 10px; height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}
.testi-dots .dot.active { background: var(--new-blue); }

/* ==========================================================================
   Latest News
   ========================================================================== */
.home-news {
    padding: 7rem 0 4rem;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-info {
    padding: 1.5rem;
}
.news-meta {
    font-size: 0.8rem;
    color: var(--text-gray);
    display: block;
    margin-bottom: 0.8rem;
}
.news-info h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* ==========================================================================
   Bottom CTA & Footer
   ========================================================================== */
.home-cta {
    padding-top: 3rem;
    background: #fff;
}

.cta-banner {
    background: var(--bg-light);
    border-radius: 20px 20px 0 0;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-marquee-wrap {
    position: absolute;
    top: 0; left: 0; width: 100%;
    transform: rotate(-2deg) scaleX(1.05);
    background: var(--new-red);
    padding: 0.8rem 0;
}

.cta-marquee {
    display: flex;
    white-space: nowrap;
    animation: scroll-marquee 20s linear infinite;
}
.cta-marquee span {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.5rem;
    margin: 0 1rem;
}

.cta-title-huge {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-top: 3rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.cta-sub {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.cta-email {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}
.cta-email:hover { color: var(--new-blue); text-decoration: underline; }

.home-footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

.home-footer-links p { color: var(--text-gray); font-size: 0.9rem; }

.social-pills {
    display: flex;
    gap: 10px;
}
.social-pills a {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}
.pill-blue { background: var(--new-blue); color: #fff; }
.pill-blue:hover { transform: translateY(-3px); }
.pill-outline { border: 1px solid var(--border); color: var(--text-dark); }
.pill-outline:hover { border-color: var(--text-dark); background: var(--text-dark); color: #fff; }

.back-to-top {
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.back-to-top:hover { color: var(--new-blue); }

/* ==========================================================================
   Responsive Overrides
   ========================================================================== */
@media (max-width: 992px) {
    .home-hero-container { grid-template-columns: 1fr; text-align: center; }
    .home-hero-image-wrapper { max-width: 400px; margin: 0 auto; }
    .home-hero-actions { justify-content: center; }
    
    .home-about-container { grid-template-columns: 1fr; }
    
    .process-item { grid-template-columns: 120px 40px 1fr; }
    .process-title { font-size: 1.5rem; }
    
    .projects-grid, .testi-grid, .news-grid, .home-stats-grid { grid-template-columns: 1fr; }
    .projects-header, .news-header { flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
    
    .home-footer-links { flex-direction: column; gap: 1.5rem; text-align: center; }
}

@media (max-width: 768px) {
    .home-page .section-title { font-size: 2rem; margin-bottom: 2rem; }
    
    .home-hero { padding: 6rem 0 3rem; }
    .home-hero-title { font-size: 2.5rem; }
    .home-hero-subtitle { font-size: 0.95rem; margin-bottom: 2rem; }
    .home-hero-actions { flex-direction: column; gap: 1.5rem; align-items: center; }
    
    .home-about { padding: 4rem 0; }
    .home-about-title h2 { font-size: 2.2rem; text-align: center; margin-bottom: 1.5rem; }
    .home-about-lists { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .home-process { padding: 4rem 0; }
    .process-item { grid-template-columns: 130px 30px 1fr; min-height: 120px; }
    .process-left { padding-right: 0.8rem; flex-direction: row; align-items: flex-start; gap: 6px; justify-content: flex-end; }
    .process-num { font-size: 1rem; }
    .process-title { font-size: 1.2rem; }
    .process-right { padding-left: 1rem; padding-bottom: 2rem; }
    
    .home-projects, .home-testimonials, .home-news { padding: 4rem 0; }
    
    .project-card { flex-direction: column; height: auto; }
    .project-img { width: 100%; height: 200px; }
    .project-info { padding: 1.5rem; }
    
    .home-stats { padding: 3rem 0; }
    .h-stat-num { font-size: 3rem; }
    
    .testi-card { padding: 1.5rem; }
    
    .home-cta { padding-top: 1rem; }
    .cta-banner { padding: 4rem 1.5rem; }
    .cta-title-huge { font-size: 2rem; margin-top: 2rem; }
    .cta-email { font-size: 1.1rem; }
}
