/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0a183d; /* Royal dark blue */
    color: #fff; /* Text is white by default */
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 24, 61, 0.98); /* Royal dark blue */
    border-bottom: 1px solid #FFD700;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #2563eb;
    font-weight: 600;
    font-size: 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo {
    height: 40px;
    width: 40px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 0.75rem;
    vertical-align: middle;
    border: 2px solid #FFD700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #FFD700;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #fffbe6;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #FFD700;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a183d 0%, #132c5c 100%);
    color: #FFD700;
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Adjust this value to match your navbar height */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #FFD700;
}

.typing-animation {
    display: inline-block;
    border-right: 3px solid #FFD700;
    overflow: hidden;
    white-space: nowrap;
    font-size: 2.5rem;
}

@media (max-width: 768px) {
    .typing-animation {
        font-size: 1.5rem;
        border-right: 2px solid #FFD700;
    }
}

@media (max-width: 480px) {
    .typing-animation {
        font-size: 1.1rem;
        border-right: 2px solid #FFD700;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #cbd5e1;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #FFD700;
    color: #0a183d;
}

.btn-primary:hover {
    background: #fffbe6;
    color: #0a183d;
}

.btn-secondary {
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.btn-secondary:hover {
    background: #FFD700;
    color: #0a183d;
}

/* Profile Card Animation */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card {
    position: relative;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid #FFD700;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.profile-avatar {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.floating-skills {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.skill-bubble {
    position: absolute;
    background: #FFD700;
    color: #0a183d;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    animation: orbit 20s linear infinite;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.1);
}

.skill-1 {
    top: -10px;
    left: -20px;
    animation-delay: 0s;
}

.skill-2 {
    top: 50%;
    right: -30px;
    animation-delay: -5s;
}

.skill-3 {
    bottom: -10px;
    left: 50%;
    animation-delay: -10s;
}

.skill-4 {
    top: 20%;
    left: -40px;
    animation-delay: -15s;
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(80px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
section {
    padding: 100px 0;
    background: #0a183d;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    position: relative;
    color: #FFD700;
     
    font-weight: 700;
    letter-spacing: 1px;
    transition: text-shadow 0.3s;
}

.section-title:hover {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.6);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #132c5c;
    position: relative;
    z-index: 10; /* Increased z-index to ensure about section stays above hero */
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.8;
}

.core-competencies {
    margin-top: 3rem;
}

.core-competencies h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

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

.competency-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #223a6a;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.competency-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.competency-item i {
    color: #FFD700;
    font-size: 1.2rem;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1 1 120px;
    min-width: 120px;
    max-width: 200px;
    background: #132c5c;
    color: #FFD700;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(255,215,0,0.06);
    padding: 1.5rem 1rem;
    margin: 0.5rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #bfa100;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .about-stats {
        gap: 1rem;
    }
    .stat-item {
        max-width: 160px;
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 600px) {
    .about-stats {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .stat-item {
        max-width: 100%;
        margin: 0.25rem 0;
    }
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.6s ease forwards;
}

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-card {
    background: #132c5c;
    color: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.portfolio-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700, #bfa100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.portfolio-icon i {
    color: #0a183d;
    font-size: 2rem;
}

.portfolio-card h3 {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
    font-weight: 600;
}

.portfolio-card p {
    color: #bfa100;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #FFD700;
    color: #0a183d;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Resume Section */
.resume {
    background: #132c5c;
}

.resume-content {
    max-width: 800px;
    margin: 0 auto;
}

.resume-card {
    color: #fff;
    background: #223a6a;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.resume-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.resume-header h3 {
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.resume-header p {
    color: #bfa100;
    font-size: 1.1rem;
}

.resume-sections {
    margin-bottom: 2rem;
}

.resume-section {
    margin-bottom: 2rem;
}

.resume-section h4 {
    font-size: 1.3rem;
    color: #FFD700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resume-section ul {
    list-style: none;
    padding-left: 1.5rem;
}

.resume-section li {
    color: #fff;
    margin-bottom: 0.5rem;
    position: relative;
}

.resume-section li::before {
    content: '•';
    color: #FFD700;
    position: absolute;
    left: -1rem;
}

.resume-download {
    text-align: center;
}

.download-btn {
    background: linear-gradient(135deg, #FFD700, #bfa100);
    color: #0a183d;
    padding: 15px 30px;
    font-size: 1.1rem;
}

.download-btn:hover {
    background: #fffbe6;
    color: #0a183d;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    background: #132c5c;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: #FFD700;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700, #bfa100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a183d;
    font-size: 1.5rem;
}

.contact-details h4 {
    color: #FFD700;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: #bfa100;
}

.contact-form {
    color: #fff;
    background: #223a6a;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #FFD700;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: #132c5c;
    color: #FFD700;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #bfa100;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #0a183d;
    color: #fff;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-text p {
    margin-bottom: 0.5rem;
}

.designer-credit {
    font-size: 0.95rem;
    color: #bfa100;
    font-weight: 500;
}

.designer-credit a.mikran-link {
    color: #25D366 !important;      /* WhatsApp green */
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.5px;
}
.designer-credit a.mikran-link:hover {
    color: #128C7E !important;
    text-decoration: underline;
}

.designer-credit a.alpha-link {
    color: #0078d4 !important;      /* Azure blue */
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.5px;
}
.designer-credit a.alpha-link:hover {
    color: #005fa3 !important;
    text-decoration: underline;
}

/* Footer WhatsApp Icon Styling */
.footer-social .social-link {
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-left: 0.5rem;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.15);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    vertical-align: middle;
}

.footer-social .social-link:hover {
    background: #128C7E;
    text-decoration: none;
    color: #fff;
    transform: scale(1.1);
}

/* WhatsApp number and icon alignment */
.footer-social {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.footer-social .whatsapp-number {
    color: #FFD700;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
}

/* Responsive: center on mobile */
@media (max-width: 768px) {
    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        text-align: center;
        flex-direction: column;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .competencies-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero {
        margin-top: 100px;
    }
}

@media (max-width: 600px) {
    .hero {
        margin-top: 110px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .profile-card {
        padding: 2rem;
    }

    .profile-avatar {
        width: 160px;
        height: 160px;
    }

    .skill-bubble {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Smooth scrolling and animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

::-webkit-scrollbar {
    background: #132c5c;
}
::-webkit-scrollbar-thumb {
    background: #FFD700;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #fffbe6;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    background: #25D366;
    color: #fff;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
    text-decoration: none;
}
.floating-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.08);
    color: #fff;
}

