/* 
   Kaji Web Solution - Design System
   Colors: Primary #1E3A8A, Secondary #3B82F6, Highlight #F97316
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #1E3A8A;
    --primary-dark: #13275c;
    --secondary: #3B82F6;
    --accent: #F97316;
    --light: #F8FAFC;
    --dark: #0F172A;
    --text-main: #334155;
    --text-muted: #64748b;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    color: var(--dark);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 0;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary) !important;
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 5px;
    padding: 8px 18px !important;
    border-radius: 50px;
    position: relative;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    background: var(--light);
}

.nav-link::after {
    display: none;
    /* Removed underline in favor of pill shape */
}

.nav-link:hover {
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.2);
}

.nav-link.active {
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

/* Admin Button in Nav */
.btn-admin-nav {
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 25px !important;
    border-radius: 0;
    transition: var(--transition);
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    background: transparent;
}

.btn-admin-nav:hover {
    background: var(--primary);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.2);
}

.nav-link.active::after {
    width: 100%;
    background: var(--primary);
}

/* Navbar Scrolled Adjustments */
.navbar.scrolled .nav-link {
    padding: 8px 20px !important;
}

/* Hero Section */
/* Hero Section & Slider */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 100px 0;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

#heroCarousel {
    width: 100%;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition);
    color: var(--primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: none !important;
    background-image: none !important;
}

.carousel-control-prev::after {
    content: '\f053';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.carousel-control-next::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 14px 35px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    color: var(--white);
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.2);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.4);
    color: var(--white);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    padding: 14px 40px;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.05);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.2);
}

/* Service Cards */
.service-card {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
    height: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(30, 58, 138, 0.12);
    background: #fff;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    display: inline-block;
}

/* Feature Cards (Why Choose Us) */
.feature-card {
    padding: 3rem 2rem;
    background: #fff;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.1);
    border-color: rgba(30, 58, 138, 0.1);
}

.feature-card:hover::after {
    opacity: 1;
}

.icon-box-large {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(59, 130, 246, 0.05));
    color: var(--primary);
    font-size: 2.2rem;
    margin: 0 auto 30px;
    transition: var(--transition);
    position: relative;
}

.feature-card:hover .icon-box-large {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.2);
}

.feature-card h4 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 15px;
    transition: var(--transition);
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Pricing Cards */
.pricing-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card.featured {
    border: none;
    background: var(--white);
    transform: scale(1.08);
    z-index: 2;
    box-shadow: 0 40px 80px rgba(30, 58, 138, 0.15);
}

.pricing-card.featured::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    z-index: -1;
    border-radius: 32px;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: translateY(-15px) scale(1.08);
}

.pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--dark);
}

.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.pricing-card ul li {
    padding: 10px 0;
    color: var(--text-muted);
}

/* Portfolio */
.portfolio-item {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.portfolio-item img {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Footer Map Adjustments */
.footer-map-wrapper {
    margin-top: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 160px;
}

.footer-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.5);
    /* Subtle grayscale for footer integration */
    transition: var(--transition);
}

.footer-map-wrapper:hover iframe {
    filter: grayscale(0);
}

.portfolio-item:hover img {
    transform: scale(1.15) rotate(2deg);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}


/* Footer */
footer {
    background: var(--dark);
    color: #cbd5e1;
    padding: 80px 0 30px;
}

/* Testimonials */
#testimonials {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

#testimonials::before {
    content: '“';
    position: absolute;
    top: -50px;
    right: 5%;
    font-size: 20rem;
    font-family: 'serif';
    color: var(--primary);
    opacity: 0.03;
    line-height: 1;
}

/* Section Wrappers for Decorative Blobs */
.contact-section-wrapper,
.why-section-wrapper {
    position: relative;
    z-index: 1;
}

.shape-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(59, 130, 246, 0.08));
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}

.shape-blob-1 {
    top: -50px;
    right: -100px;
}

.shape-blob-2 {
    bottom: -50px;
    left: -100px;
}

#contact .card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
}

.form-control {
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.form-control:focus {
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
    border-color: var(--primary);
    background: #fff;
}

.testimonial-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 1;
}

.testimonial-card p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 25px !important;
}

.testimonial-card img {
    border: 4px solid var(--white);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.15);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--primary);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 100px 0 40px;
    position: relative;
    font-size: 1rem;
    /* Base footer font size increased */
}

footer h5 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 25px;
}

footer p,
footer ul li,
footer a {
    font-size: 1rem;
    line-height: 1.8;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

footer a {
    color: #94a3b8;
}

footer a:hover {
    color: var(--secondary);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    color: #fff;
}

.social-links a:hover {
    background: var(--primary);
}

/* Animations */
[data-aos] {
    pointer-events: none;
}

.aos-animate {
    pointer-events: auto;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    left: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #FFF;
}


/* Responsive */
@media (max-width: 991px) {
    .pricing-card.featured {
        transform: scale(1);
    }

    .hero {
        padding-top: 100px;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .whatsapp-float {
        bottom: 90px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* About Us Enhancements */
.about-image-wrapper {
    position: relative;
    padding: 20px;
    z-index: 1;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(59, 130, 246, 0.05));
    border-radius: 30px;
    z-index: -1;
    transform: translate(-15px, -15px);
}

.about-feature-card {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    height: 100%;
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.about-feature-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.about-feature-card i {
    font-size: 1.5rem;
    color: var(--primary);
    background: var(--light);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-right: 15px;
    flex-shrink: 0;
}