/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Body Background */
body, html {
    /* background: linear-gradient(to bottom, #0f2027, #203a43, #2c5364); */
    overflow-x: hidden;
    padding-top: 70px; /* Prevent navbar overlap */
}
/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.9); /* New gradient */
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 0 20px;
}

/* Navbar Branding (My Portfolio) */
.navbar .brand {
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
}

/* Navbar Links */
.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover,
.nav-links #active {
    color: #00b4db;
}

/* Resume Button */
.resume-btn {
    background: #00b4db;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease-in-out;
}

.resume-btn:hover {
    background: #008fb3;
}

/* Page Container */
.container {
    width: 85%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: linear-gradient(135deg, #000428, #004e92);
    color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Page Title */
h1 {
    text-align: center;
    margin-bottom: 20px;
}

/* Project Section Styling */
.project {
    background: #1e1e1e;
    padding: 15px;
    border-left: 5px solid #00b4db;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
}

.project:hover {
    transform: scale(1.03);
}

/* Project Title */
.project h3 {
    color: #fff;
    font-size: 20px;
}

/* Project Description */
.project p {
    font-size: 16px;
    color: #ddd;
}

.project-btn {
    display: inline-block;
    background-color: #00b4db; /* Blue color */
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 10px;
}

.project-btn:hover {
    background-color: #008fb3;
}

/* Skills Section Styling */
.skills {
    padding: 10px 0;
    color: #ffffff;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.skill-category {
    margin-bottom: 40px;
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffcc00; /* Highlight color */
}

.skills-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.skill {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.skill i {
    font-size: 1.5rem;
    color: #ffcc00;
}

.skill:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.navbar a {
    color: white;
    text-decoration: none;
}

.navbar a.active {
    color: #00bfff; 
    font-weight: bold;
}

/* ================= Contact Page Styling ================= */

/* Add background styling similar to other pages */
.contact-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: linear-gradient(135deg, #000428, #004e92);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Contact heading styling */
.contact-section h2 {
    text-align: center;
    font-size: 32px;
    color: white;
    margin-bottom: 20px;
}

/* Contact form container */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Input & Textarea Styling */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #00bcd4; /* Cyan border */
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
}

/* When user focuses on input */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ff9800; /* Orange highlight */
}

/* Make textarea height bigger */
.contact-form textarea {
    min-height: 120px;
    resize: none;
}

/* Submit Button Styling */
.contact-form button {
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    background: #00bcd4; /* Cyan button */
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

/* Button hover effect */
.contact-form button:hover {
    background:#008fb3; 
    border: 1px solid black;
}

/* ================= Thank You Page Styling ================= */
.thankyou-container {
    max-width: 800px;
    margin: 100px auto;
    padding: 40px;
    background: linear-gradient(135deg, #1c1c1c, #004e92);
    border-radius: 12px;
    text-align: center;
    color: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.thankyou-container h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #00bcd4;
}

.thankyou-container p {
    font-size: 18px;
    margin-bottom: 30px;
}

.back-home-btn {
    display: inline-block;
    background-color: #00bcd4;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.back-home-btn:hover {
    background-color: #008fb3;
}

/* Theme Toggle Button and Light Mode Styles */
.theme-toggle {
    background: #00b4db;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    margin-left: 10px;
}

.theme-toggle:hover {
    background: #008fb3;
}

body.light-theme {
    background: #f0f0f0;
    color: #333;
}

body.light-theme .navbar {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

body.light-theme .brand,
body.light-theme .nav-links a {
    color: #333;
}

body.light-theme .nav-links a:hover,
body.light-theme .nav-links .active {
    color: #00b4db;
}

body.light-theme .container {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #333;
}

body.light-theme .project {
    background: #ffffff;
    color: #333;
}

body.light-theme .project h3 {
    color: #333;
}

body.light-theme .project p {
    color: #666;
}

body.light-theme .skill-category h3 {
    color: #00b4db;
}

body.light-theme .skill {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

body.light-theme .skill:hover {
    background: rgba(0, 0, 0, 0.2);
}

body.light-theme .contact-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #333;
}

body.light-theme .contact-section h2 {
    color: #333;
}

body.light-theme .contact-form input,
body.light-theme .contact-form textarea {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    border-color: #00b4db;
}

body.light-theme .contact-form input:focus,
body.light-theme .contact-form textarea:focus {
    border-color: #ff9800;
}

body.light-theme .thankyou-container {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #333;
}

body.light-theme .thankyou-container h1 {
    color: #00b4db;
}