/* ===================== 
   Global Styles 
   ===================== */

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

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* ===================== 
   Navigation 
   ===================== */

.custom-navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 100;
    padding: 12px;
}

.custom-navbar .container,
.custom-navbar .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

/* ===================== 
   Hero Section 
   ===================== */

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 20px;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: slideIn 1s ease-out;
}

.hero-content .subtitle {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.hero-content .tagline {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.85;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.3rem;
    }
}

/* ===================== 
   Buttons 
   ===================== */

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ===================== 
   About Section 
   ===================== */

.about {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .about h2 {
        font-size: 2rem;
    }
}

/* ===================== 
   Skills Section 
   ===================== */

.skills {
    padding: 80px 20px;
}

.skills h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.skill-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.skill-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.skill-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .skills h2 {
        font-size: 2rem;
    }

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

/* ===================== 
   Projects Section 
   ===================== */

.projects {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.project-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 200px;
}

.project-card h3 {
    font-size: 1.3rem;
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--text-color);
}

.project-card p {
    padding: 0 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.project-tags {
    padding: 1rem 1.5rem 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tags span {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.project-card .btn {
    display: block;
    margin: 1.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    .projects h2 {
        font-size: 2rem;
    }

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

/* ===================== 
   Contact Section 
   ===================== */

.contact {
    padding: 80px 20px;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.2);
}

.contact-form button {
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.info-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .contact h2 {
        font-size: 2rem;
    }

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

    .info-item {
        gap: 1rem;
    }
}

/* ===================== 
   Footer 
   ===================== */

.footer {
    background-color: var(--text-color);
    color: white;
    text-align: center;
    padding: 2rem 20px;
}

.footer p {
    margin: 0;
}

/* ===================== 
   Animations 
   ===================== */

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

section {
    animation: fadeInUp 0.6s ease-out;
}

/* ===================== 
   Confirmation & Error Pages 
   ===================== */

.confirmation-section,
.error-section {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.confirmation-content,
.error-content {
    text-align: center;
    max-width: 600px;
}

.confirmation-icon {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 1.5rem;
    animation: scaleIn 0.6s ease-out;
}

.error-icon {
    font-size: 80px;
    color: #dc3545;
    margin-bottom: 1.5rem;
    animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.confirmation-section h1,
.error-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.confirmation-subtitle,
.error-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.confirmation-text,
.error-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.confirmation-details,
.error-details {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: left;
}

.confirmation-details p,
.error-details p {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.confirmation-details ul,
.error-details ul {
    list-style-position: inside;
    color: var(--text-light);
}

.confirmation-details li,
.error-details li {
    margin-bottom: 0.5rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Extras */
.whatsapp-bubble {
    position: fixed;
    bottom: 20px;           /* Distance from bottom - adjust as needed */
    right: 20px;            /* Distance from right - adjust as needed */
    z-index: 1000;          /* Ensures it appears above other content */
    width: 60px;            /* Adjust size */
    height: 60px;
    border-radius: 50%;     /* Makes it circular */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9e9e9;  /* WhatsApp green */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.whatsapp-bubble:hover {
    transform: scale(1.1);
}

.whatsapp-bubble a {
    color: white;
    font-size: 36px;
    text-decoration: none;
    margin-bottom: 3px;
}
img{
    width: 100%;
    height: 99.9%;
}
@media (max-width: 768px) {
    .confirmation-section,
    .error-section {
        min-height: auto;
        padding: 40px 20px;
    }

    .confirmation-section h1,
    .error-section h1 {
        font-size: 2rem;
    }

    .confirmation-icon,
    .error-icon {
        font-size: 60px;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions .btn {
        width: 100%;
    }
    .nav-item{
    border-top: #b9b9b9 1px solid;
    padding: 5px;
}
}

@media (min-width: 849px) {
    .navbar-toggler {
        display: none !important;
    }
    .nav-links-container{
        display: block !important;
    }
}

/* ===================== 
   Privacy Policy Page 
   ===================== */
.privacy-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.privacy-section {
    padding: 60px 20px;
    min-height: 80vh;
}

.privacy-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: bold;
}

.last-updated {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.privacy-content {
    max-width: 900px;
    line-height: 1.8;
}

.privacy-content h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.privacy-content h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.privacy-content p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.privacy-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-content li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.privacy-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.privacy-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .privacy-section {
        padding: 40px 20px;
    }

    .privacy-section h1 {
        font-size: 2rem;
    }

    .privacy-content h2 {
        font-size: 1.4rem;
        margin-top: 1.5rem;
    }

    .privacy-content h3 {
        font-size: 1.1rem;
    }

    .privacy-content p,
    .privacy-content li {
        font-size: 0.95rem;
    }
}