/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

:root {
    /* Colors */
    --primary-orange: #ff6b35;
    --primary-orange-dark: #e55a2e;
    --primary-orange-light: #ff8659;
    --secondary-black: #1a1a1a;
    --dark-black: #0f0f0f;
    --light-black: #2a2a2a;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    --gradient-dark: linear-gradient(135deg, var(--secondary-black) 0%, var(--dark-black) 100%);
    --gradient-text: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 25px rgba(0, 0, 0, 0.15);
    --shadow-dark: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-orange: 0 5px 25px rgba(255, 107, 53, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--white);
    background: var(--secondary-black);
    overflow-x: hidden;
}

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

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.section-description {
    font-size: 1.1rem;
    color: var(--medium-gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header {
    margin-bottom: 4rem;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all var(--transition-medium);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary-orange);
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.logo-text h2 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--primary-orange);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: all var(--transition-medium);
    transform: translateX(-50%);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}



.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.15) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.85);
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    position: relative;
    z-index: 10;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-orange);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-avatar {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-orange);
}

.hero-avatar i {
    font-size: 8rem;
    color: var(--white);
}

.avatar-photo {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--white);
    position: relative;
    z-index: 2;
}

.avatar-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: pulse 2s infinite;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--light-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    animation: float 3s ease-in-out infinite;
}

.floating-element i {
    font-size: 1.5rem;
    color: var(--primary-orange);
}

.fe-1 {
    top: 10%;
    right: 20%;
    animation-delay: 0s;
}

.fe-2 {
    top: 30%;
    left: 10%;
    animation-delay: 1s;
}

.fe-3 {
    bottom: 30%;
    right: 10%;
    animation-delay: 2s;
}

.fe-4 {
    bottom: 10%;
    left: 20%;
    animation-delay: 0.5s;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services {
    padding: 6rem 0;
    background: var(--dark-black);
}

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

.service-card {
    background: var(--light-black);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-medium);
    border: 1px solid rgba(255, 107, 53, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: 1;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-orange);
    border-color: var(--primary-orange);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.service-description {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.service-features {
    list-style: none;
    text-align: left;
    position: relative;
    z-index: 2;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.service-features i {
    color: var(--primary-orange);
    font-size: 0.8rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
    padding: 6rem 0;
    background: var(--secondary-black);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-info p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-info strong {
    color: var(--primary-orange);
}

.skills {
    margin-top: 2rem;
}

.skills h4 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.skill {
    margin-bottom: 1.5rem;
}

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

.skill-info span:first-child {
    color: var(--white);
    font-weight: 500;
}

.skill-info span:last-child {
    color: var(--primary-orange);
    font-weight: 600;
}

.skill-bar {
    height: 8px;
    background: var(--light-black);
    border-radius: 10px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    width: 0;
    transition: width 1s ease;
}

.about-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-avatar {
    width: 250px;
    height: 250px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-orange);
    transform: rotate(5deg);
}

.about-avatar i {
    font-size: 6rem;
    color: var(--white);
}

.experience-card {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--light-black);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--primary-orange);
}

.experience-number {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-orange);
}

.experience-text {
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 500;
}

.certifications {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cert-item {
    background: var(--light-black);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-medium);
    font-size: 0.8rem;
}

.cert-item i {
    color: var(--primary-orange);
}

.cert-item span {
    color: var(--white);
    font-weight: 500;
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */

.portfolio {
    padding: 6rem 0;
    background: var(--dark-black);
}

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

.portfolio-card {
    background: var(--light-black);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-medium);
    border: 1px solid rgba(255, 107, 53, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-orange);
    border-color: var(--primary-orange);
}

.portfolio-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.portfolio-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.portfolio-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.portfolio-card p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.portfolio-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.portfolio-stats .stat {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
    padding: 6rem 0;
    background: var(--secondary-black);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-details h4 {
    font-family: var(--font-secondary);
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--medium-gray);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--light-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    text-decoration: none;
    transition: all var(--transition-medium);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

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

.contact-form {
    background: var(--light-black);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--dark-black);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--medium-gray);
}

.form-group select option {
    background: var(--dark-black);
    color: var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--dark-black);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--light-black);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-family: var(--font-secondary);
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.footer-links h4,
.footer-services h4 {
    font-family: var(--font-secondary);
    color: var(--white);
    margin-bottom: 1rem;
}

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

.footer-links li,
.footer-services li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-services li {
    color: var(--medium-gray);
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.2;
    }
    100% {
        transform: scale(1);
        opacity: 0.1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-dark);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .hero {
        padding-top: 100px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        height: 400px;
    }

    .hero-avatar {
        width: 250px;
        height: 250px;
    }

    .hero-avatar i {
        font-size: 6rem;
    }

    .avatar-photo {
        width: 230px;
        height: 230px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        height: 300px;
    }

    .about-avatar {
        width: 200px;
        height: 200px;
    }

    .about-avatar i {
        font-size: 4rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 1rem;
        padding: 0 10px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }

    .floating-element {
        width: 50px;
        height: 50px;
    }

    .floating-element i {
        font-size: 1.2rem;
    }

    .logo-image {
        width: 40px;
        height: 40px;
    }

    .hero-video-bg {
        display: block;
    }
    


    .logo-text h2 {
        font-size: 1.2rem;
    }

    .logo-text span {
        font-size: 0.7rem;
    }

    .nav-logo {
        gap: 0.7rem;
    }

    .avatar-photo {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 390px) {
    .hero {
        padding-top: 140px;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.1;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 5px;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .stat {
        min-width: 80px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
}