/* General Styles */
body {
    font-family: 'Inter', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #212529;
    line-height: 1.7;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section Styles */
section {
    padding: 100px 0;
    text-align: center;
    margin-bottom: 0;
    scroll-margin-top: 80px;
}

section > .container {
    padding: 0 40px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: #0a2463;
}

h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #0a2463, #00b4d8);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #0a2463;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

ul {
    text-align: left;
    padding-left: 1.5rem;
}

ul li {
    margin-bottom: 0.5rem;
}

/* Hero Section Styles */
#hero {
    background: linear-gradient(135deg, #0a2463, #3a86ff, #00b4d8);
    color: #fff;
    padding: 150px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    background-size: 300% 300%;
    animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 12px;
    background-color: rgba(10, 36, 99, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #00b4d8;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.4);
}

.cta-button:hover {
    background-color: #0096c7;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.6);
}

/* Header and Navbar Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
    background-color: rgba(10, 36, 99, 0.4);
    backdrop-filter: blur(5px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #00b4d8;
    transition: width 0.3s ease;
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #00b4d8;
}

.nav-cta {
    background-color: #00b4d8;
    padding: 8px 20px;
    border-radius: 50px;
    color: #fff;
}

.nav-cta:hover {
    background-color: #0096c7;
    color: #fff !important;
}

.scrolled {
    background-color: rgba(10, 36, 99, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* About Us Section Styles */
#about {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

#about p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
}

/* Our Expertise Section Styles */
#expertise {
    background-color: #f8f9fa;
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-top: 2rem;
    text-align: left;
}

.expertise-left {
    padding-right: 20px;
}

.expertise-left h3,
.expertise-right h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.expertise-left h3::after,
.expertise-right h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #0a2463, #00b4d8);
    bottom: 0;
    left: 0;
    border-radius: 3px;
}

#expertise p {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
}

.expertise-list i {
    color: #00b4d8;
    margin-right: 15px;
    margin-top: 5px;
    font-size: 0.9rem;
}

/* Key Projects Section Styles */
#projects {
    background-color: #fff;
}

#projects .projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.project {
    margin-bottom: 30px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: left;
    background-color: #f8f9fa;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #0a2463;
    position: relative;
    padding-bottom: 15px;
}

.project h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #0a2463, #00b4d8);
    bottom: 0;
    left: 0;
    border-radius: 3px;
}

.project-details {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-icon {
    font-size: 2.5rem;
    color: #0a2463;
    margin-bottom: 20px;
    text-align: center;
}

.project p {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.project ul {
    margin-top: 0;
    padding-left: 1.5rem;
    flex-grow: 1;
}

.project ul li {
    margin-bottom: 0.5rem;
    position: relative;
}

/* Team Section Styles */
#team {
    background-color: #f8f9fa;
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 2rem;
}

#team img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-description {
    text-align: left;
}

.team-description h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.team-description h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #0a2463, #00b4d8);
    bottom: 0;
    left: 0;
    border-radius: 3px;
}

#team p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a2463;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: #6c757d;
}

/* Contact Section Styles */
#contact {
    background-color: #fff;
    position: relative;
    text-align: center;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 700px;
    margin: 2.5rem auto 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-info h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #0a2463, #00b4d8);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.contact-info p {
    max-width: 600px;
    margin-bottom: 2rem;
    color: #495057;
}

.contact-details {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

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

.contact-item i {
    font-size: 1.2rem;
    color: #0a2463;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.contact-item a,
.contact-item span {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

.contact-item a:hover {
    color: #00b4d8;
}

.social-links {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #f8f9fa;
    color: #0a2463;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
    background-color: #0a2463;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 36, 99, 0.2);
}

/* Footer */
footer {
    background-color: #0a2463;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* Animation classes */
.project, .expertise-content, .team-content, .contact-content, .stat {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Form styles */
input.error, textarea.error {
    border-color: #ff3860;
    box-shadow: 0 0 0 3px rgba(255, 56, 96, 0.2);
}

/* Success message */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive Design */
@media (max-width: 992px) {
    .expertise-content, .team-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .expertise-left {
        padding-right: 0;
    }
    
    #projects .projects-container {
        grid-template-columns: 1fr;
    }

    .team-description {
        order: -1;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    
    section > .container {
        padding: 0 20px;
    }
    
    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .hero-content {
        padding: 30px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .project {
        padding: 30px;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        flex-direction: column;
        background-color: rgba(10, 36, 99, 0.95);
        padding: 80px 0 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    body.menu-open .nav-links {
        right: 0;
    }
    
    body.menu-open .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    body.menu-open .hamburger span:nth-child(2) {
        opacity: 0;
    }
    
    body.menu-open .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .team-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-info p {
        margin-bottom: 1.5rem;
    }
    
    .contact-item {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    #projects .projects-container {
        gap: 25px;
    }

    .project {
        padding: 25px;
    }

    .social-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .contact-content {
        margin: 2rem auto;
    }
}
