/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
}

/* Header Section */
header {
    background-color: #003366; /* Professional dark blue */
    color: white;
    padding: 10px 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 24px;
    margin: 0;
    color: #f8f9fa;
}

.logo p {
    font-size: 14px;
    margin-top: 5px;
    font-style: italic;
    color: #d1e0f0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    background-color: #00509E;
}

.contact-links {
    display: flex;
    gap: 15px;
}

.contact-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid white;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-links a:hover {
    background-color: #f8f9fa;
    color: #003366;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(to right, #4facfe, #00f2fe); /* Gradient background */
    color: white;
    clip-path: ellipse(120% 80% at 50% 0%); /* Creates a modern ellipse design */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3); /* Adds depth */
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    font-style: italic;
    color: #f0f8ff;
}

.hero .btn-primary {
    background-color: #007BFF;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero .btn-primary:hover {
    background-color: #00509E;
    transform: scale(1.1);
}

/* Optional: Add a decorative background image */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/hero-bg.png') no-repeat center center/cover; /* Replace with your image */
    opacity: 0.2;
    z-index: 1;
}
/* Section Titles */
.section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
    border-bottom: 2px solid #007BFF;
    display: inline-block;
    padding-bottom: 5px;
}

/* About Section */
#about {
    padding: 50px 20px;
    background-color: #f8f9fa;
    text-align: center;
    line-height: 1.8;
}

#about p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

#about .links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

#about .btn-secondary {
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#about .btn-secondary:hover {
    background-color: #00509E;
    transform: translateY(-3px);
}

/* Projects Section */
#projects {
    padding: 50px 20px;
    background-color: #f0f0f0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.project-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.project-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.project-card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
}

/* Services Section */
#services {
    padding: 50px 20px;
    background-color: #f8f9fa;
    text-align: center;
}

#services h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
    border-bottom: 2px solid #007BFF;
    display: inline-block;
    padding-bottom: 5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.service-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

.service-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
}
.cta-text {
    text-align: center;
    margin-top: 30px;
    font-size: 18px;
    color: #333;
}

.cta-text .btn-primary {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-text .btn-primary:hover {
    background-color: #00509E;
    transform: scale(1.1);
}

/* Contact Section */
#contact {
    padding: 50px 20px;
    background-color: #003366; /* Dark blue background */
    color: white; /* White text for readability */
    text-align: center;
}

#contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-description {
    font-size: 18px;
    margin-bottom: 40px;
    color: #f0f8ff;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    gap: 30px;
}

/* Contact Info Section */
.contact-info {
    background-color: #00509E; /* Lighter blue box */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: left;
}

.contact-info h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #f8f9fa;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-info a {
    color: #4facfe;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    color: #f0f8ff;
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background-color: #00509E;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
}

.contact-form h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #f8f9fa;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.contact-form button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
    background-color: #003366;
    transform: scale(1.05);
}

/* Image Gallery */
.image-gallery {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.image-gallery img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.1);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
}
/* Hero Section */
.hero {
    text-align: center;
    padding: 50px 20px; /* Further reduced padding for a more compact look */
    background: linear-gradient(135deg, #4facfe, #00f2fe); /* Gradient background */
    color: white;
}

.hero h1 {
    font-size: 36px; /* Reduced font size for the heading */
    margin-bottom: 10px;
}

.hero p {
    font-size: 16px; /* Slightly smaller subtitle */
    margin-bottom: 20px;
    font-style: italic;
}

.hero .btn-primary {
    margin-top: 10px; /* Adjust spacing above the button */
    padding: 10px 20px; /* Smaller padding for the button */
    font-size: 16px; /* Reduced font size */
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    background-color: #007BFF;
    box-shadow: 0px 3px 8px rgba(0, 123, 255, 0.4); /* Subtle shadow */
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.hero .btn-primary:hover {
    background-color: #00509E;
    transform: scale(1.05);
    box-shadow: 0px 5px 10px rgba(0, 80, 158, 0.5);
}

/* About Section */
#about {
    padding: 20px 20px; /* Further reduced padding for better alignment */
    background-color: #f8f9fa;
    text-align: center;
    line-height: 1.6;
}
/* Make the entire card clickable */
.service-link {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
}

.service-image {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
.service-icon {
    font-size: 50px; /* Adjust icon size */
    color: #007BFF; /* Default icon color */
    margin-bottom: 10px; /* Spacing below the icon */
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-icon {
    color: #00509E; /* Change color on hover */
    transform: scale(1.1); /* Slightly enlarge on hover */
}
/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #007BFF, #00F2FE);
    color: white;
    text-align: center;
    padding: 50px 20px;
    border-radius: 10px;
    margin: 50px 20px; /* Adds spacing between sections */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: #007BFF;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background: #f8f9fa;
    color: #00509E;
    transform: scale(1.1);
}

.project-heading {
    background-color: #f0f8ff; /* Light blue background */
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Add a shadow for depth */
    margin-bottom: 20px; /* Space between heading and project categories */
    border: 3px solid #00509E; /* Highlighted border */
}

.project-heading h2 {
    font-size: 28px;
    font-weight: bold;
    color: #00509E;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.project-heading p {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}
