/* 
 * Alturex Strategic Advisors Co. L.L.C-FZ
 * Custom Stylesheet
 * Version: 2.0
 */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    --text-color: #6D6E71;
    --bg-color: #ffffff;
    --accent-hover: #5a5b5e;
    --gray-light: #f8f9fa;
    --success-bg: #d1e7dd;
    --success-border: #badbcc;
    --success-text: #0f5132;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    padding: 60px 0;
    background-color: var(--text-color);
}

.hero-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    color: white;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
    max-width: 900px;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
    padding: 60px 0;
    background-color: var(--gray-light);
}

.section-title {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.service-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    display: block;
}

.service-title {
    color: var(--text-color);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    padding: 60px 0;
}

.form-label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    color: var(--text-color);
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    font-size: 0.95rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    color: var(--text-color);
    border-color: var(--text-color);
    box-shadow: 0 0 0 0.2rem rgba(109, 110, 113, 0.25);
    outline: none;
}

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

.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

.btn-submit {
    background-color: var(--text-color);
    border-color: var(--text-color);
    color: white;
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

/* ==========================================
   SUCCESS MESSAGE
   ========================================== */
.success-message {
    background-color: var(--success-bg);
    border: 1px solid var(--success-border);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    animation: fadeInSlide 0.5s ease;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-title {
    color: var(--success-text);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.success-text {
    color: #0a3622;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    padding: 2rem 0;
    border-top: 1px solid #dee2e6;
    background-color: var(--bg-color);
}

footer p {
    color: var(--text-color);
    margin: 0;
    font-size: 0.9rem;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.d-none {
    display: none !important;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablets and above */
@media (min-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-section {
        padding: 80px 0;
    }
    
    .contact-section {
        padding: 80px 0;
    }
    
    .service-icon {
        font-size: 3rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
}

/* Large screens and above */
@media (min-width: 992px) {
    .hero-section {
        padding: 100px 0;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .services-section {
        padding: 100px 0;
    }
    
    .contact-section {
        padding: 100px 0;
    }
}

/* Extra large screens */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .services-section {
        padding: 40px 0;
    }
    
    .contact-section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    .service-card {
        page-break-inside: avoid;
    }
    
    .btn-submit {
        display: none;
    }
}
