/* Root Variables */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #198754;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
    --border-color: #dee2e6;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background: linear-gradient(180deg, rgba(13, 110, 253, 0.18), rgba(10, 88, 202, 0.28));
    background-color: #f8f9fa;
}

.bg-light {
    background-color: rgba(248, 249, 250, 0.88) !important;
}

/* Hero Section */
.hero-section {
    background: rgba(0, 0, 0, 0.18);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.22);
}

/* Decorative hero image placed on the right side */
.hero-section::after {
    display: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInDown 0.8s ease-out;
}

.hero-section p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card:nth-child(2) {
    border-top-color: var(--secondary-color);
}

.service-card:nth-child(3) {
    border-top-color: var(--info-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.service-card h4 {
    color: var(--dark-text);
    font-weight: 600;
}

.service-card p {
    color: #6c757d;
    font-size: 14px;
}

.service-card ul li {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 8px;
}

/* Opportunity Cards */
.opportunity-card {
    background: white;
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.opportunity-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.opportunity-card h5 {
    color: var(--dark-text);
    font-weight: 600;
    margin-top: 10px;
}

.opportunity-card .badge {
    font-size: 12px;
    padding: 5px 10px;
}

.opportunity-card p {
    font-size: 14px;
    margin: 8px 0;
}

/* Contact Cards */
.contact-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin: 0 auto;
}

.contact-card h5 {
    font-weight: 600;
    color: var(--dark-text);
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.contact-form label {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
}

/* Navbar Customization */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 20px;
}

.nav-link {
    margin: 0 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #ffc107 !important;
}

/* Section Padding */
.py-5 {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%);
    margin-top: 80px;
}

.footer a:hover {
    color: #ffc107 !important;
    transition: all 0.3s ease;
}

.social-links a {
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #ffc107 !important;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 25px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.4);
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 202, 240, 0.4);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .service-card {
        padding: 20px;
    }

    .btn-lg {
        padding: 10px 20px !important;
        font-size: 14px;
    }

    .contact-form {
        padding: 20px;
    }

    .social-links a {
        font-size: 16px;
        margin-right: 15px !important;
    }
    .hero-section::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 24px;
    }

    .display-3 {
        font-size: 40px;
    }

    .footer {
        padding: 30px 0 !important;
    }

    .footer h5 {
        font-size: 16px;
        margin-top: 20px;
    }
}

/* Accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none;
    }
}
