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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header styles */
header {
    background-color: #4a93d8;
    color: white;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    background-image: linear-gradient(rgba(8, 15, 40, 0.7), rgba(13, 20, 77, 0.7)), url('images/header-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

header .header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

header p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


.header-btn {
    display: inline-block;
    background-color: #4a6fa5;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-btn:hover {
    background-color: #3a5a80;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.header-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Navigation styles */
.main-nav {
    background-color: #2c3e50;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

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

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.main-nav a.active {
    background-color: #4a6fa5;
}

/* Section styles */
.agents-section {
    margin: 40px 0;
}

.agents-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #4a6fa5;
    padding-bottom: 10px;
}

.subsection-title {
    font-size: 1.5rem;
    margin: 30px 0 20px;
    color: #4a6fa5;
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Agent card styles */
.agent-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.agent-avatar {
    height: 200px;
    overflow: hidden;
}

.agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.agent-card:hover .agent-avatar img {
    transform: scale(1.05);
}

.agent-info {
    padding: 20px;
}

.agent-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.agent-info p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.agent-link {
    display: inline-block;
    color: #4a6fa5;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.agent-link:hover {
    color: #2c3e50;
}

.agent-link i {
    margin-right: 5px;
}

/* Home page styles */
.intro-section {
    text-align: center;
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.intro-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.intro-section p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.featured-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.featured-image {
    height: 200px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-info {
    padding: 25px;
}

.featured-info h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.featured-info p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
}

.featured-link {
    display: inline-block;
    color: #4a6fa5;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.featured-link:hover {
    color: #2c3e50;
}

.featured-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.featured-link:hover i {
    transform: translateX(5px);
}

/* About page styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin: 40px 0;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.about-text h3 {
    font-size: 1.6rem;
    margin: 30px 0 15px;
    color: #4a6fa5;
}

.about-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.skill-category h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.skill-category ul {
    list-style: none;
    padding-left: 0;
}

.skill-category li {
    padding: 5px 0;
    color: #555;
}

.skill-category li::before {
    content: "•";
    color: #4a6fa5;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Projects page styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.project-images img {
    width: 48%;
    margin-bottom: 20px;
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 25px;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    display: inline-block;
    color: white;
    background-color: #4a6fa5;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: #3a5a80;
    transform: translateY(-2px);
}

.project-link i {
    margin-right: 5px;
}

/* Contact page styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.contact-info p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.contact-method {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-method i {
    font-size: 2rem;
    color: #4a6fa5;
    margin-bottom: 15px;
}

.contact-method h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}



/* Footer styles */
footer {
    text-align: center;
    padding: 15px;
    background-color: #2c3e50;
    color: white;
    margin-top: 15px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.footer-info h3 {
    font-size: 1.3rem;
    margin-bottom: 3px;
}

.footer-links a {
    color: white;
    font-size: 1.3rem;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4a93d8;
}

.copyright {
    padding-top: 0px;
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .agents-grid, 
    .featured-grid,
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
    }
    
    .main-nav li {
        margin: 5px;
    }
}

@media (max-width: 480px) {
    .agents-grid,
    .featured-grid,
    .projects-grid,
    .skills-grid,
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .project-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        margin-bottom: 20px;
    }
}