/* General Settings */
:root {
    --primary-blue: #1a5fb4;
    --dark-blue: #0d3b66;
    --light-gray: #f8f9fa;
    --text-dark: #333333;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
.brand-name {
    font-family: 'Playfair Display', serif;
}

/* Header & Logo */
.brand-name {
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--primary-blue);
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #888;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin: 0 10px;
    transition: color 0.3s ease;
    color: black;
}

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

/* Custom Buttons */
.btn-blue-outline {
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

/* Hero Section (Reference to the Norman House CA style) */
.hero-slider {
    position: relative;
    height: 80vh;
    background-color: #eee;
}

.featured-box {
    position: absolute;
    bottom: 10%;
    right: 10%;
    background: var(--primary-blue);
    color: white;
    padding: 30px;
    max-width: 400px;
    z-index: 10;
}

/* Typography Helpers */
.text-blue {
    color: var(--primary-blue);
}

/* Carousel Enhancements */
.carousel-fade .carousel-item {
    transition-duration: 0.8s;
    /* Smooth fade transition */
}

/* Positioning the arrows */
.hero-arrow-wrap {
    width: 80px;
    opacity: 1 !important;
}

.hero-arrow {
    background: white;
    color: var(--text-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.hero-arrow-wrap:hover .hero-arrow {
    background: var(--primary-blue);
    color: white;
}

/* Custom Indicators (The dots at the bottom) */
.custom-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    margin: 0 5px;
}

.custom-indicators .active {
    background-color: var(--primary-blue);
}

/* Ensure box stays on top */
.featured-box {
    z-index: 15;
    /* Keeping your previous styling for the blue box */
    position: absolute;
    bottom: 10%;
    right: 5%;
    background: var(--primary-blue);
    color: white;
    padding: 40px;
    width: 100%;
    max-width: 450px;
}

/* Left Side Content Styling */
.hero-left-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: white;
    z-index: 10;
    max-width: 500px;
}

.hero-main-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.text-blue-light {
    color: #a5ccff;
    /* A lighter blue to contrast the dark background */
}

.hero-sub-text {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-top: 20px;
    font-weight: 300;
    text-transform: uppercase;
    border-left: 3px solid var(--primary-blue);
    padding-left: 15px;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .hero-left-content {
        top: 20%;
        padding: 20px;
    }

    .hero-main-title {
        font-size: 2.5rem;
    }

    .featured-box {
        bottom: 5%;
        right: 0;
        padding: 20px;
    }
}

.hero-item {
    height: calc(100vh - 90px) !important;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

#heroCarousel,
.carousel-inner {
    height: calc(100vh - 90px);
}

.hero-left-content {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 10;
}

/* Section Background & Global Separation */
.about-unique {
    background-color: #fcfcfc !important;
    /* Very light gray to prevent blending with white sections */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.side-marker {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: rotate(-90deg) translateY(-50%);
    font-size: 8rem;
    font-weight: 900;
    color: #f1f1f1;
    white-space: nowrap;
    letter-spacing: 15px;
    z-index: 0;
    opacity: 0.6;
}

/* Mohit Karnavat Identity Card Styles */
.hello-box {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border: 1px solid #eee;
    margin-right: -100px;
    /* Pulls text over image */
}

.card-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    pointer-events: none;
    background-image:
        linear-gradient(#1a5fb4 1px, transparent 1px),
        linear-gradient(90deg, #1a5fb4 1px, transparent 1px);
    background-size: 25px 25px;
    z-index: 1;
}

/* Outline Typography */
.outline-text-blue {
    color: transparent;
    -webkit-text-stroke: 1.2px #1a5fb4;
    font-weight: 700;
}

.tracking-widest {
    letter-spacing: 4px;
    font-size: 0.75rem;
}

.italic {
    font-style: italic;
    font-family: 'Playfair Display', serif;
    color: #444;
    font-size: 1.1rem;
}

.quote-border {
    border-left: 3px solid #1a5fb4;
}

/* Image Stack Handling */
.image-stack-container {
    position: relative;
    padding: 40px 0;
}

.shape-bg-fixed {
    position: absolute;
    right: -6%;
    top: 0%;
    width: 95%;
    height: 80%;
    background-color: #c5dffb57;
    z-index: -1;
}

.frame-main-unique {
    width: 90%;
    margin-left: auto;
    position: relative;
    z-index: 2;
    border: 10px solid #ffffff;
}

.frame-sub-unique {
    position: absolute;
    bottom: -30px;
    left: 60px;
    width: 45%;
    z-index: 5;
    border: 10px solid #ffffff;
}

.geometric-blue {
    position: absolute;
    top: 15%;
    right: 0;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 45px solid #1a5fb4;
    transform: rotate(45deg);
    z-index: 6;
}

.signature-line {
    width: 40px;
    height: 2px;
    background: #1a5fb4;
    margin-right: 15px;
}

.btn-explore {
    color: #1a5fb4;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.7rem;
    transition: 0.3s ease;
}

.btn-explore:hover {
    letter-spacing: 3px;
    opacity: 0.8;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .hello-box {
        margin-right: 0;
        margin-bottom: -50px;
        padding: 2rem !important;
    }

    .image-stack-container {
        padding-left: 0 !important;
    }

    .frame-sub-unique {
        width: 55%;
    }
}

/* Projects Styling */
.projects-section {
    background-color: #ffffff;
}

.letter-spacing-2 {
    letter-spacing: 2px;
    font-size: 0.7rem;
}

/* Custom Navigation Buttons */
.nav-btn {
    background: none;
    border: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #888;
    transition: 0.3s ease;
    padding: 10px 0;
    border-bottom: 1px solid transparent;
}

.nav-btn:hover {
    color: var(--primary-blue);
    border-bottom: 1px solid var(--primary-blue);
}

/* Project Cards */
.project-img-wrapper {
    position: relative;
    overflow: hidden;
}

.project-img-wrapper img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 95, 180, 0.85);
    /* Your theme blue */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
}

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

.view-btn {
    width: 60px;
    height: 60px;
    background: #fff;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.project-card:hover .view-btn {
    transform: translateY(0);
}

.project-info h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 5px;
}

.testiminal-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #0e5cb0;
    margin-bottom: 20px;
}

.navbar-brand 
{
    margin-left: 10px;
}