:root {
    --primary: #000569;
    --secondary: #6bbfff;
    --accent: #6bbfff;
    --light: #F8F9FA;
    --dark: #212529;
    --gray: #6C757D;
    --transition: all 0.3s ease;
}

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

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    padding-top: 70px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1,
h2,
h3,
h4 {
    margin-bottom: 15px;
    line-height: 1.2;
}

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/*
.logo span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}
*/

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
}

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

/* Hero Section */
#hero {
    background: linear-gradient(135deg,
            var(--primary) 0%,
            var(--secondary) 100%);
    color: white;
    text-align: center;
    padding: 120px 0 100px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.profile-img-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Ad Video Section */
#ad-video {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.video-wrapper {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg,
            var(--primary) 0%,
            var(--secondary) 100%);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

iframe {
    aspect-ratio: 16 / 9;
    width: 100% !important;
}

.video-description {
    flex: 1;
    min-width: 300px;
}

.video-description h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.video-description ul {
    list-style: none;
}

.video-description li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-description .check-icon {
    width: 20px;
    height: 20px;
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
    text-align: justify;
}

.signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Professional Experience Section */
#experience {
    padding: 80px 0;
    background-color: white;
}

.experience-container {
    max-width: 800px;
    margin: 0 auto;
}

.experience-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.experience-item:last-child {
    margin-bottom: 0;
}

.experience-item::before {
    content: "";
    position: absolute;
    left: 110px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--secondary);
}

.experience-date {
    width: 100px;
    flex-shrink: 0;
    font-weight: 600;
    color: var(--primary);
    position: relative;
}

.experience-date::after {
    content: "";
    position: absolute;
    right: -16px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(78, 84, 200, 0.2);
}

.experience-content {
    flex: 1;
    padding-left: 40px;
}

.experience-content h3 {
    color: var(--primary);
    margin-bottom: 5px;
}

.experience-content h4 {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Skills Section */
#skills {
    background-color: #f8f9fa;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.skill {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.skill:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: block;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.project-content {
    padding: 20px;
}

/* Testimonials Section - FIXED */
#testimonials {
    background: linear-gradient(135deg,
            var(--primary) 0%,
            var(--secondary) 100%);
    color: white;
}

/* Fix for section title color */
#testimonials .section-title h2 {
    color: white;
    /* Changed from var(--primary) to white */
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure all boxes are same height */
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Push author to bottom */
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align names properly */
}

.testimonial-author h4 {
    color: white;
    margin-bottom: 5px;
    line-height: 1.3;
    /* Consistent line height */
}

.testimonial-author p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Contact Section */
#contact {
    background-color: #f8f9fa;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    width: 20px;
    height: 20px;
}

.office-hours {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(78, 84, 200, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-logo .logo {
    color: white;
}

.footer-links h4,
.footer-disclaimer h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: white;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .nav-links {
        display: none;
        /* For simplicity, we'll hide on mobile */
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .profile-img-container {
        width: 150px;
        height: 150px;
    }

    .video-container {
        flex-direction: column;
    }

    .experience-item {
        flex-direction: column;
    }

    .experience-item::before {
        display: none;
    }

    .experience-date {
        width: 100%;
        margin-bottom: 10px;
    }

    .experience-date::after {
        display: none;
    }

    .experience-content {
        padding-left: 0;
    }

    /* Update navigation for additional item */
    .nav-links {
        flex-wrap: wrap;
    }

    .nav-links li {
        margin: 5px 15px;
    }
}