/* style.css */
:root {
    --primary-color: #2ecc71;
    --secondary-color: #333;
    --text-color: #444;
    --light-bg: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
 header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 24px;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 10px 20px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    background: var(--light-bg);
    padding-top: 80px;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.primary-btn {
    background: var(--primary-color);
    color: #fff;
}

.secondary-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
} */

/* About Section */
.about-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 50px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 30%;
    opacity: 0.5;
}

.about-text p {
    font-size : 100px;
}

/* Skills Section */
.skills-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.skill-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.skill-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Projects Section */
.projects-section {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
}

.project-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
} */

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Experience & Certifications Section Styles */
.experience-section {
    padding: 100px 0;
    color: white;
}

.experience-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.experience-grid,
.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.experience-card,
.certification-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-card:hover,
.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.experience-icon,
.certification-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.experience-info h4,
.certification-info h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: white;
}

.experience-info h5,
.certification-info h5 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.duration {
    font-style: italic;
    color: #ccc;
    margin-bottom: 15px;
}

.experience-details {
    list-style-type: none;
    padding-left: 0;
}

.experience-details li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.experience-details li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.cert-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.cert-link:hover {
    color: white;
}

.cert-link i {
    margin-left: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .experience-grid,
    .certification-grid {
        grid-template-columns: 1fr;
    }
    
    .category-title {
        font-size: 1.75rem;
    }
}

/* Extracurricular Activities Section Styles */
.extracurricular-section {
    padding: 100px 0;
    color: white;
}

.activities-category {
    margin-bottom: 60px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.activity-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.activity-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.activity-info h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.activity-info h5 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.activity-details {
    list-style-type: none;
    padding-left: 0;
    margin-top: 15px;
}

.activity-details li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #ffffff;
}

.activity-details li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.duration {
    font-style: italic;
    color: #ccc;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .activity-card {
        margin-bottom: 20px;
    }
}

/* Coding Profiles Section Styles */
.coding-profiles-section {
    padding: 100px 0;
    color: white;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.profile-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.profile-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.profile-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.profile-info p {
    color: #ccc;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.profile-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.profile-link:hover {
    color: white;
}

.profile-link i {
    margin-left: 5px;
}

/* Stats counter animation */
.profile-info .counter {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .profiles-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-card {
        margin-bottom: 20px;
    }
}

/* Optional: Add custom badges or ratings styling */
.rating-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    background: var(--primary-color);
    color: white;
    font-size: 0.9rem;
    margin: 5px;
}

/* Testimonials Section Styles */
.testimonials-section {
    padding: 100px 0;
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.testimonial-content {
    position: relative;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    color: #f0f0f0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-image i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

.author-info p {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;
}

/* Animation for cards */
.testimonial-card {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation delay for cards */
.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.3s; }
.testimonial-card:nth-child(3) { animation-delay: 0.5s; }

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        margin-bottom: 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

/* Education Section Styles */
.education-section {
    padding: 100px 0;
    color: white;
}

.education-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.education-card {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.education-icon {
    font-size: 2.5rem;
    margin-right: 25px;
    color: var(--primary-color);
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.education-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.education-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.education-info p {
    margin-bottom: 5px;
    color: #ffffff;
}

.education-year {
    font-style: italic;
    color: var(--primary-color) !important;
}

.education-score {
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .education-card {
        flex-direction: column;
        text-align: center;
    }

    .education-icon {
        margin: 0 0 15px 0;
    }
}

/* Add this to your existing CSS */
.hero-buttons {
    display: flex;
    gap: 20px; /* Adds space between buttons */
    justify-content: center; /* Centers the buttons horizontally */
    margin-top: 30px; /* Adds space above the button group */
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    margin: 0 10px; /* Adds additional horizontal spacing */
}

/* Optional: Add hover effects to make buttons more interactive */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Navbar improvements */
nav ul li a {
    color: white; /* Changed from var(--secondary-color) to white */
    text-decoration: none;
    padding: 10px 20px;
    transition: color 0.3s;
    font-size: 18px; /* Increased font size */
    font-weight: 500; /* Made text slightly bolder */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Added shadow for better visibility */
}

nav ul li a:hover {
    color: var(--primary-color);
    transform: scale(1.1); /* Slight scale effect on hover */
}

/* About section improvements */
.about-text h3 {
    font-size: 2.5rem; /* Increased size for the title */
    margin-bottom: 20px;
    color: white;
}

.about-text p {
    font-size: 1.2rem; /* Increased paragraph text size */
    line-height: 1.8;
    margin-bottom: 25px;
    color: white;
}

.about-details .detail {
    margin-bottom: 15px;
    font-size: 1.1rem; /* Increased details text size */
}

.about-details .detail span:first-child {
    font-weight: 600;
    margin-right: 10px;
    color: var(--primary-color); /* Makes the labels stand out */
}

.about-details .detail span:last-child {
    color: white;
}

/* Section title improvement */
.section-title {
    text-align: center;
    font-size: 2.5rem; /* Increased section title size */
    margin-bottom: 50px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Base styles */
body {
    background-image: url('image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: rgba(0, 0, 0, 0.9);
    background-blend-mode: overlay;
    color: white;
    margin: 0;
    padding: 0;
}

/* Header styles */
header {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Section styles */
.hero-section,
.about-section,
.skills-section,
.projects-section,
.contact-section {
    background-color: transparent !important; /* Override any existing backgrounds */
    color: white;
}

/* Card styles */
.skill-card,
.project-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: white;
}

/* Form styles */
.contact-form input,
.contact-form textarea {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Button styles */
.btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Footer styles */
footer {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
}

/* Link styles */
a {
    color: white;
    text-decoration: none;
}

a:hover {
    color: #ccc;
}

/* Social links */
.social-links a {
    color: white;
}

.social-links a:hover {
    color: #ccc;
}

/* Responsive Design */

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}