/* Hero Section Styles */
:root {
  --primary-color: #3498db;
  --secondary-color: #e42620;
  --link-color: #e42621;
  --heading-text-color: #191919;
  --text-color: #3a3a3a;
  --background-color: #f4f4f4;
}

.hero-section {
    background-image: url('../images/Design-office-4.png');
    box-shadow: 0 8px 16px color-mix(in srgb, black 30%, transparent);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

.hero-content-box {
    background: color-mix(in srgb, var(--primary-color) 60%, transparent);
    backdrop-filter: blur(5px);
    border: 1px solid color-mix(in srgb, white 20%, transparent);
    box-shadow: 0 8px 32px color-mix(in srgb, black 30%, transparent);
    width: 520px;
    margin-left: auto;
}

.hero-section .container-fluid {
    z-index: 2;
    padding-right: 2rem;
}

/* Button hover effects */
.hero-section .btn {
    transition: all 0.3s ease;
}

.hero-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.blue-section {
    background:  var(--primary-color);
    box-shadow: 0 8px 32px color-mix(in srgb, black 30%, transparent);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

.blue-section h1 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 0;
}


/* Media queries for responsiveness */
/* Center content box at 1200px breakpoint */
@media (max-width: 1200px) {
    .hero-content-box {
        width: 520px;
        margin: 0 auto;
        text-align: center;
    }
    
    .hero-section .container-fluid {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
    
    .hero-section .d-md-flex {
        justify-content: center !important;
    }
}

/* Center content box when it would overflow */
@media (max-width: 600px) {
    .hero-content-box {
        width: calc(100vw - 3rem);
        max-width: 520px;
        margin: 0 auto;
        text-align: center;
    }
    
    .hero-section .container-fluid {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
    
    .hero-section .d-md-flex {
        justify-content: center !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        min-height: 80vh;
    }
    
    .hero-section .row {
        min-height: 80vh !important;
    }
    
    .hero-section h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-section .lead {
        font-size: 1.1rem !important;
    }
}


@media (max-width: 576px) {
    .hero-section {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    }
}
