/* ─── Particles ──────────────────────────────────── */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: floatUp 18s infinite linear;
    opacity: 0;
    background: rgba(255, 100, 20, 0.25) !important;
}

@keyframes floatUp {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.3; }
    100% { transform: translateY(-120px) scale(1.2); opacity: 0; }
}

/* ─── Hero / Slider ──────────────────────────────── */
.hero {
    margin-top: 80px;
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.slider-container { position: relative; width: 100%; height: 100%; }
.slider { position: relative; height: 100%; }

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0C0C1D 0%, #1a1033 100%);
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active { opacity: 1; }

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(12,12,29,0.4) 0%,
        rgba(12,12,29,0.55) 50%,
        rgba(12,12,29,0.7) 100%
    );
    z-index: 1;
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 60%, rgba(255,77,0,0.08) 0%, transparent 65%);
    z-index: 1;
}

.slide-content {
    text-align: center;
    color: white;
    max-width: 820px;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.slide.active .slide-content {
    animation: heroIn 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.slide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,77,0,0.15);
    border: 1px solid rgba(255,77,0,0.35);
    color: #FF7A3D;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.slide-content h2 {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.slide-content p {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    margin-bottom: 2.5rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.72);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FF4D00 0%, #FF0066 100%);
    color: white;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 12px 35px rgba(255,77,0,0.45);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before { left: 100%; }
.cta-button:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 20px 50px rgba(255,77,0,0.6); }

/* Slider Nav */
.slider-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 100%; display: flex; justify-content: space-between;
    padding: 0 32px; z-index: 3; pointer-events: none;
}

.slider-nav button {
    width: 54px; height: 54px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255,255,255,0.15);
    color: white; font-size: 1.6rem; cursor: pointer;
    transition: all 0.3s ease; pointer-events: auto;
    display: flex; align-items: center; justify-content: center;
}

.slider-nav button:hover {
    background: rgba(255,77,0,0.3);
    border-color: rgba(255,77,0,0.5);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255,77,0,0.3);
}

/* Dots */
.slider-dots {
    position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 12px; z-index: 3;
}

.dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.3); cursor: pointer;
    transition: all 0.3s ease; position: relative;
}

.dot.active {
    background: var(--orange);
    width: 28px; border-radius: 4px;
    box-shadow: 0 0 12px rgba(255,77,0,0.6);
}

.dot:hover { background: rgba(255,255,255,0.6); }

/* Scroll indicator */
.scroll-indicator {
    position: absolute; bottom: 36px; right: 40px; z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.5); font-size: 0.7rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.scroll-indicator::before {
    content: '';
    width: 1px; height: 36px; background: linear-gradient(to bottom, transparent, rgba(255,77,0,0.6));
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ─── Services Section ───────────────────────────── */
.modern-services {
    padding: 110px 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.modern-services::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,77,0,0.06) 0%, transparent 65%);
    pointer-events: none;
}

.services-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.services-header h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--dark);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.services-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    position: relative; z-index: 2;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 36px;
    text-align: left;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(255,77,0,0.15);
    border-color: rgba(255,77,0,0.1);
}

.service-icon {
    width: 68px; height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, #FF4D00 0%, #FF7A3D 100%);
    display: flex; align-items: center; justify-content: center;
    margin: 0 0 24px;
    font-size: 1.8rem;
    box-shadow: 0 8px 24px rgba(255,77,0,0.3);
    transition: all 0.35s ease;
}

.service-card:hover .service-icon { transform: scale(1.1) rotate(4deg); }

.service-card h3 {
    color: var(--dark);
    font-size: 1.35rem;
    margin-bottom: 14px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
    font-size: 0.92rem;
}

.service-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.service-link:hover { gap: 14px; }

/* ─── References Section ─────────────────────────── */
.modern-references {
    padding: 110px 0;
    background: var(--dark-3);
    position: relative;
    overflow: hidden;
}

.modern-references::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 10% 30%, rgba(255,77,0,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 90% 70%, rgba(255,0,102,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.references-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative; z-index: 2;
}

.references-header h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: white;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.references-header p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.5);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    position: relative; z-index: 2;
}

.reference-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.reference-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
    border-color: rgba(255,77,0,0.3);
}

