@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-main: #ffffff;
    --bg-card: #f8f9fa;
    --primary: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-glow: rgba(29, 78, 216, 0.2);
    --accent: #f59e0b;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --shadow: rgba(0, 0, 0, 0.1);
    --font-outfit: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-outfit);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px var(--primary-glow);
    }

    50% {
        box-shadow: 0 0 20px var(--primary-glow);
    }

    100% {
        box-shadow: 0 0 5px var(--primary-glow);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.4s ease;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px var(--shadow);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 20px var(--shadow);
}

.navbar-brand img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    padding: 3px;
    background: white;
    animation: logoSpin 20s linear infinite, logoPulse 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.1);
    animation-play-state: paused;
}

@keyframes logoSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes logoPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 var(--primary-glow);
    }

    50% {
        box-shadow: 0 0 0 10px transparent;
    }
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    margin: 0 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(135deg, #eef2ff 0%, #fef3c7 50%, #ffffff 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}


.hero-content {
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-image-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-carousel-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-carousel-container .carousel-inner {
    border-radius: 24px;
    overflow: hidden;
}

.hero-carousel-container .carousel-item {
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.hero-carousel-container .carousel-item img {
    border-radius: 24px;
    height: 500px;
    object-fit: cover;
    width: 100%;
}

.hero-carousel-container .carousel-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(to right, rgba(29, 78, 216, 0.9), transparent);
    padding: 1rem 2rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.hero-carousel-container .carousel-indicators {
    bottom: -30px;
}

.hero-carousel-container .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.5;
    border: none;
}

.hero-carousel-container .carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.2);
}

.hero-image-container img {
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
}

.hero-glass {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: white;
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 20px;
    z-index: 3;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    box-shadow: 0 10px 30px var(--shadow);
}

/* Story Section */
.story-section {
    padding: 100px 0;
    position: relative;
}

.section-tag {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: block;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

/* Cards & Glassmorphism */
.glass-panel {
    background: white;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.glass-panel:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(29, 78, 216, 0.15);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 10px var(--primary-glow);
}

/* Services */
.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.service-card {
    height: 100%;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
}

/* Button Styles */
.btn-premium {
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    color: white;
}

.btn-premium-outline {
    border: 2px solid var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
}

.btn-premium-outline:hover {
    background: var(--primary);
    color: white;
}


@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.icon-box i {
    transition: transform 0.3s ease;
}

.glass-panel:hover .icon-box i {
    transform: scale(1.2) rotate(5deg);
}

.project-wrapper img {
    filter: brightness(1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-wrapper:hover img {
    filter: brightness(0.9);
    transform: scale(1.08);
}


.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-wrapper:hover img {
    transform: scale(1.1);
}

.project-wrapper:hover .project-overlay {
    opacity: 1;
}

.project-overlay h5 {
    color: var(--text-main);
}

.project-overlay p {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 991px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

/* Construction Slideshow */
.construction-slideshow {
    position: relative;
    overflow: hidden;
}

.construction-slideshow .carousel-item {
    height: 70vh;
    min-height: 500px;
}

.construction-slideshow .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.construction-slideshow .carousel-caption {
    bottom: 15%;
    left: 10%;
    right: 10%;
    text-align: left;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7));
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px var(--shadow);
}

.construction-slideshow .carousel-caption h3 {
    text-shadow: none;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.construction-slideshow .carousel-caption p {
    max-width: 600px;
    text-shadow: none;
    color: var(--text-muted);
}

.construction-slideshow .carousel-caption .section-tag {
    color: var(--primary);
}

.construction-slideshow .carousel-control-prev,
.construction-slideshow .carousel-control-next {
    width: 5%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.construction-slideshow .carousel-control-prev:hover,
.construction-slideshow .carousel-control-next:hover {
    opacity: 1;
}

.construction-slideshow .carousel-indicators {
    bottom: 5%;
}

.construction-slideshow .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.construction-slideshow .carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .construction-slideshow .carousel-caption {
        left: 5%;
        right: 5%;
        padding: 1.5rem;
        bottom: 10%;
    }

    .construction-slideshow .carousel-caption h3 {
        font-size: 1.5rem;
    }
}