* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

:root {
    --primary: #161E54;
    --secondary: #F16D34;
    --accent: #FF986A;
    --light: #BBE0EF;
    --white: #ffffff;
    --dark: #0a0e2e;
    --gray: #64748b;
    --light-bg: #f8fafc;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1001;
}

.logo span {
    color: var(--secondary);
}

nav {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--secondary);
}

.checkbtn {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary);
    z-index: 1001;
    position: relative;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
}

.checkbtn i {
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--primary);
    display: flex;
    align-items: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(187, 224, 239, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(241, 109, 52, 0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text .label {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    overflow: hidden;
}

.hero-text h1 span {
    color: var(--accent);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background: #d85a28;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 350px;
    height: 350px;
    border-radius: 20px;
    object-fit: cover;
    border: 6px solid var(--light);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* About Section */
section {
    padding: 100px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    background: var(--light);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.8rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.about {
    background: var(--light-bg);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 3px;
}

.stat-item p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

.skills-section {
    width: 100%;
}

.skills-title {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.skill-item {
    background: white;
    padding: 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(241, 109, 52, 0.15);
}

.skill-item i {
    font-size: 28px;
    color: var(--secondary);
}

.skill-item span {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

/* Portfolio Section */
.portfolio {
    background: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.project-image {
    width: 100%;
    height: 220px;
    background: var(--light-bg);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.project-info p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: gap 0.3s ease;
}

.project-link:hover {
    gap: 12px;
}

/* Services Section */
.services {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 8px 25px rgba(241, 109, 52, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 32px;
    color: var(--secondary);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    background: white;
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
}

.glide {
    position: relative;
}

.glide__track {
    overflow: hidden;
}

.glide__slides {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.glide__slide {
    flex-shrink: 0;
    width: 100%;
}

.testimonial {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.testimonial-text {
    font-size: 1.15rem;
    color: var(--primary);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info strong {
    display: block;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
}

.author-info span {
    color: var(--gray);
    font-size: 0.9rem;
}

.glide__arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.glide__arrow {
    pointer-events: all;
}

.glide__arrow--left {
    left: -60px;
}

.glide__arrow--right {
    right: -60px;
}

.slider-btn {
    background: var(--secondary);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary);
    transform: scale(1.05);
}

.glide__bullets {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 35px;
}

.glide__bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.glide__bullet--active {
    background: var(--secondary);
    width: 30px;
    border-radius: 5px;
}

/* Contact Section */
.contact {
    background: var(--primary);
    color: white;
}

.contact .section-label {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.contact h2 {
    color: white;
}

.contact .section-description {
    color: var(--light);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #d85a28;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#formMessage {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 50px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-text h1 { 
        font-size: 2.5rem; 
    }
    .stats { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .skills-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    h2 { 
        font-size: 2.2rem; 
    }
    .hero-content {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .checkbtn { 
        display: flex; 
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        background: rgba(22, 30, 84, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        width: 280px;
        max-width: 80%;
        height: 100vh;
        padding: 80px 30px 40px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.3);
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        gap: 0;
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-list.active { 
        right: 0; 
    }
    
    .nav-list li {
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.4s ease;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-list.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-list.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-list.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-list.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-list.active li:nth-child(5) { transition-delay: 0.3s; }

    .nav-list a {
        font-size: 1.1rem;
        padding: 18px 0;
        display: block;
        color: white;
        font-weight: 600;
    }

    .nav-list a:hover {
        color: var(--accent);
    }

    /* Mobile overlay */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        animation: fadeIn 0.3s ease;
    }
    
    .times-white {
        color:#fff;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    .hero-content { 
        gap: 40px; 
        padding-top: 20px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img { 
        width: 250px; 
        height: 250px; 
    }
    
    .stats { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .portfolio-grid { 
        grid-template-columns: 1fr; 
    }
    
    .services-grid { 
        grid-template-columns: 1fr; 
    }
    
    .contact-form { 
        padding: 30px 20px; 
    }
    
    .testimonial { 
        padding: 25px 20px; 
    }
    
    .testimonial-text { 
        font-size: 1rem; 
    }
    
    .testimonials-slider { 
        padding: 0 50px; 
    }
    
    .glide__arrow--left { 
        left: 0; 
    }
    
    .glide__arrow--right { 
        right: 0; 
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    section {
        padding: 60px 20px;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .hero-text h1 { 
        font-size: 1.75rem; 
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-image img {
        width: 200px;
        height: 200px;
    }
    
    .skills-grid { 
        grid-template-columns: 1fr; 
    }
    
    .stats { 
        grid-template-columns: 1fr; 
    }
    
    section { 
        padding: 50px 15px; 
    }
    
    .testimonials-slider { 
        padding: 0 10px; 
    }
    
    .testimonial { 
        padding: 20px 15px; 
    }
    
    .glide__arrow--left { 
        left: -5px; 
    }
    
    .glide__arrow--right { 
        right: -5px; 
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .contact-form {
        padding: 25px 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 15px;
    }

    .portfolio-grid {
        gap: 20px;
    }

    .project-info {
        padding: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }
}