* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom right, #fff700, #fffde7);
    color: #333;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

    body.dark {
        background: #121212;
        color: #f5f5f5;
    }

header {
    background: #fff700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    flex-wrap: wrap;
    position: fixed;
    width: 100%;
    top: 40px;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

body.dark header {
    background: #1e1e1e;
}

.logo {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: nowrap;
}

    .logo img {
        height: 60px;
    }

.logo-text strong {
    font-size: 1.2em;
    color: #d32f2f;
    display: block;
}

.logo-text span {
    font-size: 1em;
    color: #444;
    display: block;
}

.menu-toggle, .theme-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #c62828;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

    .nav-links a {
        text-decoration: none;
        color: #c62828;
        font-weight: 600;
        padding: 10px 16px;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

        .nav-links a:hover,
        .nav-links a.active {
            background: #c62828;
            color: #fff;
        }

.hero-banner {
    background: linear-gradient(rgba(255, 241, 184, 0.7), rgba(198, 40, 40, 0.7)), url('images/hero/1.jpg') no-repeat center/cover;
    text-align: center;
    padding: 120px 20px;
    color: white;
    position: inherit;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.2);
    animation: bannerFade 2s ease-in-out;
    transition: background-image 1s ease-in-out;
}

.hero-content {
    max-width: 800px;
    margin: auto;
    animation: fadeInUp 1.5s ease-in-out;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

    .hero-content h1 {
        font-size: 2.8rem;
        font-weight: 700;
        margin-bottom: 20px;
        animation: fadeIn 2s ease forwards;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.25rem;
        font-weight: 400;
        margin-bottom: 30px;
        animation: fadeIn 2.5s ease forwards;
        color: #fffdf3;
    }

.hero-btn {
    background-color: #c62828;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: zoomIn 2s ease forwards;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.4);
    display: inline-block;
}

    .hero-btn:hover {
        background-color: #a61c1c;
        transform: translateY(-3px) scale(1.05);
    }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bannerFade {
    0% {
        opacity: 0;
        background-position: center top;
    }

    100% {
        opacity: 1;
        background-position: center center;
    }
}

.value-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: -100px;
    gap: 20px;
    padding: 0 20px 60px;
}

.value-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 30px;
    text-align: center;
    max-width: 320px;
    flex: 1 1 300px;
    transition: transform 0.3s ease;
}

    .value-card:hover {
        transform: translateY(-10px) scale(1.03);
        animation: pulse-glow 1.5s ease-in-out infinite;
    }

    .value-card .icon {
        font-size: 40px;
        color: #16a085;
        margin-bottom: 15px;
    }

    .value-card h3 {
        font-size: 22px;
        margin-bottom: 10px;
        color: #222;
    }

    .value-card p {
        font-size: 15px;
        color: #555;
        line-height: 1.6;
    }

    .value-card.highlighted {
        background: linear-gradient(to right, #56ab2f, #a8e063);
        color: #fff;
    }

        .value-card.highlighted h3,
        .value-card.highlighted p,
        .value-card.highlighted .icon {
            color: #fff;
        }

    .value-card .highlight {
        color: #ff9800;
        font-weight: bold;
    }

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 rgba(22, 160, 133, 0.3);
    }

    50% {
        box-shadow: 0 0 18px rgba(22, 160, 133, 0.5);
    }

    100% {
        box-shadow: 0 0 0 rgba(22, 160, 133, 0.3);
    }
}


/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.section-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

section h2 {
    font-size: 2.2em;
    color: #c62828;
    text-align: center;
    margin-bottom: 40px;
}

.services,
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.project-section {
    padding: 3rem 1rem;
    /* background: #f9f9f9;*/
    text-align: center;
}

    .project-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
        color: #c62828;
    }

.projects {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-content: center;
    align-items: stretch;
}

.project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    padding-bottom: 1rem;
}

    .project-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    }

    .project-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

.project-icon {
    position: absolute;
    top: 170px;
    left: 50%;
    transform: translateX(-50%);
    background: #c62828;
    color: #fff;
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    animation: blink 2s infinite;
}

.project-card h3 {
    margin-top: 2.5rem;
    font-size: 1.2rem;
    color: #222;
    padding: 0 1rem;
}

.project-card p {
    font-size: 0.95rem;
    color: #555;
    padding: 0 1rem;
}

/* Blinking animation */
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}




.service,
.project-card {
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service:hover,
    .project-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 30px rgba(198, 40, 40, 0.2);
    }

