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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2b88d3;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(246, 246, 247, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    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;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A2A44;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #2E4066;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: #26A69A;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #1A2A44, #2E4066);
    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-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1A2A44 0%, #385ba6 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.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.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.highlight {
    color: #203ee5;
    position: relative;
    text-shadow: 0 0 10px rgba(26, 42, 68, 0.3);
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1A2A44, #2E4066);
    transform: scaleX(0);
    transform-origin: left;
    animation: underline 2s ease-in-out infinite;
}

@keyframes underline {
    0%, 100% { transform: scaleX(0); }
    50% { transform: scaleX(1); }
}

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

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #D3D3D3;
    max-width: 500px;
}

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

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #375d99;
    color: #FFFFFF;
    border: 2px solid #1A2A44;
    box-shadow: 0 4px 15px rgba(26, 42, 68, 0.3);
}

.btn-primary:hover {
    background: #2E4066;
    border-color: #2E4066;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 42, 68, 0.4);
}

.btn-secondary {
    background: #F5F5F5;
    color: #1A2A44;
    border: 2px solid #F5F5F5;
}

.btn-secondary:hover {
    background: #FFFFFF;
    color: #1A2A44;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 245, 245, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

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


.profile-card {
    width: 250px;
    height: 250px;
    aspect-ratio: 1 / 1; /* Ensures a square container for the circle */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%; /* Makes the card circular */
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    border: 3px solid rgba(26, 42, 68, 0.2);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden; /* Ensures no overflow outside the circular border */
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%; /* Reinforces circular shape */
    overflow: hidden; /* Clips the image to the circular boundary */
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the circular area without distortion */
    object-position: center 30%; /* Adjusts positioning to focus on the upper part of the image */
    border-radius: 50%; /* Ensures the image itself is clipped to a circle */
}

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

.scroll-indicator a {
    color: #1A2A44;
    font-size: 1.5rem;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(26, 42, 68, 0.3);
}

@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: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1A2A44;
    position: relative;
    transition: color 0.3s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1A2A44, #2E4066);
    border-radius: 2px;
}

.section-title:hover {
    color: #203ee5;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #F5F5F5;
}

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

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1A2A44;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #1A2A44;
    font-weight: 500;
}

.about-card {
    background: linear-gradient(135deg, #1A2A44, #2E4066);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(26, 42, 68, 0.2);
    border: 1px solid rgba(26, 42, 68, 0.1);
}

.about-card i {
    font-size: 4rem;
    color: #1A2A44;
    text-shadow: 0 0 20px rgba(26, 42, 68, 0.3);
}

/* Experience Section */
.experience {
    padding: 5rem 0;
    background: #f8fafc;
}

.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #1A2A44, #2E4066);
    transform: translateX(-50%);
}

.experience-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.experience-item:nth-child(odd) {
    flex-direction: row;
}

.experience-item:nth-child(even) {
    flex-direction: row-reverse;
}

.experience-date {
    flex: 0 0 150px;
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #1A2A44, #2E4066);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(26, 42, 68, 0.3);
}

.experience-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    position: relative;
    z-index: 2;
}

.experience-content h3 {
    color: #1A2A44;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.experience-content h4 {
    color: #1A2A44;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.experience-location {
    color: #1A2A44;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
    opacity: 0.7;
}

.experience-details {
    list-style: none;
    padding: 0;
}

.experience-details li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #1A2A44;
}

.experience-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #1A2A44;
    font-weight: bold;
}

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

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.skill-category h3 {
    color: #1A2A44;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    transition: color 0.3s ease;
}

.skill-category:hover h3 {
    color: #203ee5;
}

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

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #F5F5F5;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.skill-item:hover {
    background: linear-gradient(135deg, #1A2A44, #2E4066);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(26, 42, 68, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.skill-item i {
    font-size: 1.5rem;
    color: #1A2A44;
    transition: all 0.3s ease;
    min-width: 24px;
    text-align: center;
}

.skill-item:hover i {
    color: white;
    transform: scale(1.1);
}

