/* ===================================
   Modern Sections Styling
   Dark Theme with Glassmorphism
   =================================== */

/* Global Section Styling */
section {
    padding: 100px 0;
    position: relative;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #0f1624 0%, #1a1f3a 100%);
}

.services .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services .section-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.services .section-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.services .section-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #0a1128;
    font-size: 32px;
    border-radius: 15px;
    margin-bottom: 25px;
    transition: transform 0.25s ease-out;
}

.service-card:hover .service-icon {
    transform: scale(1.03);
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.service-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Skills Section */
.skills {
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1624 100%);
}

.skills .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.skills .section-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.skills .section-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
}

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

.skill-category {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.skill-category:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.category-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.skill-item {
    margin-bottom: 25px;
}

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

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-name {
    font-weight: 600;
    color: white;
    font-size: 16px;
}

.skill-percentage {
    font-weight: 700;
    color: #ffd700;
    font-size: 16px;
}

.skill-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 10px;
    transition: width 1.5s ease-out;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Projects Section */
.projects {
    background: linear-gradient(135deg, #0f1624 0%, #1a1f3a 100%);
}

.projects .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.projects .section-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.projects .section-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
}

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

.project-card {
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease,
                background 0.35s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: conic-gradient(from 180deg, rgba(255, 215, 0, 0.08), transparent 35%, rgba(15, 188, 249, 0.08));
    opacity: 0;
    transition: opacity 0.45s ease, transform 0.45s ease;
    z-index: 0;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transform: skewX(-15deg);
    transition: opacity 0.45s ease, left 0.7s ease;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow: 0 20px 45px rgba(8, 12, 30, 0.6);
    background: radial-gradient(circle at top, rgba(255, 215, 0, 0.15), rgba(9, 14, 34, 0.95));
}

.project-card:hover::before {
    opacity: 1;
    transform: rotate(8deg);
}

.project-card:hover::after {
    opacity: 1;
    left: 160%;
}

.project-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #0a1128;
    font-size: 32px;
    border-radius: 15px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: transform 0.35s ease;
}

.project-card:hover .project-icon {
    transform: translateY(-4px) scale(1.06);
}

.project-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.project-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tag {
    padding: 6px 14px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: #ffd700;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffd700;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.project-link:hover {
    gap: 12px;
    color: #ffed4e;
}

/* Why Choose Section */
.why-choose {
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1624 100%);
}

.why-choose .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-choose .section-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.why-choose .section-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.why-card {
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.why-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #0a1128;
    font-size: 32px;
    border-radius: 15px;
    margin: 0 auto 25px;
    transition: transform 0.25s ease-out;
}

.why-card:hover .why-icon {
    transform: scale(1.03);
}

.why-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.why-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-5px);
}

.stat-value {
    font-size: 48px;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0f1624 0%, #1a1f3a 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1624 100%);
}

.testimonials .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials .section-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.testimonials .section-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
}

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

.testimonial-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease,
                background 0.35s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 18px 40px rgba(5, 7, 18, 0.55);
    background: rgba(13, 18, 40, 0.85);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.author-name {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.author-position {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.footer {
    background: #0a1128;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-section {
    color: rgba(255, 255, 255, 0.8);
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #0a1128;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: all 0.3s ease;
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-contact i {
    color: #ffd700;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .section-title,
    .services .section-title,
    .skills .section-title,
    .projects .section-title,
    .why-choose .section-title,
    .testimonials .section-title,
    .cta-title {
        font-size: 36px;
    }

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

    .stat-value {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .section-title,
    .services .section-title,
    .skills .section-title,
    .projects .section-title,
    .why-choose .section-title,
    .testimonials .section-title,
    .cta-title {
        font-size: 28px;
    }

    .service-card,
    .skill-category,
    .project-card,
    .why-card,
    .testimonial-card {
        padding: 30px 20px;
    }
}
