/* General Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding-top: 56px;
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 40px;
    color: var(--dark-color);
    font-size: 2.5rem;
    font-weight: bold;
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
    padding: 8px 16px !important;
    margin: 0 5px;
    border-radius: 5px;
    font-size: 16px;
    color: white !important;
}

.navbar-nav .nav-link:hover {
    background-color: var(--primary-color);
    color: white !important;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.nav-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.navbar-brand {
    font-weight: bold;
    display: flex;
    align-items: center;
    color: white !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.title-wrapper {
    margin-bottom: 30px;
}

.welcome-text {
    display: inline-block;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
}

.welcome-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    transform: translateY(-50%);
}

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.title-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 15px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 40px;
    max-width: 500px;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background: #0056b3;
    color: white;
    transform: translateY(-2px);
}

.primary-btn i {
    transition: transform 0.3s ease;
}

.primary-btn:hover i {
    transform: translateX(5px);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    padding: 20px;
    z-index: 2;
}

.background-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4facfe 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.1;
    z-index: 1;
    animation: patternPulse 15s ease-in-out infinite;
}

/* Enhanced image styling with floating shadow */
.profile-image {
    position: relative;
    width: 100%;
    max-width: 400px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 2;
    animation: imageFloat 10s ease-in-out infinite;
}

/* Floating shadow effect */
.image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 20px;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.01) 80%,
        rgba(0, 0, 0, 0) 100%
    );
    filter: blur(5px);
    z-index: 1;
    animation: shadowFloat 6s ease-in-out infinite;
    border-radius: 50%;
}

/* Floating animations */
@keyframes imageFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.01);
    }
}

@keyframes shadowFloat {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) scale(0.75);
        opacity: 0.5;
    }
}

/* Add subtle parallax effect on mouse move */
.hero-image {
    position: relative;
    perspective: 1000px;
}

.image-wrapper {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

/* Enhance background pattern animation */
.background-pattern {
    animation: patternPulse 8s ease-in-out infinite;
}

@keyframes patternPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.05) rotate(2deg);
        opacity: 0.15;
    }
}

/* Responsive adjustments for animations */
@media (prefers-reduced-motion: reduce) {
    .profile-image,
    .image-wrapper::after,
    .background-pattern {
        animation: none;
    }
}

@media (max-width: 991px) {
    .image-wrapper::after {
        width: 70%;
        height: 15px;
    }

    @keyframes imageFloat {
        0%, 100% {
            transform: translateY(0) scale(1);
        }
        50% {
            transform: translateY(-15px) scale(1.01);
        }
    }
}

/* Add animation classes */
[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.aos-animate[data-aos="fade-right"],
.aos-animate[data-aos="fade-left"] {
    opacity: 1;
    transform: translateX(0);
}

/* About Section */
#about {
    background-color: #f0f8ff;
    padding: 100px 0;
}

.about-content {
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    padding: 30px 0;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 30px;
    text-align: left;
    max-width: 90ch;
}

.about-text .lead {
    font-size: 1.35rem;
    color: var(--dark-color);
    font-weight: 500;
    margin-bottom: 40px;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--primary-color);
}

.education-info {
    background-color: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.education-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), #4facfe);
}

