/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a237e; /* Deep blue */
    --secondary-color: #7b1fa2; /* Purple */
    --accent-color: #4a148c; /* Dark purple */
    --text-color: #333;
    --light-text: #fff;
    --background-color: #f5f5f5;
    --card-background: #fff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #e0e0e0;
}

.nav-links a.active {
    color: #fff;
    border-bottom: 2px solid #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    margin: 2px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    padding: 0 1rem;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
    padding: 5rem 5%;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--light-text);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        padding: 1rem;
        flex-direction: column;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 0.5rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .features {
        padding: 3rem 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .feature-card {
    animation: fadeIn 1s ease-out;
}

/* Projects Page Styles */
.projects-hero {
    height: 50vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    margin-top: 60px;
}

.projects-content {
    max-width: 800px;
    padding: 0 1rem;
}

.projects-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.current-project {
    padding: 5rem 5%;
}

.project-container {
    max-width: 1200px;
    margin: 0 auto;
}

.project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.project-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.project-info ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.project-info ul li:before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.upcoming-projects {
    padding: 5rem 5%;
    background-color: var(--background-color);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* About Page Styles */
.about-hero {
    height: 50vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    margin-top: 60px;
}

.about-content {
    max-width: 800px;
    padding: 0 1rem;
}

.about-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-vision {
    padding: 5rem 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.mission, .vision {
    text-align: center;
    margin-bottom: 3rem;
}

.mission h2, .vision h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.values {
    padding: 5rem 5%;
    background-color: var(--background-color);
    text-align: center;
}

.values h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.story {
    padding: 5rem 5%;
}

.story h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.story p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Contact Page Styles */
.contact-hero {
    height: 50vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    margin-top: 60px;
}

.contact-content {
    max-width: 800px;
    padding: 0 1rem;
}

.contact-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-section {
    padding: 5rem 5%;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.contact-info > p {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.info-item {
    margin-bottom: 2.5rem;
}

.info-item i {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.info-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.info-item p {
    color: var(--text-color);
    font-size: 1.1rem;
}

.social-connect {
    margin-top: 3rem;
}

.social-connect h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--secondary-color);
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .contact-info {
        padding: 0 1rem;
    }
    
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .info-item i {
        font-size: 1.8rem;
    }
    
    .info-item h3 {
        font-size: 1.2rem;
    }
    
    .info-item p {
        font-size: 1rem;
    }
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .project-details,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .projects-hero,
    .about-hero,
    .contact-hero {
        height: 40vh;
    }

    .projects-content h1,
    .about-content h1,
    .contact-content h1 {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Blog Page Styles */
.blog-hero {
    height: 50vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    margin-top: 60px;
}

.blog-content {
    max-width: 800px;
    padding: 0 1rem;
}

.blog-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-section {
    padding: 5rem 5%;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-post {
    background-color: var(--card-background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.post-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--accent-color);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: var(--card-background);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a.active {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.pagination a:hover:not(.active) {
    background-color: var(--background-color);
}

.pagination .next {
    width: auto;
    padding: 0 1rem;
}

.pagination .next i {
    margin-left: 0.5rem;
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-hero {
        height: 40vh;
    }

    .blog-content h1 {
        font-size: 2.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .post-image {
        height: 250px;
    }
}

.project-card {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.project-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-card p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

.project-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
    font-size: 0.95rem;
}

.project-features li:before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .project-card {
        padding: 1.5rem;
    }
    
    .project-card h3 {
        font-size: 1.3rem;
    }
    
    .project-features li {
        font-size: 0.9rem;
    }
} 