/* Modern Design System */
:root {
    --bs-primary: #2c3e50;
    --bs-secondary: #3498db;
    --bs-success: #27ae60;
    --bs-info: #3498db;
    --bs-warning: #f1c40f;
    --bs-danger: #e74c3c;
    --transition-base: all 0.3s ease;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.15);
}

/* Enhanced Typography */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #2c3e50;
}

/* Modern Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--box-shadow);
    padding: 0.75rem 0;
}

.navbar-scrolled {
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: var(--transition-base);
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: #2c3e50 !important;
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--bs-primary) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/page.jpg') center/cover no-repeat;
    z-index: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(26, 38, 52, 0.9), rgba(26, 38, 52, 0.7));
    z-index: 1;
}

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

.text-white-90 {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
}

/* Cards and Sections */
.card {
    border: none;
    border-radius: 12px;
    transition: var(--transition-base);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition-base);
}

.btn-primary {
    background: linear-gradient(45deg, #2c3e50, #3498db);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-outline-light {
    border-width: 2px;
}

/* Form Controls */
.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    transition: var(--transition-base);
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}

/* Service Cards */
.service-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--bs-primary);
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-info {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-info h5 {
    color: var(--bs-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: #4a5568;
}

.contact-info a {
    color: var(--bs-primary);
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--bs-secondary);
}

.contact-info i {
    color: var(--bs-primary);
    width: 24px;
}

/* Contact Form Styles */
.contact-form .form-control {
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.15);
}

.contact-form label {
    font-weight: 500;
    color: #2c3e50;
}

.contact-form .btn-primary {
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

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

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/* Footer */
.footer-section {
    background-color: #1a2634;
    position: relative;
    color: #fff;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26, 38, 52, 0.95), rgba(26, 38, 52, 0.99));
    z-index: 0;
}

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

.footer-brand img {
    height: 60px;
    width: auto;
    filter: brightness(1) contrast(1);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--bs-primary);
}

.footer-contact i {
    color: var(--bs-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    color: #fff;
}

.social-link.linkedin:hover {
    background-color: #0077b5;
}

.social-link.twitter:hover {
    background-color: #1da1f2;
}

.social-link.facebook:hover {
    background-color: #1877f2;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.75rem 1rem;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .hero-section {
        text-align: center;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }

    .min-vh-75 {
        min-height: 60vh;
    }
}

@media (max-width: 767.98px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .service-card {
        margin-bottom: 1rem;
    }

    .social-links {
        justify-content: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .newsletter-form {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Accessibility */
:focus {
    outline: 3px solid rgba(52, 152, 219, 0.5);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
