/* Hero Carousel */
.hero-carousel {
    height: 80vh;
    overflow: hidden;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-position: center 25%;
    object-fit: cover;
    display: block;
}

.carousel-item:nth-child(3) .hero-image {
    object-position: center 100%;
}

.carousel-inner,
.carousel-item {
    height: 100%;
}

.carousel-item {
    background-size: cover;
    background-position: center;
}

.carousel-caption {
    bottom: 30%;
    background: transparent;
    border-radius: 15px;
    padding: 30px;
    padding-left: 50px;
    max-width: 700px;
    margin: 0;
    left: 15%;
    right: auto;
    backdrop-filter: none;
    animation: fadeInUp 1s ease;
    border-left: 5px solid #ffffff;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* Carousel Caption Responsive Adjustments */
@media (max-width: 1536px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 1366px) {
    .carousel-caption {
        bottom: 25%;
        left: 12%;
        max-width: 650px;
        padding: 25px;
        padding-left: 40px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 25px;
    }
}

@media (max-width: 992px) {
    .carousel-caption {
        bottom: 20%;
        left: 10%;
        max-width: 80%;
        padding: 20px;
        padding-left: 30px;
        border-left-width: 4px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .carousel-caption {
        top: 50%;
        bottom: auto;
        left: 5%;
        right: 5%;
        transform: translateY(-50%);
        max-width: 90%;
        padding: 15px;
        padding-left: 20px;
        border-left-width: 3px;
        animation: none;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

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

@media (max-width: 576px) {
    .carousel-caption {
        top: 50%;
        bottom: auto;
        left: 3%;
        right: 3%;
        transform: translateY(-50%);
        max-width: 94%;
        padding: 12px;
        padding-left: 15px;
        border-left-width: 2px;
        animation: none;
    }

    .hero-title {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .btn-outline-custom {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
}

.btn-outline-custom {
    background: var(--dark-gray);
    border: 2px solid var(--dark-gray);
    color: var(--bg-white);
    padding: 10px 30px;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: var(--dark-gray);
    color: var(--bg-white);
    transform: translateY(-3px);
}

/* Carousel arrows */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 70%;
}
/*End of Carousel */

/* Contact Hero Section */
.contact-hero-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    overflow: hidden;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.subtitle-animate {
    color: var(--dark-gray);
    font-weight: 500;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease 0.3s both;
}

.contact-content {
    position: relative;
    z-index: 1;
}

/* Contact Items */
.contact-list {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 30px;
    background: var(--bg-white);
    border-left: 4px solid var(--primary-blue);
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    animation: fadeInLeft 0.8s ease;
}

.contact-item:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-item:nth-child(3) {
    animation-delay: 0.4s;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.2);
    border-left-color: var(--light-blue);
}

.contact-icon {
    display: none;
}

.contact-info {
    flex: 1;
}

.contact-label {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0;
    font-size: 1.4rem;
    line-height: 1;
}

.contact-detail {
    color: var(--dark-gray);
    margin: 0;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1;
}

.address-details .contact-detail {
    font-size: 1.3rem;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-icon {
    font-size: 3rem;
    color: var(--bg-white);
}

.cta-text {
    color: var(--bg-white);
    font-weight: 600;
    font-size: 1.2rem;
}

.btn-premium {
    background: var(--bg-white);
    border: none;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-premium:hover {
    background: var(--dark-gray);
    color: var(--bg-white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.4);
}

/* Image Section */
.image-section {
    position: relative;
    z-index: 1;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: fadeInRight 1s ease;
}

.contact-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.image-container:hover .contact-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.image-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

/* Map Section */
.modern-content-section {
    position: relative;
    padding: 80px 0;
    background: var(--bg-light);
    overflow: hidden;
}

.content-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


@keyframes floatSlow {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-30px, 30px) rotate(240deg);
    }
}

.content-container {
    position: relative;
    z-index: 1;
}

.modern-content-header {
    margin-bottom: 50px;
}

.modern-content-header h1 {
    font-weight: 700;
    color: var(--dark-gray);
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.modern-content-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-blue);
}

/* Map Wrapper */
.map-section {
    margin-top: 40px;
}

.map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    animation: fadeInDown 1s ease;
}

.map-info-card {
    background: rgba(44, 62, 80, 0.95);
    padding: 25px 30px;
    border-radius: 15px;
    color: var(--bg-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 300px;
    position: relative;
}

.info-icon {
    width: auto;
    height: auto;
    margin-bottom: 15px;
}

.info-icon i {
    font-size: 48px;
    color: var(--primary-blue);
}

.map-info-card h4 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.map-info-card p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #ddd;
}

.map-info-card button {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    background: transparent;
    color: var(--bg-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.map-info-card button:hover {
    color: var(--primary-blue);
}

.interactive-map {
    border-radius: 20px;
    transition: var(--transition);
}

.interactive-map:hover {
    filter: grayscale(0%) contrast(1.1) !important;
}

/* Contact Form Section */
.contact-form-container {
    padding: 80px 0;
    position: relative;
}

.contact-form-wrapper {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.contact-form-header h1 {
    font-weight: 700;
    color: var(--dark-gray);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-form-header p {
    color: var(--medium-gray);
    font-size: 1.1rem;
}

/* Form Fields */
.form-field-group {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-control,
.form-select {
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-light);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    background-color: var(--bg-white);
    outline: none;
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: #28a745;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
}

.valid-feedback {
    color: #28a745;
    font-size: 0.9rem;
    margin-top: 5px;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Submit Button */
.btn-submit {
    background: var(--primary-blue);
    border: none;
    color: var(--bg-white);
    padding: 15px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

.btn-submit:hover {
    background: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.5);
}

.btn-submit:active {
    transform: translateY(-1px);
}

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

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-outline-custom {
        padding: 10px 30px;
        font-size: 0.9rem;
    }

    .contact-hero-section {
        padding: 50px 0;
    }

    .subtitle-animate {
        font-size: 1.3rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin: 0 auto 15px;
    }

    .cta-section {
        padding: 30px 20px;
    }

    .cta-text {
        font-size: 1rem;
    }

    .btn-premium {
        padding: 10px 30px;
        font-size: 0.9rem;
    }

    .image-container {
        margin-top: 40px;
    }

    .modern-content-header h1 {
        font-size: 1.8rem;
    }

    .map-wrapper {
        border-radius: 15px;
    }

    .map-overlay {
        position: static;
        margin-bottom: 20px;
    }

    .map-info-card {
        max-width: 100%;
    }

    .interactive-map {
        height: 400px !important;
    }

    .contact-form-wrapper {
        padding: 30px 20px !important;
    }

    .contact-form-header h1 {
        font-size: 1.8rem;
    }

    .contact-form-header p {
        font-size: 1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }
}

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

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .contact-hero-section {
        padding: 40px 0;
    }

    .subtitle-animate {
        font-size: 1.1rem;
    }

    .contact-item {
        padding: 15px;
    }

    .contact-label {
        font-size: 1rem;
    }

    .contact-detail {
        font-size: 0.9rem;
    }

    .cta-icon {
        font-size: 2rem;
    }

    .modern-content-header h1 {
        font-size: 1.5rem;
    }

    .contact-form-header h1 {
        font-size: 1.5rem;
    }

    .btn-submit {
        font-size: 1rem;
        padding: 12px 30px;
    }
}

/* Print Styles */
@media print {

    .hero-carousel,
    .floating-shapes,
    .floating-elements,
    .btn-outline-custom,
    .btn-premium,
    .btn-submit,
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators {
        display: none !important;
    }

    .contact-form-wrapper,
    .contact-hero-section {
        box-shadow: none !important;
        page-break-inside: avoid;
    }
}