/* ============================================
   CUSTOM BOOTSTRAP STYLING
   ============================================ */

:root {
    --bs-primary: #0066ff;
    --bs-primary-rgb: 0, 102, 255;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
}

body {
font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================
   NAVBAR STYLING
   ============================================ */

.navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #000 !important;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

/* ============================================
   HERO CAROUSEL
   ============================================ */

.hero-carousel {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.carousel {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    position: relative;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    color: white;
    padding: 2rem;
}

.carousel-caption h1 {
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.8s ease;
}

.carousel-caption p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.8s ease 0.2s backwards;
}

.carousel-caption .btn {
    animation: slideInUp 0.8s ease 0.4s backwards;
}

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

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: none;
    opacity: 1 !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.6) !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: 100% 100%;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--bs-primary);
    color: white;
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.2);
}

.btn-outline-primary {
    color: var(--bs-primary);
    border: 2px solid var(--bs-primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--bs-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 12px 32px;
    font-size: 1rem;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    border: 1px solid #e0e0e0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px !important;
}

.card:hover {
    border-color: var(--bs-primary) !important;
}

.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.15) !important;
}

.portfolio-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.15) !important;
    border-color: var(--bs-primary) !important;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: #000;
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 0.95rem;
    color: #666;
}

.card-img-top {
    transition: all 0.3s ease;
}

.portfolio-card:hover .card-img-top {
    transform: scale(1.05);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    position: relative;
}

.py-lg-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

@media (max-width: 991px) {
    .py-lg-6 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
    color: #000;
}

h2 {
    color: #000;
}

h3, h4, h5, h6 {
    color: #000;
}

.text-muted {
    color: #666 !important;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 800;
}

.display-6 {
    font-size: 2rem;
    font-weight: 800;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

/* ============================================
   FORMS
   ============================================ */

.form-control {
    border: 1px solid #e0e0e0;
    background: #f8f9fa;
    color: #000;
    transition: all 0.3s ease;
    padding: 12px 16px;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--bs-primary);
    background: white;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 255, 0.15);
    color: #000;
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: #1a1a1a;
    color: #fff;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--bs-primary) !important;
}

.text-muted {
    color: #999 !important;
}

/* ============================================
   UTILITIES
   ============================================ */

.rounded-4 {
    border-radius: 16px !important;
}

.rounded-3 {
    border-radius: 12px !important;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.opacity-25 {
    opacity: 0.25;
}

.opacity-50 {
    opacity: 0.5;
}

.badge {
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-carousel {
        height: 400px;
    }

    .carousel-caption h1 {
        font-size: 1.75rem;
    }

    .carousel-caption p {
        font-size: 0.95rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .lead {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 10px 24px;
        font-size: 0.95rem;
    }

    .card-body {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero-carousel {
        height: 300px;
    }

    .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.85rem;
    }

    .carousel-caption .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .display-4 {
        font-size: 1.75rem;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .display-6 {
        font-size: 1.25rem;
    }

    .lead {
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .py-lg-6 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0052cc;
}

/* ============================================
   SELECTION
   ============================================ */

::selection {
    background: var(--bs-primary);
    color: white;
}

::-moz-selection {
    background: var(--bs-primary);
    color: white;
}
