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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif; 
    line-height: 1.7;
    color: #4A4A4A; 
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto; 
}

.full-height {
    min-height: calc(100vh - 70px); 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0; 
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    color: #0D205E; 
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.2rem; color: #1E3A8A; } 

p {
    margin-bottom: 1.2rem;
    font-size: 1rem; 
}

a {
    text-decoration: none;
    color: #FF6F00;
    transition: color 0.3s ease;
}

a:hover {
    color: #E65100; 
}

.text-link { 
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: #FFC107; 
    text-underline-offset: 3px;
}
.text-link:hover {
    text-decoration-color: #FF6F00;
}

.highlight {
    color: #FF6F00; 
}

.section-padding {
    padding: 4rem 0; 
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    text-align: center;
    padding: 3rem 0 1rem 0; 
}
.page-title h1 {
    margin-bottom: 0.5rem;
}
.page-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2rem auto; 
}

.icon-before-heading {
    margin-right: 0.5rem;
    color: #FF6F00; 
}

header {
    background-color: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px); 
    padding: 1rem 0;
    border-bottom: 1px solid #E0E0E0; 
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

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

nav .logo a {
    font-size: 1.8rem;
    font-weight: 700; 
    color: #0D205E;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px; 
}

nav ul li a {
    color: #333A45; 
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    font-weight: 500; 
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

nav ul li a::after { 
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FF6F00;
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 70%; 
}

nav ul li a.active {
    color: #0D205E; 
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #0D205E;
}

.hero-section {
    text-align: center;
}

.hero-content h1 {
    font-size: 3.2rem; 
    margin-bottom: 1rem;
}
.hero-content .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #555F6B;
    max-width: 700px; 
    margin-left: auto;
    margin-right: auto;
}
.btn {
    display: inline-block;
    background-color: #FF6F00; 
    color: #fff;
    padding: 14px 30px; 
    border-radius: 8px; 
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    margin: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.2); 
}
.btn:hover {
    background-color: #E65100;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.3);
}
.btn-secondary {
    background-color: #F0F4F8; 
    color: #333A45;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.btn-secondary:hover {
    background-color: #DCE4EC;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.highlight-icon {
    color: #FF6F00;
    margin-bottom: 1rem;
}
.why-me-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem; 
    text-align: center;
}
.why-me-item {
    background-color: #F8F9FA; 
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-me-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.why-me-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}
.why-me-item p {
    font-size: 0.95rem;
    color: #555F6B;
}

