@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #1e3a5f;
    --primary-dark: #152c47;
    --primary-light: #2d5a8f;
    --secondary-color: #f7a41d;
    --secondary-dark: #d88e15;
    --secondary-light: #fbb747;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    background: var(--white) !important;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--primary-dark) !important;
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(21, 44, 71, 0.98) 100%);
    padding: 100px 0;
    color: white;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: drift 30s linear infinite;
    z-index: 1;
}

@keyframes drift {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(50px, 50px);
    }
}

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

.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease;
}

.hero-section .lead {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

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

/* Section Titles */
main h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

main h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Services Section */
#services {
    padding: 4rem 0;
    background: var(--bg-light);
}

#services .card {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    background: var(--white);
    overflow: hidden;
    position: relative;
}

#services .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

#services .card:hover::before {
    transform: scaleX(1);
}

#services .card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

#services .card-body {
    padding: 2rem;
}

#services .card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#services .card-text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

/* About Section */
#about {
    padding: 4rem 0;
    background: var(--white);
}

#about p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

/* Contact Section */
#contact {
    padding: 4rem 0;
    background: var(--bg-light);
}

#contact form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

#contact .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

#contact .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#contact .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border: none;
    padding: 0.75rem 2.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

#contact .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: 2rem 0;
    margin-top: 4rem;
}

footer p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Quote Form */
.quote-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
}

.quote-form h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.quote-form .form-select,
.quote-form .form-control {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.quote-form .form-select:focus,
.quote-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(247, 164, 29, 0.2);
}

.quote-form .btn-primary {
    width: 100%;
    background: var(--primary-color);
    border: none;
    padding: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.quote-form .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.quote-form .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
}

.quote-form .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
}

/* Hero Content */
.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Stats Section */
.stats-section {
    background: var(--white);
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Industries Section */
.industries-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.industry-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

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

.industry-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.industry-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* News Section */
.news-section {
    background: var(--white);
    padding: 4rem 0;
}

.news-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
}

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

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.content-section.bg-white {
    background: var(--white);
}

.content-section.bg-light {
    background: var(--bg-light);
}

.section-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

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

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

    .hero-content p {
        font-size: 1rem;
    }

    main h2 {
        font-size: 2rem;
    }

    #contact form {
        padding: 2rem;
    }

    .quote-form {
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}