/* Modern Contact Page - Light Theme Design */

:root {
    /* Primary Colors */
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --primary-light: #5dade2;

    /* Background Colors */
    --white-bg: #ffffff;
    --light-bg: #f8f9fa;
    --lighter-bg: #f5f7f9;
    --card-bg: #ffffff;

    /* Text Colors */
    --dark-text: #2c3e50;
    --secondary-text: #6c757d;
    --light-text: #95a5a6;
    --muted-text: #adb5bd;

    /* Border Colors */
    --border-color: #e0e4e8;
    --border-light: #f0f2f4;

    /* Accent Colors */
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --info-color: #3498db;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 8px 30px rgba(52, 152, 219, 0.2);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: var(--light-bg);
    color: var(--dark-text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Contact Hero Section with Video Background */
.contact-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    color: var(--white-bg);
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero .hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-hero .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.contact-hero .slide.active {
    opacity: 1;
}

.contact-hero .slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroSlideZoom 12s linear infinite alternate;
}

@keyframes heroSlideZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.contact-hero .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.8) 0%,
        rgba(38, 42, 46, 0.7) 50%,
        rgba(227, 6, 19, 0.4) 100%
    );
    z-index: 2;
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white-bg);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--white-bg);
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-quick-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white-bg);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.quick-info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.2rem;
    color: var(--white-bg);
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.9rem;
    color: var(--secondary-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 1.1rem;
    color: var(--dark-text);
    font-weight: 700;
    margin-top: 0.25rem;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--white-bg);
    padding: 6rem 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

/* Form Container */
.form-container {
    background: var(--lighter-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.form-header p {
    color: var(--secondary-text);
    font-size: 1rem;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--white-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    font-size: 1rem;
    color: var(--dark-text);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    background: var(--white-bg);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-text);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--white-bg);
    color: var(--dark-text);
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--secondary-text);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: var(--white-bg);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white-bg);
    font-size: 0.8rem;
    font-weight: bold;
}

/* Form Actions */
.form-actions {
    margin-top: 2rem;
}

.btn-submit {
    background: var(--primary-color);
    color: var(--white-bg);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 200px;
    box-shadow: var(--shadow-sm);
}

.btn-submit:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
}

/* Form Errors */
.form-error {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: var(--danger-color);
    background: #fff5f5;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-success i {
    color: var(--success-color);
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-error i {
    color: var(--danger-color);
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.sidebar-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.sidebar-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--lighter-bg);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.method-icon {
    width: 45px;
    height: 45px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.method-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.method-content p {
    color: var(--secondary-text);
    line-height: 1.5;
    font-size: 0.9rem;
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--dark-text);
    font-size: 0.9rem;
}

.services-list li i {
    color: var(--success-color);
    font-size: 0.8rem;
    width: 16px;
}

/* Map Section */
.map-section {
    background: var(--lighter-bg);
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--secondary-text);
    font-size: 1.1rem;
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 450px;
}

.google-map {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--white-bg);
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    filter: grayscale(10%) contrast(1.05);
    transition: filter 0.3s ease;
}

.google-map:hover iframe {
    filter: grayscale(0%) contrast(1.1);
}

.map-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--lighter-bg);
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.98);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    max-width: 300px;
    box-shadow: var(--shadow-md);
}

.map-overlay h3 {
    color: var(--dark-text);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.map-overlay p {
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.map-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-map-directions,
.btn-map-view {
    background: var(--primary-color);
    color: var(--white-bg);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-align: center;
    justify-content: center;
}

.btn-map-view {
    background: var(--white-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-map-directions:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-map-view:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-directions {
    background: var(--primary-color);
    color: var(--white-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-directions:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Team Contact Section */
.team-contact-section {
    background: var(--white-bg);
    padding: 6rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--lighter-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.member-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-color);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-contact {
    color: var(--secondary-text);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.member-expertise span {
    background: var(--white-bg);
    color: var(--secondary-text);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Partners Section */
.partners-section {
    background: var(--lighter-bg);
    padding: 6rem 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partner-logo {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.partner-logo img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Newsletter Section */
.newsletter-contact-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #262a2e 50%, #E30613 100%);
    padding: 4rem 0;
    position: relative;
    border-top: 1px solid rgba(227, 6, 19, 0.3);
}

.newsletter-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: rgba(227, 6, 19, 0.2);
    border: 2px solid rgba(227, 6, 19, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    backdrop-filter: blur(10px);
}

.newsletter-icon i {
    font-size: 2rem;
    color: #E30613;
}

.newsletter-contact-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white-bg);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-contact-section p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form .form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 1rem;
    color: #1a1a1a;
    font-size: 1rem;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #E30613;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.2);
    background: #ffffff;
}

.btn-newsletter {
    background: #E30613;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-newsletter:hover {
    background: #c60512;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.4);
}

.newsletter-checkbox {
    text-align: left;
    font-size: 0.85rem;
}

.newsletter-checkbox label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
}

.newsletter-checkbox input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
}

.newsletter-checkbox input[type="checkbox"]:checked {
    background: #E30613;
    border-color: #E30613;
}

.newsletter-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-quick-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    .quick-info-item {
        max-width: 400px;
        margin: 0 auto;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .contact-hero {
        min-height: 600px;
        height: auto;
        padding: 4rem 0;
    }

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

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

    .form-container {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-quick-info {
        flex-direction: column;
        gap: 1rem;
    }

    .quick-info-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .map-container {
        height: 350px;
        border-radius: 15px;
    }

    .map-overlay {
        position: static;
        margin: 1rem;
        max-width: none;
        padding: 1.5rem;
    }

    .map-actions {
        gap: 0.5rem;
    }

    .btn-map-directions,
    .btn-map-view {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .newsletter-form .form-row {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .contact-hero {
        min-height: 500px;
    }

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

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

    .form-container,
    .sidebar-section {
        padding: 1.5rem;
    }

    .btn-submit {
        padding: 1rem 2rem;
        width: 100%;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }
}