.education-info .sub-title {
    color: var(--dark-color);
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.education-info .sub-title::before {
    content: '🎓';
    font-size: 1.6rem;
}

.education-info ul {
    padding-left: 5px;
}

.education-info ul li {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.1rem;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(247, 250, 252, 0.8);
    transition: transform 0.2s ease;
}

.education-info ul li:hover {
    transform: translateX(10px);
    background-color: rgba(247, 250, 252, 1);
}

.education-info ul li strong {
    color: var(--primary-color);
    margin-right: 10px;
    display: block;
    margin-bottom: 5px;
    font-size: 1.15rem;
}

.certificate-container {
    position: relative;
    margin-top: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.certificate-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,123,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-overlay span {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 12px 24px;
    border: 2px solid white;
    border-radius: 30px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.certificate-container:hover .certificate-overlay {
    opacity: 1;
}

.certificate-container:hover .certificate-overlay span {
    transform: translateY(0);
}

/* Skills Section */
#skills {
    background-color: #f8fafc;
    padding: 80px 0;
}

.skills-overview {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.expertise-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 40px;
}

.skill-category {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.skill-category h3 {
    color: var(--dark-color);
    font-size: 1.4rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-category h3 i {
    color: var(--primary-color);
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.skill-item {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    background: #f8fafc;
    transition: transform 0.5s ease;
}

.skill-item:hover {
    transform: translateY(-3px);
}

.skill-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.skill-item span {
    display: block;
    color: #4a5568;
    font-size: 0.95rem;
    font-weight: 500;
}

.ai-expertise {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid #e2e8f0;
}

.ai-expertise h3 {
    text-align: center;
    color: var(--dark-color);
    font-size: 1.6rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.ai-expertise h3 i {
    color: var(--primary-color);
}

.ai-skill-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.ai-skill-card:hover {
    transform: translateY(-5px);
}

.ai-skill-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.ai-skill-card h4 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.ai-skill-card p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Projects Section */
#projects {
    background-color: #f0f8ff;
    padding: 60px 20px;
}

.project-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 24px;
    margin: 0 auto 30px auto;
    max-width: 700px;
    text-align: left;
}

.project-title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 12px;
}

.project-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 16px;
}

.btn.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0077ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
}

/* Contact Section */
#contact {
    background-color: #f0f8ff;
    padding: 80px 0;
}

.contact-info {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #f8fafc;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
}

.contact-item a {
    color: #4a5568;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

.social-link:nth-child(1) {
    background: #1877f2;  /* Facebook blue */
}

.social-link:nth-child(2) {
    background: #ff0000;  /* YouTube red */
}

.contact-form {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-form h3 {
    color: var(--dark-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    outline: none;
}

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

.contact-form .btn {
    padding: 12px 25px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-form .btn i {
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: #1a1a2e;
    color: #e2e8f0;
    padding: 70px 0 30px;
}

.footer-content {
    margin-bottom: 50px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-section h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #a0aec0;
}

.footer-list li i {
    width: 20px;
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-list a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: white;
}

.footer-text {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.schedule-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.schedule-btn:hover {
    background: #0056b3;
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #a0aec0;
}

.availability {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-icon {
    color: #48bb78;
    font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
        text-align: center;
    }

    .welcome-text {
        padding-left: 0;
    }

    .welcome-text::before {
        display: none;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .skill-card {
        margin: 10px 0;
    }

    .about-text {
        padding: 25px;
    }
    
    .section {
        padding: 60px 0;
    }

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

    .contact-info,
    .contact-form {
        margin-bottom: 30px;
    }

    .contact-item {
        padding: 12px;
    }

    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .contact-form .btn {
        width: 100%;
        justify-content: center;
    }

    .expertise-intro {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .skill-category {
        padding: 20px;
    }

    .skill-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-skill-card {
        margin-bottom: 20px;
    }

    .footer {
        padding: 50px 0 30px;
    }

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

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-list li {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
        justify-content: center;
    }

    .schedule-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive Design */
@media (min-width: 992px) {
    .about-content {
        padding: 0 30px;
    }
    
    .education-info {
        margin-right: 30px;
    }
}

@media (max-width: 991px) {
    .certificate-container {
        margin: 40px auto;
        max-width: 500px;
    }
    
    .about-text .lead {
        font-size: 1.25rem;
        margin-bottom: 30px;
    }
    
    .education-info {
        margin: 40px 20px;
    }
}

@media (max-width: 480px) {
    .about-text .lead {
        font-size: 1.15rem;
        padding-left: 15px;
    }
    
    .education-info .sub-title {
        font-size: 1.25rem;
    }
    
    .education-info ul li strong {
        font-size: 1.05rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .title-tag {
        font-size: 1rem;
        padding: 6px 16px;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .primary-btn {
        width: 100%;
        justify-content: center;
    }
} 