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

body {
    font-family: 'Hepta Slab', serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, rgba(0, 33, 71, 1) 0%, rgba(0, 51, 102, 1) 100%);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 15vh;
    z-index: 1000;
    transition: all 0.3s ease;
}
body {
    padding-top: 15vh;
}

/* Optional: Compact header on scroll */
.header.scrolled {
    min-height: 10vh;
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, rgba(0, 33, 71, 0.95) 0%, rgba(0, 51, 102, 0.95) 100%);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0.1rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo {
    color: #009688;
    font-family: 'Bentham', serif;
    font-size: 2rem;
    font-weight: 500;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    text-decoration: none;
    list-style: none;
    font-family: 'Hepta Slab', serif;
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
    border: 2px solid rgb(0, 150, 136, 0.3);
    border-radius: 15px;
    margin: 0;
}

.nav-links li {
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-links li:hover {
    color: #009688;
}
a {
    text-decoration: none;
    color: inherit;
}
.nav-links a {
    text-decoration: none;
    color: inherit;
    display: block;
}
a:focus {
    outline: none;
}
a:focus-visible {
    outline: 2px solid #009688;
    outline-offset: 2px;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 3px solid #009688;
    color: #009688;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: #009688;
    color: white;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #009688;
    z-index: 1000;
    border-radius: 0 0 15px 15px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav-links {
    flex-direction: column;
    background: none;
    padding: 1rem;
    gap: 1rem;
    margin: 0;
    border-radius: 0;
}

/* Intro Section */
.intro {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    background: linear-gradient(135deg, rgba(0, 33, 71, 0.88) 0%, rgba(0, 51, 102, 0.88) 100%),url('images/intro.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 2rem;
}

.intro-content {
    text-align: center;
    max-width: 800px;
}

.intro-content p {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.intro-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.intro-content .highlight {
    color: #009688;
    background: transparent;
    padding: 0.4rem;
    font-size: 3.4rem;
    border: 2px solid #009688;
    border-radius: 8px;
    
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    background: transparent;
    border: 2px solid #009688;
    color: #009688;
    font-size: 2rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #009688;
    color: white;
    transform: translateY(-3px);
}

/* About Section */
.about-section {
    background: #fafafa;
    padding: 4rem 0.1rem;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    font-family: 'Hepta Slab', serif;
    font-size: 2rem;
    color: #002147;
    margin-bottom: 1rem;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}
.about-content .cv{
    display: inline-block;
    align-items: center;
    border: none;
    outline: none;    
    background: #009688;
    color: white;
    padding: 0.2rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: hepta slab, serif;
    font-size: 1.2rem;
    font-style: normal;
    transition: background 0.3s ease, transform 0.3s ease;
}
.about-content .cv:hover {
    background: #007f72;
    transform: translateY(-3px);
}
.about-content .cv i{
    padding: 0.8rem;
}
.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    background: white;
    padding: 4rem 0.1rem;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.services-content h2 {
    font-family: 'Hepta Slab', serif;
    font-size: 2rem;
    color: #002147;
    margin-bottom: 2rem;
}

.services-image img {
    width: 100%;
    border-radius: 10px;
}

.service-item {
    margin-bottom: 2rem;
}

.service-item h3 {
    font-family: 'Hepta Slab', serif;
    font-size: 1.5rem;
    color: #002147;
    margin-bottom: 0.5rem;
}

.service-item ul {
    list-style: none;
    padding-left: 1rem;
}

.service-item li {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0.5rem;
    position: relative;
}

.service-item li::before {
    content: "→";
    color: #009688;
    font-weight: bold;
    position: absolute;
    left: -2rem;
}

/* Tools Section */
.tools {
    background: #002147;
    padding: 4rem 0.1rem;
}

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

.tools h2 {
    font-family: 'Bentham', serif;
    font-size: 2rem;
    color: #009688;
    text-align: center;
    margin-bottom: 3rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.tools-grid img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
    justify-self: center;
}

.tools-grid img:hover {
    transform: scale(1.1);
}

/* Projects Section */
.projects {
    background: #f8f9fa;
    padding: 4rem 0.1rem;
}

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

.projects h2 {
    font-family: 'Bentham', serif;
    font-size: 2rem;
    color: #002147;
    text-align: center;
    margin-bottom: 3rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.project-image img {
    width: 100%;
    border-radius: 10px;
}

.project-content h3 {
    font-family: 'Hepta Slab', serif;
    font-size: 1.8rem;
    color: #002147;
    margin-bottom: 1rem;
}

.project-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}.project-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-btn {
    background: #009688;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-btn-git {
    background: transparent;
    color: #009688;
    border: 2px solid #009688;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-btn:hover {
    background: #007f72;
}

.project-btn-git:hover {
    background: #009688;
    color: white;
}
/* Testimonials Section */
.testimonials {
    background: linear-gradient(rgba(0, 33, 71, 0.8), rgba(0, 33, 71, 0.8)), url('images/testimonial.jpg');
    background-size: cover;
    background-position: center;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.testimonials h2 {
    font-family: 'Bentham', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.testimonials p {
    font-size: 1.5rem;
}

/* Contact Section */
.contact {
    background: #009688;
    padding: 3rem 3rem;
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.contact h2 {
    font-family: 'Bentham', serif;
    font-size: 1.8rem;
    color: white;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #002147;
    color: #ffff;
    font-size: 1.8rem;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.contact-btn:hover {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: #002147;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    font-family: 'Bentham', serif;
    font-size: 1.5rem;
    color: #009688;
    margin-bottom: 1rem;
}

.footer-section p {
    font-size: 1rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links i {
    color: #009688;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons i {
    background: #009688;
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-icons i:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
    text-align: center;
}

/* Performance optimizations */
img {
    loading: lazy;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-container,
    .services-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-card {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 1rem;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 1.5rem;
    }

    .tools-grid img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .intro-content h1 {
        font-size: 2.5rem;
    }

    .intro-content p {
        font-size: 1.5rem;
    }

    .contact-content {
        flex-direction: column;
        gap: 1rem;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .about-content h2,
    .services-content h2 {
        font-size: 1.8rem;
    }

    .about-content p {
        font-size: 1.1rem;
    }

    .project-content h3 {
        font-size: 1.6rem;
    }

    .service-item h3 {
        font-size: 1.3rem;
    }

    .service-item li {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

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

    .intro-content p {
        font-size: 1.2rem;
    }

    .social-buttons {
        flex-direction: row;
        gap: 0.8rem;
    }

    .social-btn {
        padding: 0.8rem;
        font-size: 1.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .tools-grid img {
        width: 45px;
        height: 45px;
    }

    .about-section,
    .services,
    .projects {
        padding: 3rem 1rem;
    }

    .tools {
        padding: 3rem 1rem;
    }

    .about-content h2,
    .services-content h2,
    .projects h2,
    .tools h2 {
        font-size: 1.6rem;
    }

    .contact h2 {
        font-size: 1.4rem;
    }

    .project-btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-section h3 {
        font-size: 1.3rem;
    }
}
.project-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-btn,
.project-btn-git {
    background: #009688;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

.project-btn-git {
    background: transparent;
    color: #009688;
    border: 2px solid #009688;
}

.project-btn:hover {
    background: #007f72;
}

.project-btn-git:hover {
    background: #009688;
    color: white;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .project-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .project-btn,
    .project-btn-git {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .project-buttons {
        gap: 0.6rem;
    }
    
    .project-btn,
    .project-btn-git {
        padding: 0.9rem;
        font-size: 0.9rem;
    }
}