
:root {
    --primary-blue: #0a192f;
    --primary-red: #e63946;
    --light-slate: #ccd6f6;
    --slate: #8892b0;
    --white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #0a192f 0%, #172a45 100%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--primary-blue);
    color: var(--light-slate);
    line-height: 1.6;
}


header {
    padding: 1rem 5%;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--slate);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.logo span {
    display: block;
    font-size: 0.7rem;
    color: var(--slate);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;

    margin-left: auto;
}

nav ul li a {
    color: var(--light-slate);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-red);
}


.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin: 1.5rem 0;
    max-width: 500px;
}

.cta-button {
    background: var(--primary-red);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(230, 57, 70, 0.3));
}



.page-section {
    max-width: 1200px;
    margin: 1rem auto 4rem; 
    padding: 2rem 5%;
}
.page-section h2 {
    font-size: 2.5rem;
    color: var(--white);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.page-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--slate);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


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

.service-card {
    background: #172a45;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #2a3c5a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px -15px rgba(2,12,27,.7);
}

.service-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
}

.service-detail-list {
    list-style: none;
    margin-top: 2rem;
    padding-left: 0;
}

.service-detail-item {
    background: #172a45;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-red);
    transition: transform 0.3s ease;
}

.service-detail-item:hover {
    transform: translateX(5px);
}

.service-detail-item h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-detail-item p {
    color: var(--slate);
}



.contact-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info, .contact-form {
    flex: 1;
    background: #172a45;
    padding: 2rem;
    border-radius: 10px;
}

.contact-info h3, .contact-form h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.contact-info p {
    margin-bottom: 1rem;
}

.map-container {
    margin-top: 1.5rem;
    border-radius: 5px;
    overflow: hidden;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--primary-blue);
    border: 1px solid var(--slate);
    border-radius: 5px;
    color: var(--light-slate);
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

#form-status {
    margin-top: 1rem;
    font-weight: 600;
}


.developer-card {
    background: #172a45;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
}

.dev-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--primary-red);
    margin-bottom: 1.5rem;
}

.dev-role {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.dev-skills h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.dev-skills ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.dev-skills li {
    background: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}



.main-footer {
    text-align: center;
    padding: 2rem 5%;
    border-top: 1px solid #2a3c5a;
    margin-top: 4rem;
}

.main-footer p:first-child {
    font-style: italic;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}



.hamburger-menu {
    display: none; 
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
}


@media (max-width: 768px) {
    
    .hamburger-menu {
        display: flex;
    }

    
    nav ul {
        
        margin-left: 0;
        display: none; 
        flex-direction: column;
        gap: 1.5rem;
        background-color: #172a45;
        position: absolute;
        top: 100%; 
        right: 0;
        width: 250px;
        padding: 2rem;
        border-radius: 0 0 0 10px;
        box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.2);
    }
    
   
    nav ul.show {
        display: flex;
    }

    .hero-section, .contact-container {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
}