/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Header Styles */
header {
    background-color: #003366;
   /* background-image: url('images/valid-image.jpg');  Update this to a valid image path */
    background-size: cover;
    background-position: center;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 102, 0.7);
    z-index: 1;
}

header h1,
header nav {
    position: relative;
    z-index: 2;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

nav {
    margin-top: 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #00bfff;
}

nav a.active {
    color: #00bfff;
    border-bottom: 2px solid #00bfff;
    padding-bottom: 3px;
}

/* Pricing Page Styles */
.pricing-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.pricing-overview h2,
.web-app-pricing h2 {
    color: #2c3e50;
    border-bottom: 2px solid #1abc9c;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.experience-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

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

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.experience-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.experience-content h3 {
    margin: 0 0 15px 0;
    color: #003366;
    font-size: 1.4rem;
}

.experience-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    flex: 1;
}

@media (max-width: 768px) {
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .experience-image {
        height: 180px;
    }
}

.pricing-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.pricing-card h3::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
}

.pricing-card:nth-child(1) h3::before {
    background-image: url('icons/tools.svg');
}

.pricing-card:nth-child(2) h3::before {
    background-image: url('icons/certificates.svg');
}

.pricing-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.price {
    font-size: 2rem;
    color: #1abc9c;
    font-weight: bold;
    margin: 15px 0;
}

.module-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.module-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-color: #1abc9c;
}

.module-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.module-card h3::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
}
/*
.module-card:nth-child(1) h3::before {
    background-image: url('icons/database.svg');
}

.module-card:nth-child(2) h3::before {
    background-image: url('icons/users.svg');
}
*/
.module-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.module-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.module-card li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
}

.module-card li:last-child {
    border-bottom: none;
}

.pricing-note {
    margin-top: 30px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
    color: #666;
}

.cta-section {
    text-align: center;
    margin: 60px 0;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1abc9c, #16a085);
    border-radius: 15px;
    color: white;
}

.cta-section .credentials-timeline {
    display: grid;
    gap: 2rem;
    padding: 2rem;
    position: relative;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
    align-items: start;
    position: relative;
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: bold;
    color: #003366;
    padding: 0.5rem;
    background: #f0f4f8;
    border-radius: 4px;
    text-align: center;
}

.timeline-content {
    padding: 1rem;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-content h3 {
    margin: 0 0 0.5rem 0;
    color: #003366;
}

.timeline-content p {
    margin: 0;
    color: #666;
}

/* Vertical line */
.credentials-timeline::before {
    content: '';
    position: absolute;
    left: 140px;
    width: 2px;
    height: 100%;
    background: #003366;
}

/* Dots on the line */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 138px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #003366;
    border: 2px solid white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 30px;
    font-size: 2rem;
}

.cta-button {
    display: inline-block;
    background: #1abc9c;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #16a085;
    transform: translateY(-2px);
}

/* Existing Styles from Other Pages */
/* ... [rest of existing CSS content] ... */

/* Icon Grid Styles */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 20px;
    padding: 20px;
}

.icon-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    transition: transform 0.2s ease;
}

.icon-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.icon-item:hover {
    transform: scale(1.1);
}

/* Profile Header Styles */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.profile-header h1 {
    margin: 0;
    font-size: 2.2rem;
}

.profile-header h2 {
    margin: 10px 0 0;
    font-size: 1.2rem;
    font-weight: normal;
    color: rgba(255,255,255,0.9);
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: relative;
    z-index: 3;
}

/* Services Page Styles */
.services-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.services-grid, .development-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-category {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.feature-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-color: #1abc9c;
}

.feature-category h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1abc9c;
}

.feature-category ul {
    list-style: none;
    padding: 0;
}

.feature-category li {
    padding: 10px 0;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    align-items: center;
}

.feature-category li:last-child {
    border-bottom: none;
}

.services-grid > div, .development-grid > div {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.services-grid > div:hover, .development-grid > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-color: #1abc9c;
}

.services-grid h3, .development-grid h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1abc9c;
}

.services-grid ul, .development-grid ul {
    list-style: none;
    padding: 0;
}

.services-grid li, .development-grid li {
    padding: 10px 0;
    border-bottom: 1px solid #ecf0f1;
}

.services-grid li:last-child, .development-grid li:last-child {
    border-bottom: none;
}

.services-grid li::before, .development-grid li::before {
    content: "•";
    color: #1abc9c;
    margin-right: 8px;
}

/* Tech Icon Styles */
.tech-icon {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 10px;
    object-fit: contain;
}

.module-card li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
}

@media (max-width: 768px) {
    .tech-icon {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }
}

/* Contact Page Styles */
.contact-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.contact-hero {
    background: linear-gradient(135deg, #1abc9c, #16a085);
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 40px;
}

.contact-hero h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.info-cards {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.info-card .icon {
    font-size: 1.5rem;
    color: #1abc9c;
}

.info-card h3 {
    margin: 0 0 5px 0;
    color: #2c3e50;
}

.info-card p {
    margin: 0;
    color: #666;
}

#email-link {
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

#email-link::after {
    content: 'manavazhagan@outlook.com';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #003366;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#email-link:hover::after {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

#email-link:hover {
    color: #1abc9c;
}

.social-links {
    margin-bottom: 40px;
}

.social-links h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    font-size: 1.5rem;
    color: #666;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #1abc9c;
    transform: translateY(-3px);
}