.reference-card img {
    width: 100%; height: 230px; object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.reference-card:hover img { transform: scale(1.06); }

.reference-card img {
    width: 100%; height: 230px; object-fit: cover;
    display: block; transition: transform 0.5s ease;
    position: relative;
}

.reference-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(12,12,29,0.7) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.reference-card:hover::after { opacity: 1; }

.reference-card .content {
    padding: 18px 20px;
    background: transparent;
}

.reference-card .content h3,
.reference-card .content h4 {
    color: white !important;
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 700;
    line-height: 1.35;
}

.reference-card .content p {
    color: rgba(255,255,255,0.5) !important;
    font-size: 0.85rem;
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
}

/* ─── About Section ──────────────────────────────── */
.modern-about {
    padding: 110px 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.modern-about::before {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,77,0,0.06) 0%, transparent 65%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative; z-index: 2;
}

.about-text .section-badge { margin-bottom: 1.25rem; }

.about-text h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--dark);
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
    line-height: 1.15;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient);
    color: white;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 25px var(--orange-glow);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.learn-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(255,77,0,0.5);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 28px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
}

.stat:hover::before { transform: scaleX(1); }
.stat:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(255,77,0,0.12); }

.stat h3 {
    font-size: 2.4rem;
    color: var(--orange);
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -1px;
    line-height: 1;
}

.stat p {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* ─── WhatsApp Float ─────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 85px; right: 20px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 13px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37,211,102,0.5);
}

.whatsapp-float svg, .whatsapp-float i { width: 22px; height: 22px; flex-shrink: 0; font-size: 22px; }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .about-content { gap: 50px; }
}

@media (max-width: 768px) {
    .hero { height: 85vh; min-height: 520px; margin-top: 70px; }
    .slider-container { height: 100%; }
    .slide-content h2 { letter-spacing: -0.5px; }
    .slider-nav { padding: 0 16px; }
    .slider-nav button { width: 44px; height: 44px; font-size: 1.2rem; }
    .slider-dots { bottom: 24px; }
    .scroll-indicator { display: none; }

    .modern-services,
    .modern-references,
    .modern-about { padding: 70px 0; }

    .services-header, .references-header { margin-bottom: 50px; }
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .references-grid { grid-template-columns: 1fr; gap: 16px; }

    .about-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .about-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    .about-text .section-badge { display: block; text-align: center; }
    .learn-more { display: inline-flex; }

    .whatsapp-float span { display: none; }
    .whatsapp-float { width: 56px; height: 56px; border-radius: 50%; padding: 0; justify-content: center; bottom: 85px; }
}

@media (max-width: 480px) {
    .hero { height: 90vh; }
    .cta-button { padding: 13px 28px; font-size: 0.85rem; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .stat h3 { font-size: 2rem; }
}

/* ─── Footer (index-specific overrides) ─────────── */
.footer .footer-grid {
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
}

.footer-section { }

.footer-logo img { height: 46px; width: auto; margin-bottom: 1rem; }

.footer-description {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.footer-certifications { display: flex; flex-wrap: wrap; gap: 8px; }

.cert-badge {
    background: rgba(255,77,0,0.12);
    border: 1px solid rgba(255,77,0,0.25);
    color: var(--orange-2);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--orange);
    margin-bottom: 1.25rem;
}

/* footer contact items */
.footer .contact-info { display: flex; flex-direction: column; gap: 12px; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    width: 36px; height: 36px;
    background: rgba(255,77,0,0.1);
    border: 1px solid rgba(255,77,0,0.2);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--orange-2);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--gradient);
    border-color: transparent;
    color: white;
}

.contact-details strong {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.contact-details p {
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.contact-details a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.85rem;
}

.contact-details a:hover { color: var(--orange); }

/* footer social icons */
.footer .social-media { display: flex; gap: 12px; flex-wrap: wrap; }

.social-icon-round {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon-round:hover { transform: translateY(-3px); }

.social-icon-round.instagram:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(220,39,67,0.35);
}

.social-icon-round.whatsapp:hover {
    background: #25D366; border-color: transparent;
    box-shadow: 0 6px 18px rgba(37,211,102,0.35);
}

.social-icon-round.facebook:hover {
    background: #1877F2; border-color: transparent;
    box-shadow: 0 6px 18px rgba(24,119,242,0.3);
}

/* footer bottom */

.copyright p {
    color: rgba(255,255,255,0.25);
    font-size: 0.82rem;
    text-align: center;
    margin-bottom: 4px;
    line-height: 1.5;
}

.copyright p:last-child { margin-bottom: 0; }

/* ─── Scroll To Top ──────────────────────────────── */
.scroll-to-top {
    position: fixed;
    bottom: 85px; left: 20px;
    width: 44px; height: 44px;
    background: rgba(12,12,29,0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,77,0,0.3);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    z-index: 999;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 8px 24px var(--orange-glow);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .footer .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-section:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .footer .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-section:first-child { grid-column: auto; }
    .footer .contact-info { gap: 10px; }
}
