/* style.css - Main Stylesheet */

:root {
    --primary: #0066cc;
    --secondary: #00a8a8;
    --dark: #1a2b3c;
    --light: #f8fafc;
    --gray: #e2e8f0;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light);
    overflow-x: hidden;
}

body.no-scroll {
    overflow-y: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

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

header.scrolled {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: padding 0.3s ease;
}

header.scrolled .header-container {
    padding: 15px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 8px;
    color: var(--secondary);
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(0, 102, 204, 0.03);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 0 0 350px;
    position: relative;
}

.profile-img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.circuit-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 102, 204, 0.05);
    border-radius: var(--border-radius);
    z-index: 1;
}

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

.about-text {
    flex: 1;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-text {
    font-size: 0.9rem;
    color: #666;
}

.timeline {
    flex: 1;
    position: relative;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary);
}

.timeline-item:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 17px;
    width: 2px;
    height: calc(100% + 13px);
    background: var(--gray);
}

.timeline-item:last-child:after {
    display: none;
}

.timeline-date {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.timeline-title {
    font-weight: 600;
    margin-bottom: 5px;
}

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

.skill-category {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-10px);
}

.skill-category h3 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.skill-category h3 i {
    margin-right: 10px;
    color: var(--secondary);
}

.skill-list {
    list-style: none;
}

.skill-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--gray);
}

.skill-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.skill-item i {
    color: var(--secondary);
    margin-right: 10px;
    width: 20px;
}

/* Portfolio Section */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background: white;
    border: 1px solid var(--gray);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

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

.portfolio-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.portfolio-content {
    padding: 20px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    background: #f0f9ff;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* YouTube Section */
.youtube-container {
    display: flex;
    align-items: center;
    gap: 50px;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.youtube-text {
    flex: 1;
}

.youtube-videos {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.video-placeholder {
    background: #333;
    border-radius: 8px;
    overflow: hidden;
    height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.video-placeholder i {
    font-size: 3rem;
    color: #ff0000;
}

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

.service-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.pricing-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.pricing-card.featured {
    border: 2px solid var(--secondary);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--secondary);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin: 20px 0;
}

.pricing-card li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.pricing-card li i {
    margin-right: 10px;
    color: var(--secondary);
}

.pricing-card li i.fa-times {
    color: #ccc;
}

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

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--gray);
    font-family: Georgia, serif;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gray);
    margin-right: 15px;
}

.stars {
    color: #f39c12;
    margin-top: 5px;
}

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

.blog-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-img {
    height: 180px;
    background: var(--gray);
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #f0f9ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-form {
    flex: 1;
}

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

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

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

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

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    display: flex;
    align-items: center;
}

.footer-logo i {
    margin-right: 10px;
    color: var(--secondary);
}

.footer-about p {
    color: #bbb;
    margin-bottom: 20px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-links a {
    color: #bbb;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a i {
    margin-right: 8px;
    font-size: 0.8rem;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: var(--gray);
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn i {
    color: var(--dark);
    transition: var(--transition);
}

.theme-toggle-btn .fa-sun {
    display: block;
}

.theme-toggle-btn .fa-moon {
    display: none;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: var(--light);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
    color: white;
}

body.dark-mode header {
    background: rgba(18, 18, 18, 0.85);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

body.dark-mode .nav-links a {
    color: var(--light);
}

body.dark-mode .nav-links a.active {
    color: var(--secondary);
}

/*body.dark-mode .section-title h2 {
    color: var(--light);
}*/

body.dark-mode .hero {
    background: linear-gradient(135deg, #1a2b3c 0%, #121212 100%);
}

body.dark-mode .hero-text p {
    color: #ccc;
}

body.dark-mode .stat,
body.dark-mode .skill-category,
body.dark-mode .portfolio-item,
body.dark-mode .youtube-container,
body.dark-mode .service-card,
body.dark-mode .pricing-card,
body.dark-mode .testimonial-card,
body.dark-mode .blog-card {
    background: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .timeline-item:after {
    background: #333;
}

body.dark-mode .filter-btn {
    background: #333;
    color: var(--light);
    border-color: #444;
}

body.dark-mode .filter-btn.active,
body.dark-mode .filter-btn:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

body.dark-mode .tag {
    background: #333;
    color: var(--secondary);
}

body.dark-mode .form-control {
    background: #333;
    color: var(--light);
    border-color: #444;
}

body.dark-mode .form-control:focus {
    background: #1e1e1e;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 168, 168, 0.2);
}

body.dark-mode .theme-toggle-btn {
    background: #333;
}

body.dark-mode .theme-toggle-btn i {
    color: var(--light);
}

body.dark-mode .theme-toggle-btn .fa-sun {
    display: none;
}

body.dark-mode .theme-toggle-btn .fa-moon {
    display: block;
}
body.dark-mode .contact-info p,
body.dark-mode .contact-info h4 {
    color: var(--light);
}
