/* 
 * Venturox Immobilien GmbH - Main Stylesheet
 * A modern, responsive design with animations
 * Using blue color schemes as requested
 */

/* ========== SELF-HOSTED FONTS (DSGVO-konform) ========== */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('../fonts/opensans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('../fonts/opensans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ========== VARIABLES ========== */
:root {
    /* Color Palette - Blues */
    --primary-blue: #00b0ea; /* Hauptblauton aus dem Logo */
    --primary-blue-dark: #0090c0; /* Dunklere Variante */
    --primary-blue-light: #4dcbf4; /* Hellere Variante */
    --secondary-blue: #007a9e; /* Sekundärer Blauton */
    --accent-blue: #8fe2ff; /* Akzentfarbe */
    --bg-light: #f8fbfe; /* Leicht bläulicher Hintergrund */
    --text-dark: #1c2438;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-md-lg: 2rem; /* New intermediate spacing value */
    
    /* Layout */
    --border-radius: 0.5rem;
    --container-max-width: 1200px;
    --header-height: 80px;
    --transition-speed: 0.3s;
}

/* ========== GENERAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--primary-blue-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 980px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    letter-spacing: -0.01em;
    line-height: 1;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-blue-light);
    transform: scale(1.03);
}

.btn-secondary {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.section-padding {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

/* Special spacing classes for better section flow */
.mission.section-padding {
    padding-bottom: var(--spacing-md-lg); /* Reduced bottom padding */
}

.services.section-padding {
    padding-top: var(--spacing-md-lg); /* Reduced top padding to match */
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: var(--spacing-sm) auto 0;
}

.section-subtitle {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.light {
    color: var(--text-light);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.bg-primary .section-title:after {
    background-color: var(--text-light);
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all var(--transition-speed);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    padding: 4px 0;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: var(--spacing-md);
    display: flex;
    align-items: center;
}

.nav-list a {
    color: var(--text-dark);
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    transition: color var(--transition-speed);
    display: flex;
    align-items: center;
}

.nav-list a:hover {
    color: var(--primary-blue);
}

.nav-list a.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    border: none;
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 980px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    min-height: 36px;
    margin: 0;
}

.nav-list a.btn:hover {
    background-color: var(--primary-blue-light);
    transform: scale(1.03);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 3px;
    opacity: 1;
    transform: rotate(0deg);
    transition: all 0.3s ease-in-out;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 9px;
}

.menu-toggle span:nth-child(3) {
    top: 18px;
}

.menu-toggle.active span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('../images/pexels-pixabay-358636.jpg') center 30% / cover no-repeat;
    background-attachment: scroll;
    color: var(--text-light);
    margin-top: var(--header-height);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 30, 60, 0.85), rgba(0, 176, 234, 0.7));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
    padding: 2rem 0;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow-wrap: break-word;
    word-break: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.hero h1 span {
    font-size: 0.55em;
    font-weight: 400;
    opacity: 0.9;
    display: block;
    margin-top: 0.3em;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.hero .btn {
    padding: 12px 28px;
    font-size: 1.125rem;
    border-radius: 980px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero .btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Add responsive adjustments for the hero background positioning */
@media (min-width: 1600px) {
    .hero {
        background-position: center 30%;
    }
}

@media (max-width: 1200px) {
    .hero {
        background-position: center 30%;
    }
}

@media (max-width: 992px) {
    .hero {
        background-position: center 30%;
    }
}

@media (max-width: 768px) {
    .hero {
        background-position: center 25%;
    }
}

/* ========== MISSION SECTION ========== */
.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* ========== SERVICES SECTION ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 176, 234, 0.1);
    border-radius: 50%;
    margin-bottom: var(--spacing-md);
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
    line-height: 1.4;
    height: 3.64rem; /* Fixed height for 2 lines of text */
    display: flex;
    align-items: flex-start;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ========== TEAM SECTION ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-member-img {
    height: 300px;
    overflow: hidden;
}

.team-member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s;
}

.team-member:hover .team-member-img img {
    transform: scale(1.05);
}

.team-member-info {
    padding: var(--spacing-md);
}

.team-member-info h3 {
    margin-bottom: 5px;
}

.team-member-info .position {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.team-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-blue-light);
    color: white;
    transition: background-color var(--transition-speed);
}

.team-social a:hover {
    background-color: var(--primary-blue);
}

.team-group-photo {
    grid-column: 1 / -1;
    margin-top: var(--spacing-lg);
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.team-group-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: stretch;
}

.team-group-img {
    height: 100%;
    overflow: hidden;
}

.team-group-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-group-info {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-group-info h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-blue);
    font-size: 1.75rem;
}

.team-intro {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.team-strengths p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.team-strengths strong {
    color: var(--primary-blue);
}

.team-vision {
    font-style: italic;
    color: var(--secondary-blue);
    font-weight: 500;
    margin-top: var(--spacing-sm);
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    overflow: hidden;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    padding: var(--spacing-md);
}

.testimonial-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    color: var(--text-dark);
}

.testimonial-content:before {
    content: '\201C';
    position: absolute;
    top: 0;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-blue);
    font-family: 'Georgia', serif;
    opacity: 0.2;
    line-height: 1;
}

