/* Google-inspired color palette */
:root {
    --google-blue: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC05;
    --google-green: #34A853;
    --google-gray: #F1F1F1;
    --google-dark-gray: #5F6368;
    --google-light-gray: #F8F9FA;
    --google-text: #202124;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--google-text);
    line-height: 1.6;
    background-color: var(--google-light-gray);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Product Sans', 'Roboto', sans-serif;
    font-weight: 400;
}

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

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: var(--google-dark-gray);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--google-blue), var(--google-green));
    margin: 15px auto 0;
}

/* Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Product Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.blue { color: var(--google-blue); }
.red { color: var(--google-red); }
.yellow { color: var(--google-yellow); }
.green { color: var(--google-green); }

.portfolio-text {
    color: var(--google-dark-gray);
    margin-left: 10px;
}

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

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

nav ul li a {
    text-decoration: none;
    color: var(--google-dark-gray);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--google-blue);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(66,133,244,0.1) 0%, rgba(234,67,53,0.1) 100%);
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(to right, var(--google-blue), var(--google-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--google-dark-gray);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--google-dark-gray);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--google-blue);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid var(--google-blue);
}

.btn:hover {
    background-color: transparent;
    color: var(--google-blue);
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--google-blue);
    border: 2px solid var(--google-blue);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: var(--google-blue);
    color: white;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down a {
    color: var(--google-dark-gray);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

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

/* About Section */
.about-section {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.about-text h3 {
    margin: 20px 0 15px;
    font-size: 1.5rem;
    color: var(--google-blue);
}


.skills-chart h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--google-blue);
}

.skill {
    margin-bottom: 20px;
}

.skill p {
    margin-bottom: 5px;
    font-weight: 500;
}

.skill-bar {
    width: 100%;
    height: 15px;
    background-color: var(--google-gray);
    border-radius: 5px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(to right, var(--google-blue), var(--google-green));
    position: relative;
    font-size: 11px;
    padding-left: 5px;
    padding-bottom: 10px;
}

.skill-level::after {
    content: attr(data-level);
    position: absolute;
    right: 10px;
    top: -25px;
    font-size: 0.8rem;
    color: var(--google-dark-gray);
}

.bd { width: 90%; }
.wd { width: 85%; }
.sd { width: 75%; }
.cc { width: 70%; }
.dm { width: 70%; }
.vc { width: 65%; }

.portfolio-summary {
    margin-top: 60px;
}

.portfolio-summary h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--google-blue);
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--google-gray);
}

th {
    background-color: var(--google-blue);
    color: white;
    font-weight: 500;
}

tr:nth-child(even) {
    background-color: var(--google-light-gray);
}

tr:hover {
    background-color: rgba(66,133,244,0.1);
}

table a {
    color: var(--google-blue);
    text-decoration: none;
    font-weight: 500;
}

table a:hover {
    text-decoration: underline;
}

/* Cases Section */
.cases-section {
    background-color: var(--google-light-gray);
}

.case-study {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.case-study h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--google-blue);
    text-align: center;
}

.case-section {
    margin-bottom: 40px;
}

.case-section h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--google-dark-gray);
    position: relative;
    padding-left: 20px;
}

.case-section h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--google-blue);
    border-radius: 50%;
}

.flow-diagram, .system-design, .results-graph {
    margin: 20px 0;
    text-align: center;
}

.flow-diagram img, .system-design img, .results-graph img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

pre {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.github-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--google-blue);
    text-decoration: none;
    font-weight: 500;
}

.github-link:hover {
    text-decoration: underline;
}

.github-link i {
    margin-left: 5px;
}

/* Contact Section */
.contact-section {
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--google-blue);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--google-blue);
    width: 20px;
    text-align: center;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--google-light-gray);
    border-radius: 50%;
    color: var(--google-blue);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--google-blue);
    color: white;
    transform: translateY(-3px);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--google-gray);
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

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

/* Footer */
footer {
    background-color: var(--google-dark-gray);
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--google-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    nav {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn, .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    section {
        padding: 60px 0;
    }
    
    .case-study {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    table {
        font-size: 0.8rem;
    }
    
    th, td {
        padding: 8px 10px;
    }
}

/* Add these new styles to your existing CSS file */

/* Projects Section */
.projects-section {
    background-color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background-color: var(--google-light-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-links {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    color: var(--google-blue);
    font-size: 1rem;
    transition: all 0.3s;
}

.project-link:hover {
    background-color: var(--google-blue);
    color: white;
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--google-dark-gray);
}

.project-tech {
    color: var(--google-blue);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.project-content p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: rgba(66,133,244,0.1);
    color: var(--google-blue);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.projects-cta {
    text-align: center;
    margin-top: 50px;
}

.projects-cta .btn i {
    margin-left: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        max-width: 100%;
    }
}
/*
html {
    scroll-behavior: smooth;
}*/


.case-nav-btn {
    padding: 8px 15px;
    background: #f1f1f1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none; /* <-- This removes the underline */
    display: inline-block; /* Optional: keeps spacing like a button */
}

.case-nav-btn:hover {
    background: #4285F4;
    color: white;
    text-decoration: none; /* Ensures no underline on hover */
}

.case-nav-btn.active {
    background: #4285F4;
    color: white;
    text-decoration: none; /* Ensures no underline when active */
}

.case-study {
  display: none;
}

.case-study.active {
  display: block;
}

.case-study h2::after {
    content: "";
    display: block;
    width: 400px; /* length of the line */
    height: 5px; /* thickness of the line */
    background-color: var(--google-dark-gray);
    margin: 10px auto 0; /* center the line and add spacing */
}

#form-message {
        margin-top: 10px;
        color: #34A853;
        font-weight: 600;
      }

.about-photo img {
    width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #b7cee4; /* Optional: adds a soft border */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: adds shadow */
}

.about-points {
    margin-top: 30px;
    font-size: 1rem;
}

.about-points ul {
    list-style-type: disc;
    padding-left: 20px;
}

.about-points li {
    margin-bottom: 10px;
    line-height: 1.6;
}



/**/

.case-section ul {
    list-style: none; /* remove default bullets */
    padding: 0;
}

.case-section li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 24px;
    font-size: 16px;
    line-height: 1.6;
}

.case-section li::before {
    content: "🔗"; /* or use another icon like "•", "➤", "→" 🔗➤ */
    position: absolute;
    left: 0;
    color: #007BFF; /* soft blue */
    font-size: 16px;
}

.case-section a {
    text-decoration: none;
    color: #007BFF;
    transition: color 0.2s ease-in-out;
}

.case-section a:hover {
    color: #0056b3; /* darker blue on hover */
    text-decoration: underline;
}

/**/

#business {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: max-content;
  margin: 0 auto; /* center container horizontally if needed */
}

#business a.case-nav-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--google-blue);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  border: 2px solid var(--google-blue);
  transition: all 0.3s ease;
  text-align: center;
  width: 100%; /* make full width of container */
  box-sizing: border-box;
}

#business a.case-nav-btn:hover {
  background-color: transparent;
  color: var(--google-blue);
}

#business a.case-nav-btn.active {
  background-color: var(--google-blue);
  color: white;
  border: 2px solid var(--google-blue);
}
/**/

.case-study-container {
    padding: 2rem;
    background: #f5f7fa;
    font-family: "Segoe UI", sans-serif;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #202124;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card h4 {
    margin-bottom: 1rem;
    color: #1a73e8;
    font-size: 24px;
}

.card ul {
    padding-left: 1.5rem;
    color: #333;
}

.card ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}



