/* =====================
   GLOBAL RESET
===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;

    /* 🔑 IMPORTANT */
    
}


/* =====================
   COMMON UTILITIES
===================== */
.container {
    width: 90%;
    margin: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =====================
   HEADER / NAVBAR
===================== */
header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-logo h1 {
    font-size: 26px;
    color: #0d6efd;
}

.site-logo {
    height: calc(var(--header-height) - 12px);
    width: auto;
    object-fit: contain;
}

.navbar-brand img {
    max-height: 100%;
}


nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    font-weight: 600;
    color: #333;
    padding: 0px 10px;
}

.nav-brand {
    padding: 0;
    margin: 0;
}


/* Bootstrap nav link fixes */
.nav-link {
    font-weight: 500;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.nav-link:not(.active):hover {
    background-color: #f1f5ff;
}

.nav-link.active {
    background-color: #0d6efd;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
    cursor: default;
}

.nav-link.active:hover {
    background-color: #0d6efd;
}

/* =====================
   HERO SECTION (FIXED)
===================== */
:root {
    --header-height: 80px;
}

#hero {
    margin-top: var(--header-height);
    height: calc(100vh - var(--header-height));
    position: relative;
    overflow: hidden;
}

#hero .carousel,
#hero .carousel-inner,
#hero .carousel-item {
    height: 100%;
}

#hero .carousel-item {
    background-size: cover;
    background-position: center;
    will-change: transform;
    backface-visibility: hidden;
}

/* HERO CONTENT */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    z-index: 10;
}

.hero-content h2 {
    font-size: 48px;
    max-width: 700px;
}

.hero-content p {
    margin: 20px 0;
    max-width: 600px;
    font-size: 18px;
}

.hero-content a {
    margin-right: 15px;
    padding: 12px 24px;
    font-weight: 600;
}


/* =====================
   FEATURED PROJECTS
===================== */

.featured-projects {
    padding: 90px 0;
    background: url("../images/cardbg.jpg") center / cover no-repeat;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    font-weight: 700;
}

.section-title span {
    color: #28a745;
}

/* =====================
   GRID
===================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* =====================
   CARD (FIXED)
===================== */
.project-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden; /* 🔑 prevents image overflow */
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    display: flex;
    flex-direction: column; /* 🔑 vertical split */
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
}

