/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

main {
    flex: 1;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f4f4f8;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #222;
    color: #fff;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ff9800;
}


/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 10%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #ff9800;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e07b00;
}

.about, .tutoring-services {
    background: linear-gradient(to bottom, #ffffff, #367465);
}

/* Services Section */
.services {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    padding: 80px 10%;
    background: linear-gradient(to bottom, #f0f0f0, #367465);
}

.service {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    width: 45%;
    text-align: center;
    transition: transform 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
}

.service h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.service p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.btn-secondary {
    display: inline-block;
    background-color: #367465; 
    color: #fff;
    padding: 10px 22px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 30px;
    margin-top: 20px;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-secondary:hover {
    background-color: #2d5e52;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 0 10px #39FF14, 0 0 20px #39FF14;
}

/* About Section */
.about {
    padding: 80px 10%;
    /* background-color: #fff; */
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    /* margin: 40px auto; */
    /* max-width: 800px; */
}

.about h1 {
    font-size: 2rem;
    color: #367465;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.1rem;
    color: #0c0303;
    max-width: 600px;
    margin: 10px auto;
}

/* Contact Section */
.contact {
    padding: 60px 10%;
    background-color: #c3eadf;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    color: #367465;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info {
    margin-bottom: 40px;
    font-size: 1rem;
    color: #444;
}

.contact-info p {
    margin: 8px 0;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
    background-color: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(54, 116, 101, 0.15);
}

.contact-form h3 {
    margin-bottom: 15px;
    color: #367465;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
   width: 100%;
    padding: 12px 16px;
    margin-bottom: 15px;
    border: 1px solid #a9c5bb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #f9fdfc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #367465;
    box-shadow: 0 0 5px rgba(54, 116, 101, 0.3);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    background-color: #367465;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.contact-form button:hover {
    background-color: #2d5e52;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 10px #39FF14, 0 0 20px #39FF14;
}


/* Tutoring Section */
/* Tutoring Page Header */
.tutoring-header {
    max-width: 800px;
    margin: 60px auto 40px;
    text-align: center;
    padding: 0 20px;
}

.tutoring-header h1 {
    font-size: 2.8rem;
    color: #22a185;
    margin-bottom: 10px;
}

.tutoring-header p {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Container */
.tutoring-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

/* Card Styles */
.card {
    background: linear-gradient(145deg, #ffffff, #36746589);
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.card .icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    /* Different icon colors by category */
}

.card h2 {
    color: #2d5e52;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.card ul {
    list-style: disc inside;
    color: #444;
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Icon colors by category */
.card.coding .icon {
    color: #667eea;
}

.card.gaming .icon {
    color: #ff9800;
}

.card.editing .icon {
    color: #764ba2;
}

.card.other .icon {
    color: #4caf50;
}

/* Responsive tweaks */
@media (max-width: 480px) {
    .tutoring-header h1 {
        font-size: 2rem;
    }
    .card h2 {
        font-size: 1.5rem;
    }
}

/* Parallax */
.parallax-hero {
    background-image: url("../images/index_pic1.jpg");
    min-height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 60px 20px;
}

.parallax-content {
    background: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    padding: 60px 40px;
    max-width: 800px;
    width: 90%;
    border-radius: 12px;
    color: white;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.parallax-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.parallax-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Why Us */
.why-us-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px) brightness(0.6);
}

/* Content on top of video */
.why-us {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

.why-us h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 1px;
}

.why-us ul {
    list-style: none;
    padding: 0;
    font-size: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.why-us li {
    flex: 1 1 250px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
}


.why-us li {
    margin: 10px 0;
}

.why-us li:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
}

/* Testimonials */
.testimonials {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 100px 10%;
    background: linear-gradient(to bottom, #ffffff, #367465);
    text-align: center;
    box-sizing: border-box;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}


.testimonials blockquote {
    font-style: italic;
    font-size: 1.3rem;
    margin: 20px auto;
    max-width: 800px;
    line-height: 1.6;
}

.testimonials cite {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

/* Website Development Page Styles */
.website-header {
    padding: 100px 10%;
    background: linear-gradient(to bottom, #2b815a, #c1b23d);
    text-align: center;
    color: #1d3c36;
    border-top: 2px solid #2d5e52;
}

.website-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.website-header p {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin: 0 auto;
}

/* Services */
.website-services {
    padding: 60px 10%;
    background-color: #f8f9f5;
    text-align: center;
}

.website-services h2 {
    font-size: 2rem;
    color: #367465;
    margin-bottom: 20px;
}

.website-services ul {
    list-style: disc inside;
    font-size: 1.1rem;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.6;
}

/* Pricing */
.website-pricing {
    padding: 80px 10%;
    background-color: #ffffff;
    text-align: center;
}

.website-pricing h2 {
    font-size: 2rem;
    color: #367465;
    margin-bottom: 40px;
}

.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pricing-tiers .card {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-tiers .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.pricing-tiers .card h3 {
    font-size: 1.6rem;
    color: #367465;
    margin-bottom: 10px;
}

.pricing-tiers .card p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
}

.pricing-tiers .card ul {
    list-style: disc inside;
    text-align: left;
    font-size: 1rem;
    color: #555;
    padding-left: 0;
}

/* Call to Action */
.website-cta {
    padding: 80px 10%;
    background: #367465;
    color: white;
    text-align: center;
}

.website-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.website-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.website-cta .btn-secondary {
    background-color: #fff;
    color: #367465;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.website-cta .btn-secondary:hover {
    background-color: #d3f9e6;
    transform: scale(1.05);
}


/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 10px;
}