.skill-item span {
    font-weight: 600;
    font-size: 1rem;
    color: #000000;
    transition: color 0.3s ease;
}

.skill-item:hover span {
    color: #2b88d3;
}

/* Custom icon styling for specific technologies */
.skill-item .fab.fa-java {
    color: #ED8B00;
}

.skill-item .fab.fa-python {
    color: #3776AB;
}

.skill-item .fab.fa-js-square {
    color: #F7DF1E;
}

.skill-item .fab.fa-html5 {
    color: #E34F26;
}

.skill-item .fab.fa-css3-alt {
    color: #1572B6;
}

.skill-item .fab.fa-react {
    color: #61DAFB;
}

.skill-item .fab.fa-google {
    color: #4285F4;
}

.skill-item .fab.fa-git-alt {
    color: #F05032;
}

.skill-item .fab.fa-salesforce {
    color: #00A1E0;
}

.skill-item:hover .fab.fa-java,
.skill-item:hover .fab.fa-python,
.skill-item:hover .fab.fa-js-square,
.skill-item:hover .fab.fa-html5,
.skill-item:hover .fab.fa-css3-alt,
.skill-item:hover .fab.fa-react,
.skill-item:hover .fab.fa-google,
.skill-item:hover .fab.fa-git-alt,
.skill-item:hover .fab.fa-salesforce {
    color: white;
}

/* Projects Section */
.projects {
    background: #F5F5F5;
    padding: 5rem 0;
}

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

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #1A2A44, #2E4066);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image i {
    font-size: 3rem;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Custom project icon colors */
.project-card:nth-child(1) .project-image i {
    color: #00A1E0; /* Salesforce blue for Data Guardian */
}

.project-card:nth-child(2) .project-image i {
    color: #4285F4; /* Google Cloud blue for Discovery Module */
}

.project-card:nth-child(3) .project-image i {
    color: #00A1E0; /* Salesforce blue for Salesforce project */
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1A2A44;
    transition: color 0.3s ease;
}

.project-card:hover .project-content h3 {
    color: #203ee5;
}

.project-content p {
    color: #1A2A44;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background: #F5F5F5;
    color: #1A2A44;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-tech span:hover {
    color: #203ee5;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1A2A44;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #203ee5;
}

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

.contact-info h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1A2A44;
    transition: color 0.3s ease;
}

.contact-info h3:hover {
    color: #203ee5;
}

.contact-info p {
    color: #1A2A44;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #F5F5F5;
    border-radius: 8px;
}

.contact-item i {
    color: #1A2A44;
    font-size: 1.2rem;
}

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

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

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* GitHub - Original black color */
.social-link .fa-github {
    color: #333;
}

.social-link:hover .fa-github {
    color: #000;
}

/* LinkedIn - Original blue color */
.social-link .fa-linkedin {
    color: #0077b5;
}

.social-link:hover .fa-linkedin {
    color: #005885;
}

/* Twitter - Original blue color */
.social-link .fa-twitter {
    color: #1da1f2;
}

.social-link:hover .fa-twitter {
    color: #0d8bd9;
}

/* Instagram - Original gradient colors */
.social-link .fa-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-link:hover .fa-instagram {
    background: linear-gradient(45deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #a0176a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #1f2937;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #26A69A;
    box-shadow: 0 0 0 3px rgba(38, 166, 154, 0.1);
}

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

.contact-form .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #26A69A, #1A2A44);
    color: white;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(38, 166, 154, 0.3);
}

.contact-form .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.contact-form .btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* 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-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

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

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

    .about-stats {
        grid-template-columns: 1fr;
    }

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

    .skill-items {
        grid-template-columns: 1fr;
    }

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

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

    .experience-timeline::before {
        left: 20px;
    }

    .experience-item {
        flex-direction: column !important;
        margin-left: 40px;
    }

    .experience-date {
        flex: none;
        width: 120px;
        margin-bottom: 1rem;
    }

    .experience-content {
        margin: 0;
        margin-left: 0;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .profile-card {
        width: 250px;
        height: 250px;
    }

    .profile-image i {
        font-size: 3rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
} 