.service {
    background: #fffbe6;
}

.project-card {
    background: #fffde7;
}

body.dark .service,
body.dark .project-card {
    background: #1c1c1c;
}

.service i {
    font-size: 2.5em;
    color: #c62828;
    margin-bottom: 15px;
}

.project-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.project-card h3 {
    color: #c62828;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.service-intro {
    font-size: 1.1em;
    font-weight: 600;
    color: #c62828;
    text-align: center;
    margin: -20px 0 20px;
}

#contact {
    padding: 60px 20px;
    /* background: #f9f9f9;*/
    color: #333;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #c62828;
}

.location-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    background: #ffffff;
    color: #100f0f;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

    .tab-button:hover,
    .tab-button.active {
        background: #b71c1c;
        color: #ffffff;
    }

.location-content {
    max-width: 1000px;
    margin: auto;
}

.location-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

    .location-panel.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

.contact-card {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .contact-card:hover {
        transform: scale(1.01);
    }

.contact-details {
    flex: 1 1 300px;
    padding: 30px;
    text-align: left;
}

    .contact-details h3 {
        color: #d32f2f;
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .contact-details p {
        margin: 8px 0;
        font-size: 1rem;
    }

    .contact-details i {
        margin-right: 8px;
        color: #c62828;
    }

.social-links a {
    color: #b71c1c;
    margin-right: 15px;
    font-size: 1.3em;
    transition: color 0.3s;
}

    .social-links a:hover {
        color: #f44336;
    }

.map-container {
    flex: 1 1 400px;
    min-height: 350px;
}

    .map-container iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

@media (max-width: 768px) {
    .contact-card {
        flex-direction: column;
    }

    .contact-details, .map-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-card {
        flex-direction: column;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

    .whatsapp-float a {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #25d366;
        color: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        font-size: 24px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, background-color 0.3s ease;
        text-decoration: none;
    }

        .whatsapp-float a:hover {
            background-color: #1ebe5d;
            transform: scale(1.1) rotate(5deg);
        }



    .whatsapp-float a {
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

footer {
    background: #c62828;
    color: white;
    padding: 30px 20px;
    font-size: 0.95em;
}

body.dark footer {
    background: #000;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
}

.developer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .developer-brand img {
        height: 22px;
    }

.blink-link {
    color: #fff700;
    animation: blink 1.2s infinite;
    text-decoration: none;
}

.url-text {
    font-size: 0.9em;
    color: #aaa;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.blink-link:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
}



@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 10px 15px;
    }

    .developer-brand {
        justify-content: center;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    header {
        position: fixed;
        top: 60px;
        /*top: 0;*/
        left: 0;
        right: 0;
        width: 100%;
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        background: #fff700;
        padding: 10px 16px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    .menu-toggle,
    .theme-toggle {
        display: block;
        align-self: flex-end;
        margin-top: -18px;
        margin-bottom: 0px;
        font-size: 22px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 10px;
    }

        .nav-links.show {
            display: flex;
            background-color: #fff700;
            padding: 10px;
            border-radius: 6px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .nav-links a {
            width: 100%;
            text-align: center;
            font-size: 16px;
            padding: 10px 0;
        }

    .contact-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .developer-brand {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}
/* Toll-Free Bar Animation - Responsive */

.tollfree-top-bar {
    background: linear-gradient(to right, #e53935, #fbc02d);
    color: white;
    padding: 8px 20px;
    font-size: 15px;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.8s ease-out;
    box-shadow: 0 7px 25px #b16c6c;
}


/* Make text wrap and stay readable on small screens */
@media (max-width: 1024px) {
    .tollfree-top-bar {
        font-size: 14px;
        padding: 10px 15px;
        text-align: center;
    }

        .tollfree-top-bar strong {
            display: block;
            margin-top: 4px;
        }
}

/* Entrance animation */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blinking effect for Toll-Free number */
.tollfree-number {
    animation: pulseBlink 1.5s infinite ease-in-out;
}

/* Pulse animation */
@keyframes pulseBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Social icons animation + circle style */
.social-icons a {
    color: white;
    margin-left: 15px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgb(239 119 49); /* light transparent background */
    animation: socialBlink 2s infinite ease-in-out;
    transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

/* Animation remains the same */
@keyframes socialBlink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Hover effects */
.social-icons a:hover {
    color: #ffd600;
    background-color: rgba(255, 255, 255, 0.3); /* brighter on hover */
    transform: scale(1.2) rotate(5deg);
}
