:root {
    --primary: #0066ff;
    --second: #6c757d;
    --secondary: #6600ff;
    --dark: #000000;
    --light: #f8f9fa;
    --success: #28a745;
    --info: #17a2b8;
    --accent: #5e60ce;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px var(--secondary);
    --text:    #1F2937;
    /*
    --primary: #0066ff;
    --secondary:  #25D366;
    --accent:  #0b3d91;
    --hover: #0b3d91;
    --type:#fc4c00;
    --background:#0ea5a4;
    --text:    #1F2937;
    --muted:   #6B7280;
    --light: #F7F9FC;
    --dark: #000000;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --bg-primary: linear-gradient(90deg, var(--primary) 50%, var(--light) 125%);
    --bg-sacnd: linear-gradient(90deg, var(--sacnd) 50%, var(--light) 125%);
   */
    /*
    --primary: #0066ff;
    --second: #6c757d;
    --secondary: #6600ff;
    --dark: #000000;
    --light: #f8f9fa;
    --success: #28a745;
    --info: #17a2b8;
    --accent: #5e60ce;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    */
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Animated background particles */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--light);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}


/* Floating geometric shapes */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

.shape-1 {
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: var(--hover);
    border-radius: 20px;
    animation-delay: 1s;
}

.shape-2 {
    top: 60%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: var(--bg-success);
    border-radius: 50%;
    animation-delay: -5s;
}

.shape-3 {
    bottom: 10%;
    left: 20%;
    width: 60px;
    height: 60px;
    background: var(--bg-primary);
    transform: rotate(45deg);
    animation-delay: -10s;
}
/* button (top)*/
.button-top{
    z-index: 1000;
    background: var(--primary);
    color: var(--light);
    font-weight: bold;
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    align-items: center;
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    font-size: 14px;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid var(--secondary);
}

.button-top:hover {
    background: var(--secondary);
    border: 2px solid var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

/* Header */
header {
    border-radius: 25px;
    margin: 10px;
    color: var(--light);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    direction: ltr !important;
    
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logoOne{
    height: 60px;
    width: 60px;
}

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

.logo-highlight {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
     position: relative;
    color: var(--light);
    text-decoration: none;
    transition: color 0.5s;
    font-weight: 500;
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
}

.scrolling {
    background: rgba(10, 10, 10, 0.500);
    box-shadow: var(--shadow);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;  
    color: var(--light);
    text-align: center;
    padding-top: 80px;
    min-height:90vh;
    justify-content: center;
}

.hero-content {
     max-width: 800px;
    margin: 0 auto;
    position:relative;
    z-index:2; text-align:center;
    padding:20px;
}

.hero h1 {
     font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
    font-weight: 500;
}

.hero p {
     font-weight: bold;
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
    line-height:1.7;
    opacity: 0.9;
}

.hero-btns {
    animation: fadeIn 1.5s ease;
}

.typed-text {
    color: var(--primary);
    font-weight: bold;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* About Section */
.about {
    padding: 100px 0;
    color: var(--light);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
    position: relative;
}

.section-title h2 {
    font-size: 36px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

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

.about-vid video {
    width: 80%;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    font-weight: 500;
    flex: 1;
    min-width: 300px;
    padding: 30px;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

/* Skills Section */
.skills {
    padding: 100px 0;
    color: var(--light);
    font-weight: 500;
}

.skills-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.skill-category {
    flex: 1;
    min-width: 300px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.skill-category h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}

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

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

.skill-item span {
    display: block;
    margin-bottom: 5px;
}

.progress {
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary);
    border-radius: 5px;
    transition: width 1s ease;
}

/* products Section */
.products-section {
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.Products-card {
    background: var(--light);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--primary);
}

.Products-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.Product-image {
    height: 250px;
    background: var(--primary) no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.Product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.Product-content {
    padding: 1rem;
}

.Product-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.Product-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.Product-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.Product-detail {
    font-size: 0.9rem;
    color: var(--light);
    background-color: var(--secondary);
    text-align: center;
    padding: 5px 10px;
    border-radius: 20px;
}

.Product-category {
    color: var(--secondary);
    margin-bottom: 1.1rem;
    font-size: 1rem;
    font-weight: 700;
}

.project-links {
    display: flex;
    gap: 0.5rem;
}

.project-links a {
    color: var(--dark);
    font-size: 1.5rem;
    transition: var(--transition);

}

.project-links a:hover {
    color: var(--light);
    background-color:var(--primary);
    border-radius: 15px;
    padding: 5px 20px;
    box-shadow: var(--shadow);
}

.btn {
    margin: 10px;
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.4);
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    font-size: 0.95rem;
}

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

.highlight {
  outline: 3px solid var(--accent);
  border-radius: 10px;
  transition: outline 0.5s ease;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    box-shadow: var(--shadow);
    background-color:  rgba(0, 0, 0, 0.5);
    color: var(--light);
    padding: 30px;
    border-radius: 50px;
    border:var(--primary) solid 2px;
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

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

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

.contact p {
    font-weight: 500;
}

.contact-icon {
    width: 30px;
    height: 30px;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background-color:  rgba(0, 0, 0, 0.7);
    color: var(--light);
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links {
    display: flex;
    margin-bottom: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.social-icon:hover {
    border: 2px solid var(--primary);
    background: var(--secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.social-icon a {
    color: var(--light);
    font-size: 18px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: var(--light);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--primary);
}

/* animaction*/
@keyframes rotate {
    from {
        transform: rotate(0deg); 
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg); opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg); opacity: 1;
    }
}

@keyframes mymove {
    100% {
        rotate: 360deg;
    }
  }

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 102, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logo-highlight {
        text-align: right;
        overflow: hidden;
    }

    .logo{
        display:flex;
        font-size: 1.5rem;
        font-weight:500;
    }

    .logoOne{
        width: 40px;
        height: 40px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgb(0, 102, 255, 0.3);
        box-shadow: var(--shadow);
        border: 2px solid var(--secondary);
        flex-direction: column;
        border-radius: 15px;
        padding: 1rem 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    .products-grid {
        grid-template-columns: repeat(1, 1fr);
    }

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