/* =====================
   BADGE
===================== */
.badge-new {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(90deg, #ff6a00, #ffb347);
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 20px;
    font-weight: 600;
    z-index: 2;
}

/* =====================
   IMAGE SECTION (FIXED)
===================== */
.project-image {
    width: 100%;
    height: 180px;              /* 🔒 fixed image height */
    background: #ddd;           /* placeholder */
    overflow: hidden;
    flex-shrink: 0;             /* 🔑 prevents collapse */
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* 🔑 no stretch */
    display: block;
    transition: transform 0.4s ease;
}

/* Optional hover zoom */
.project-card:hover .project-image img {
    transform: scale(1.05);
}

/* =====================
   CONTENT
===================== */
.project-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-content h3 {
    font-size: 18px;
    color: #0d6efd;
    margin-bottom: 6px;
}

.project-content .location {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

/* =====================
   FEATURES LIST
===================== */
.project-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.project-features li {
    font-size: 14px;
    margin-bottom: 6px;
    color: #333;
}

/* =====================
   BUTTON
===================== */
.project-content .btn {
    margin-top: auto;           /* 🔑 button stays at bottom */
    width: 100%;
    border-radius: 8px;
}

/* =====================
   VIEW ALL
===================== */
.view-all-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* =====================
   COMPANY OVERVIEW
===================== */

.company-overview {
    position: relative;
    padding: 100px 0;
    background: url("../images/company.png") center/cover no-repeat;
    color: #fff;
}

.company-overview .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.company-overview .container {
    position: relative;
    z-index: 2;
}

/* GRID */
.overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* LEFT TEXT */
.overview-text h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.overview-text h2 span {
    color: #f4c10f;
}

.overview-text h5 {
    color: #cce4ff;
    margin-bottom: 20px;
}

.overview-text p {
    line-height: 1.7;
    max-width: 550px;
    margin-bottom: 30px;
}

/* RIGHT CARDS */
.overview-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.overview-card {
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.overview-card h4 {
    margin: 15px 0 8px;
}

.overview-card p {
    font-size: 14px;
}

/* ICONS */
.icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.icon.blue { background: #e6f0ff; color: #0d6efd; }
.icon.green { background: #e9f9ee; color: #28a745; }
.icon.yellow { background: #fff6db; color: #f4b400; }

/* HIGHLIGHT CARD */
.overview-card.highlight {
    background: linear-gradient(135deg, #0d6efd, #1e5bd9);
    color: #fff;
    text-align: center;
}

.overview-card.highlight h1 {
    font-size: 42px;
    margin: 10px 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .overview-cards {
        grid-template-columns: 1fr;
    }

    .overview-card.highlight {
        grid-column: span 1;
    }
}


/* =====================
   SERVICES SECTION
===================== */

.services-section {
    padding: 100px 0;
    background: url("../images/servicebg.svg") center/cover no-repeat;
    overflow: hidden;
}

.services-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

/* IMAGE */
.services-image img {
    max-width: 100%;
    display: block;
}

/* TEXT */
.services-content h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.services-content h2 span {
    color: #28a745;
}

.subtitle {
    color: #555;
    margin-bottom: 30px;
    max-width: 500px;
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.service-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* STATS */
.stats-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: #fff7cc;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.stat-card h3 {
    font-size: 28px;
    margin-bottom: 5px;
}

/* =====================
   ANIMATION BASE STATES
===================== */

.animate-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 0.9s ease;
}

.animate-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

/* ACTIVE STATE */
.animate-left.show,
.animate-up.show {
    opacity: 1;
    transform: translate(0);
}

/* STAGGER EFFECT */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .services-wrapper {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================
   SOCIAL HIGHLIGHTS
===================== */

#social-highlights {
    padding: 90px 0;
    background: url("../images/socialbg.png") center/cover no-repeat;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #fff;
}

.section-title span {
    color: #ffd500;
}

/* GRID */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

/* CARD */
.social-card {
    background: #fff;
    border: 1px solid #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.35);
}

/* IMAGE */
.social-image {
    height: 200px;
    overflow: hidden;
}

.social-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FOOTER */
.social-footer {
    padding: 18px;
}

.social-footer h4 {
    font-size: 17px;
    margin-bottom: 4px;
    font-weight: 700;
}

.social-footer span {
    font-size: 14px;
    color: #666;
}

/* PLATFORM ICON */
.social-card::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}

/* PLATFORM COLORS */
.instagram::before {
    background-color: #e5e5e5;
    background-image: url("https://cdn-icons-png.flaticon.com/512/2111/2111463.png");
}

.facebook::before {
    background-color: #e5e5e5;
    background-image: url("https://cdn-icons-png.flaticon.com/512/733/733547.png");
}

.youtube::before {
    background-color: #e5e5e5;
    background-image: url("https://cdn-icons-png.flaticon.com/512/1384/1384060.png");
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .social-image {
        height: 180px;
    }
}



/* =====================
   CTA SECTION
===================== */
#cta {
    background: #0d6efd;
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
}

#cta a {
    display: inline-block;
    margin-top: 20px;
    background: #ffffff;
    color: #0d6efd;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 5px;
}

/* CTA subtle grow–contract animation */
.cta-pulse {
    animation: pulseScale 2s ease-in-out infinite;
    transform-origin: center;
}

/* Stop animation on hover (professional touch) */
.cta-pulse:hover {
    animation-play-state: paused;
    transform: scale(1.05);
}

/* Keyframes */
@keyframes pulseScale {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
    100% {
        transform: scale(1);
    }
}


/* =====================
   FAQ SECTION
===================== */

.faq-section {
    padding: 90px 0;
    background: #ffffff;
}

.faq-title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 60px;
}

.faq-item {
    max-width: 900px;
    margin: 0 auto 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
}

.faq-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}


/* =====================
   FOOTER
===================== */

.site-footer {
    background: linear-gradient(180deg, #0e1525, #141e30);
    color: #cfd6e1;
    padding-top: 70px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

/* BRAND */
.footer-logo {
    height: 48px;
    margin-bottom: 15px;
}

.footer-brand p {
    margin-bottom: 18px;
    line-height: 1.6;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1f2a44;
    color: #fff;
    margin-right: 10px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.footer-socials a:hover {
    background: #0d6efd;
}

/* LINKS */
.site-footer h4 {
    color: #ffffff;
    margin-bottom: 18px;
    font-size: 16px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cfd6e1;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0d6efd;
}

/* CONTACT */
.footer-contact a {
    color: #0d6efd;
}

/* MAP */
.footer-map iframe {
    width: 100%;
    height: 160px;
    border: none;
    border-radius: 8px;
}

/* BOTTOM BAR */
.footer-bottom {
    margin-top: 50px;
    padding: 18px 10px;
    text-align: center;
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    font-size: 13px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* FACEBOOK */
.footer-socials a:nth-child(1) {
    background-color: #1876f298;
    background-image: url("https://cdn-icons-png.flaticon.com/512/733/733547.png");
}

/* INSTAGRAM */
.footer-socials a:nth-child(2) {
    background-color: #d629779a;
    background-image: url("https://cdn-icons-png.flaticon.com/512/2111/2111463.png");
}

/* YOUTUBE */
.footer-socials a:nth-child(3) {
    background-color: #ff00008b;
    background-image: url("https://cdn-icons-png.flaticon.com/512/1384/1384060.png");
}

/* HOVER EFFECT */
.footer-socials a:hover {
    transform: scale(1.05); 
}


/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 36px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }
}


/* =====================
   FLOATING ACTION BUTTONS
===================== */

.floating-actions {
    position: fixed;
    right: 18px;
    bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
}

.float-btn {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background-repeat: no-repeat;
    background-position: center;
    background-size: 26px;

    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
    text-decoration: none;
    transition: transform 0.25s ease;
}

/* LABEL */
.float-text {
    position: absolute;
    right: 58px;
    background: #000;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;

    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* SHOW LABEL */
.float-btn:hover .float-text {
    opacity: 1;
    transform: translateX(0);
}

/* HOVER LIFT */
.float-btn:hover {
    transform: translateY(-3px);
}

/* =====================
   PLATFORM STYLES
===================== */

/* WHATSAPP */
.float-btn.whatsapp {
    background-color: #25d366;
    background-image: url("https://cdn-icons-png.flaticon.com/512/733/733585.png");
}

.float-btn.whatsapp .float-text {
    background: #25d366;
}

/* CALL */
.float-btn.call {
    background-color: #0d6efd;
    background-image: url("https://cdn-icons-png.flaticon.com/512/597/597177.png");
}

.float-btn.call .float-text {
    background: #0d6efd;
}