#intro-preview {
    text-align: center;
}
.tech-icons-preview {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}
.tech-icons-preview i, .custom-tech-icon {
    margin: 0 15px;
    color: #0D205E;
    font-size: 2.8rem; 
    transition: transform 0.3s ease;
}
.custom-tech-icon { 
    width: 45px; 
    height: auto;
    vertical-align: middle;
}
.tech-icons-preview i:hover, .custom-tech-icon:hover {
    transform: scale(1.1);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem; 
    align-items: center;
    margin-bottom: 3rem;
}
.about-image {
    flex: 1;
    min-width: 280px; 
    text-align: center;
}
.about-image img {
    max-width: 100%;
    width: 300px; 
    height: 300px;
    object-fit: cover;
    border-radius: 50%; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.about-text {
    flex: 2;
    min-width: 300px;
}
.about-narrative h3,
.about-philosophy h3,
.about-aspirations h3,
.about-personal h3 {
    font-size: 1.8rem; 
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #FFC107; 
    margin-bottom: 1.5rem;
    display: inline-block; 
}
.about-narrative,
.about-philosophy,
.about-aspirations,
.about-personal {
    margin-bottom: 3rem;
}
.about-philosophy ul {
    list-style: none;
    padding-left: 0;
}
.about-philosophy ul li {
    margin-bottom: 1.5rem;
    display: flex; 
    align-items: flex-start;
}
.philosophy-icon { 
    font-size: 1.5rem;
    color: #FF6F00;
    margin-right: 1rem;
    margin-top: 0.2rem; 
    width: 30px; 
}
.about-philosophy ul li div strong {
    display: block;
    color: #0D205E;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.skill-category h3 {
    border-bottom: 2px solid #0D205E;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}
.skill-item {
    background-color: #F8F9FA;
    padding: 1.5rem 1rem; 
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.skill-item i {
    display: block;
    font-size: 2.5rem; 
    margin-bottom: 0.8rem;
    color: #0D205E;
}
.skill-item .skill-icon-img {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 0.8rem auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}
.project-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.project-info {
    padding: 1.8rem; 
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}
.project-info h3 {
    margin-top: 0;
    font-size: 1.6rem;
}
.project-tagline {
    font-style: italic;
    color: #555F6B;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.project-summary,
.project-info p {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    color: #4A4A4A;
}
.project-info h4 {
    font-size: 1.1rem;
    color: #1E3A8A;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}
.project-info ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.project-info ul li {
    margin-bottom: 0.4rem;
    padding-left: 1.5em;
    position: relative;
}
.project-info ul li::before { 
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: #FF6F00; 
    font-size: 0.8em;
}
.project-links {
    margin-top: auto; 
    padding-top: 1rem; 
}
.btn-project-link {
    display: inline-flex; 
    align-items: center;
    margin-right: 0.8rem;
    margin-bottom: 0.5rem;
    padding: 8px 15px;
    background-color: #F0F4F8;
    color: #333A45;
    border: 1px solid #DCE4EC;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-project-link:hover {
    background-color: #0D205E;
    color: #fff;
    border-color: #0D205E;
}
.btn-project-link i {
    margin-right: 0.5em;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}
.contact-form-container h3,
.contact-details h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}
.contact-details p {
    margin-bottom: 1rem;
}
.contact-details strong {
    color: #0D205E;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333A45;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 1rem; 
    border: 1px solid #DCE4EC;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: #FF6F00;
    box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.15);
    outline: none;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
#contact-form button.btn {
    display: block;
    width: auto;
    margin-top: 1rem;
    cursor: pointer;
    border: none; 
}
.opportunities-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.opportunities-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.opportunities-section ul {
    list-style: none;
    padding-left: 0;
    font-size: 1rem;
}
.opportunities-section ul li {
    margin-bottom: 0.8rem;
    color: #4A4A4A;
    display: flex;
    align-items: center;
}
.list-icon { 
    margin-right: 0.8rem;
    color: #FF6F00;
    font-size: 1.1rem;
    width: 20px; 
}
#social-links-contact-page {
    margin-top: 1.5rem;
}
#social-links-contact-page h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.social-icons a {
    margin: 0 12px 0 0; 
    color: #0D205E;
    font-size: 1.8rem; 
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover {
    color: #FF6F00;
    transform: scale(1.1);
}

footer {
    background-color: #0D205E;
    color: #E0E0E0;
    text-align: center;
    padding: 2rem 0; 
    margin-top: auto;
}
footer p {
    margin-bottom: 0;
    font-size: 0.9rem;
}


@media (max-width: 991px) { 
    .hero-content h1 {
        font-size: 2.5rem;
    }
     .hero-content .subtitle {
        font-size: 1.1rem;
    }
    .section-padding {
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 69px; 
        left: 0;
        background-color: #fff;
        border-top: 1px solid #E0E0E0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.05);
    }
    nav ul.show {
        display: flex;
    }
    nav ul li {
        margin: 0;
        text-align: center;
        width: 100%;
    }
    nav ul li a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #E0E0E0;
    }
    nav ul li a::after { 
        display: none;
    }
    nav ul li a:hover,
    nav ul li a.active {
        background-color: #F0F4F8;
        color: #0D205E;
    }
    .menu-toggle {
        display: block;
    }

    .about-content {
        flex-direction: column;
    }
    .about-image, .about-text {
        flex: none;
        width: 100%;
    }
    .about-image img {
        width: 200px; 
        height: 200px;
    }
}