/* General Styles */
:root {
    --primary-color: #001f4d;
    --secondary-color: #0066cc;
    --accent-color: #22c55e;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
}

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

html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Navbar Styling */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--secondary-color) !important;
}

.nav-link {
    margin-left: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #001f4d 0%, #0066cc 100%);
    color: white;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(20px);
    }
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-section .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: #16a34a;
    border-color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-section .btn-outline-primary {
    border-color: white;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.hero-section .btn-outline-primary:hover {
    background-color: white;
    border-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Solutions Section */
.solutions-section {
    padding: 80px 0;
}

.solutions-section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.solutions-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.solution-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary-color);
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-top-color: var(--accent-color);
}

.solution-card .icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.solution-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.solution-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.why-choose-us h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.why-choose-us h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.feature-item {
    padding: 20px;
    border-left: 4px solid var(--accent-color);
    background: white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(10px);
}

.feature-item h5 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section .lead {
    font-size: 1.1rem;
}

.cta-section .btn-light {
    background-color: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0e27 0%, var(--primary-color) 100%);
    margin-top: auto;
}

.footer h5 {
    color: var(--accent-color);
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white !important;
}

/* Contact Form Styles */
.contact-section {
    background: var(--light-bg);
    padding: 40px 0;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-card h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.btn-submit {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 12px 40px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

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

/* About Page */
.about-section {
    padding: 80px 0;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.about-content {
    line-height: 1.8;
    color: var(--text-light);
    font-size: 1.1rem;
}

.team-member {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: var(--light-bg);
    transition: all 0.3s ease;
}

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

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.team-member h5 {
    color: var(--primary-color);
    font-weight: 700;
}

/* Services Page */
.services-section {
    padding: 80px 0;
}

.services-section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.service-detail-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateX(10px);
}

.service-detail-card h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-detail-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
        padding: 40px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .solutions-section h2,
    .why-choose-us h2,
    .about-section h2,
    .services-section h2 {
        font-size: 2rem;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }

    .solution-card {
        margin-bottom: 20px;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-section .lead {
        font-size: 0.9rem;
    }

    .hero-section .btn {
        margin-bottom: 10px;
        display: block;
        width: 100%;
    }

    .solutions-section h2,
    .why-choose-us h2,
    .about-section h2,
    .services-section h2 {
        font-size: 1.5rem;
    }

    .contact-card {
        padding: 20px 15px;
    }

    .footer {
        text-align: center;
    }

    .footer .col-md-4 {
        margin-bottom: 2rem;
    }
}

/* Alert Messages */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 1rem;
}

.alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 1rem;
}

/* Loading State */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