.map-container {
    margin-bottom: 40px;
}

.map-container h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.message-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.message-form h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1abc9c;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1abc9c;
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.1);
    outline: none;
}

.button {
    background: #1abc9c;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover {
    background: #16a085;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-hero {
        padding: 60px 20px;
    }
    
    .contact-hero h2 {
        font-size: 1.8rem;
    }
}

/* Portfolio Page Styles */
.portfolio-content {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

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

.projects-grid .project-card {
    background-color: black !important;
}
.projects-grid .project-card p{
    color: #f0f0f0 !important; /* Brighter white color with !important */
}
.projects-grid .project-card h3{
    color: #767171 !important; /* Brighter white color with !important */
}

.project-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-color: #1abc9c;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3 {
    color: #2c3e50;
    margin: 20px 20px 10px;
    font-size: 1.2rem;
}

.project-card p {
    color: #666;
    margin: 0 20px 20px;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Footer Styles */
footer {
    background-color: #003366;
   /* background-image: url('images/valid-image.jpg');  Add background image */
    background-size: cover;
    background-position: center;
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
    position: relative;
    width: 100%; /* Ensure footer stretches to full width */
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Darker overlay */
    z-index: 1;
}

.footer-container,
.footer-bottom {
    position: relative;
    z-index: 2;
    width: 100%; /* Ensure footer content stretches to full width */
    max-width: none; /* Remove any max-width constraints */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: #1abc9c;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-links a:hover {
    color: #1abc9c;
}

.email-hover {
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: inline-block;
    padding: 2px 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.email-hover::after {
    content: attr(data-email);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #003366;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    pointer-events: none;
}

.email-hover:hover::after {
    opacity: 1;
    visibility: visible;
    margin-top: 15px;
    transition-delay: 0.1s;
}

.email-hover:hover {
    background: rgba(26, 188, 156, 0.1);
    color: #1abc9c;
}

.email-hover:hover::after {
    opacity: 1;
    visibility: visible;
    margin-top: 15px;
    transition-delay: 0.1s;
}

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

.social-icons-footer a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons-footer a:hover {
    color: #1abc9c;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons-footer {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .project-card img {
        height: 150px;
    }
}

/* Specific icons for each pricing card heading */


.pricing-card.advanced-website h3::before {
    background-image: url('icons/list-menu.svg');
}

.pricing-card.ecommerce-website h3::before {
    background-image: url('icons/shopping-cart.svg');
}

/* New icon updates */
.pricing-card.development-tools h3::before {
    background-image: url('icons/tools.svg');
}

.pricing-card.frameworks h3::before {
    background-image: url('icons/framework.svg');
}

.pricing-card.web-applications h3::before {
    background-image: url('icons/web-application.svg');
}


.pricing-card.process-optimization h3::before {
    background-image: url('icons/process.svg');
}

.module-card.hourly-rate h3::before {
    background-image: url('icons/clock.svg');
}
.module-card.monthly-rate h3::before {
    background-image: url('icons/calendar.svg');
}

.module-card.project-based-pricing h3::before {
    background-image: url('icons/projects.svg');
}


/* Basic Website */
.module-card.basic-website h3::before {
    background-image: url('icons/basic.svg');
}

.module-card.website-development h3::before {
    background-image: url('icons/website.svg');
}
/* Advanced Website */
.module-card.adv-website h3::before {
    background-image: url('icons/website.svg');
}

/* Basic CRUD Modules */
.module-card.CRUD h3::before {
    background-image: url('icons/CRUD.svg');
}

/* User Management Systems */
.module-card.user-management h3::before {
    background-image: url('icons/users.svg');
}

/* Technical Expertise */
.module-card.technical-expertise h3::before {
    background-image: url('icons/technical.svg');
}

/* Programming Languages */
.module-card.programming-languages h2::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('icons/programming.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}

/* Databases */
.module-card.databases h2::before {
    background-image: url('icons/database.svg');
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}

/* CMS & Reporting */
.module-card.cms-reporting h2::before {
    background-image: url('icons/cms.svg');
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}

/* Horizontal Card Layout for About Page */
.about-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.about-section .module-card {
    flex: 1 1 calc(33.333% - 30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-section .module-card h2 {
    margin-bottom: 20px;
}

.about-section .module-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.about-section .module-card li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
}

.about-section .module-card li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
    }

    .about-section .module-card {
        flex: 1 1 100%;
    }
}

.small-icon {
    width: 24px;
    height: 24px;
}

.not-found {
    text-align: center;
    margin: 60px 0;
    padding: 40px 20px;
    background: #f5f5f5;
    border-radius: 15px;
    color: #333;
}

.not-found h2 {
    color: #003366;
    margin-bottom: 20px;
    font-size: 2rem;
}

.not-found p {
    font-size: 1.1rem;
    color: #666;
}

.not-found a {
    color: #1abc9c;
    text-decoration: none;
    font-weight: bold;
}

.not-found a:hover {
    text-decoration: underline;
}