.testimonial-content:after {
    content: '\201D';
    position: absolute;
    bottom: 0;
    right: 20px;
    font-size: 5rem;
    color: var(--primary-blue);
    font-family: 'Georgia', serif;
    opacity: 0.2;
    line-height: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 0.5rem 1rem;
    text-align: center;
}

.testimonial-author {
    text-align: center;
    position: relative;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
}

.testimonial-author:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary-blue);
    opacity: 0.5;
}

.testimonial-author h4 {
    margin-bottom: 0;
    color: var(--primary-blue);
    font-weight: 600;
}

.testimonial-author p {
    margin-bottom: 0;
    font-size: 0.875rem;
    font-style: normal;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--spacing-md);
}

.prev-btn, .next-btn {
    background-color: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: opacity var(--transition-speed);
}

.prev-btn:hover, .next-btn:hover {
    opacity: 0.8;
}

.testimonial-dots {
    display: flex;
    gap: 10px;
    margin: 0 var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.testimonial-dots .slick-dots {
    position: static;
    width: auto;
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.dot.active, .dot:hover {
    background-color: var(--text-light);
}

/* ========== FAQ SECTION ========== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--spacing-sm);
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    background-color: white;
    border: none;
    text-align: left;
    padding: var(--spacing-md);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.faq-question:hover, .faq-question.active {
    background-color: #f0f8ff;
}

.faq-question.active {
    color: var(--primary-blue);
}

.faq-question .icon {
    font-size: 0.875rem;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.faq-question.active .icon {
    transform: rotate(135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, transform 0.4s ease;
    opacity: 0;
    transform: translateY(-10px);
    background-color: #f9fbfe;
    border-top: 1px solid rgba(0, 176, 234, 0.1);
}

.faq-answer.active {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

.faq-answer p {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-lg);
    margin-bottom: 0;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

/* ========== CONTACT PERSON SECTION ========== */
.contact-person {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8f4fa 100%);
}

.contact-person-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 176, 234, 0.1);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.contact-person-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0, 176, 234, 0.15);
}

.contact-person-img {
    height: 100%;
    min-height: 420px;
    overflow: hidden;
}

.contact-person-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.contact-person-card:hover .contact-person-img img {
    transform: scale(1.03);
}

.contact-person-info {
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-lg) 0;
}

.contact-person-info h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-person-role {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: var(--spacing-md);
}

.contact-person-text {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    font-size: 1rem;
}

.contact-person-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.contact-person-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-speed);
    cursor: pointer;
}

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

@media (max-width: 768px) {
    .contact-person-card {
        grid-template-columns: 1fr;
    }

    .contact-person-img {
        min-height: 320px;
    }

    .contact-person-info {
        padding: var(--spacing-md);
    }

    .contact-person-actions {
        flex-direction: column;
    }

    .contact-person-actions .btn {
        justify-content: center;
        width: 100%;
    }
}

/* ========== CONTACT SECTION ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--spacing-lg);
}

.contact-form {
    background-color: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: border-color var(--transition-speed);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
}

.form-message {
    padding: 10px;
    margin-top: var(--spacing-sm);
    border-radius: var(--border-radius);
    font-weight: 600;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
}

.form-message.fade-out {
    opacity: 0;
    transition: opacity 0.5s;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    display: flex;
    align-items: flex-start;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-icon {
    background-color: var(--primary-blue-light);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: var(--spacing-md);
    flex-shrink: 0;
}

.info-content h4 {
    margin-bottom: 5px;
}

.info-content p {
    margin-bottom: 0;
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding-top: var(--spacing-lg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    height: 40px;
    background-color: white;
    padding: 6px 12px;
    border-radius: var(--border-radius);
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: var(--primary-blue-light);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transition: background-color var(--transition-speed);
}

.footer-social a:hover {
    background-color: var(--primary-blue);
}

.footer-bottom {
    padding: var(--spacing-md) 0;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== ANIMATIONS ========== */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-play-state: paused;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.4s;
}

/* Floating Emblem Animation */
.floating-emblem {
    position: absolute;
    z-index: 5;
    opacity: 0.7;
    transition: opacity 0.3s;
    width: 80px;
    height: 80px;
}

.floating-emblem img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.floating-emblem:hover {
    opacity: 1;
}

.emblem-top-right {
    top: 15%;
    right: 10%;
}

.emblem-services {
    bottom: 10%;
    left: 5%;
}

.emblem-bottom-left {
    bottom: 15%;
    left: 10%;
}

.emblem-team {
    top: 20%;
    right: 5%;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .team-group-layout {
        grid-template-columns: 1fr;
    }
    
    .team-group-img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: fixed;
        right: var(--spacing-md);
        top: calc(var(--header-height) / 2);
        transform: translateY(-50%);
        z-index: 1002;
    }
    
    .header .container {
        position: relative;
        justify-content: center;
    }
    
    .logo {
        margin: 0 auto;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--text-light);
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--header-height) + var(--spacing-md)) var(--spacing-md) var(--spacing-md);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-list li {
        margin: 0 0 var(--spacing-sm) 0;
        width: 100%;
    }
    
    .nav-list a.btn {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-top: var(--spacing-sm);
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .footer-logo, .footer-links, .footer-social {
        width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }

    .floating-emblem {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .team-member-img {
        height: 250px;
    }
    
    .team-group-img {
        height: 300px;
    }
    
    .team-group-img img {
        object-position: top;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.75rem;
    }
} 