:root {
    --primary-color: #ff007f;
    --secondary-color: #7928ca;
    --accent-color: #25D366;
    --text-color: #fff;
    --dark-bg: #0a0a0a;
    --light-bg: #1a1a1a;
    --font-main: 'MS Mincho', Arabic-Typesetting;
    --font-secondary: 'MS Mincho', Arabic-Typesetting;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
   /* Prevent FOUC */
      body {
        opacity: 0;
        animation: fadeIn 0.5s ease-in forwards;
      }
      @keyframes fadeIn {
        to { opacity: 1; }
      }
  
body {
    font-family: 'MS Mincho', sans-serif;
    background: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 80px;
}


/* ---- HOVER EFFECTS ---- */

/* 1. Home Link - Bounce Effect */
li a[href="index.html"]:hover {
    color: #FF6B6B;
}

li a[href="index.html"]:hover i {
    animation: bounce 0.8s ease infinite;
}

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

/* 2. Services Link - Gear Spin */
li a[href="services.html"]:hover {
    color: #4ECDC4;
}

li a[href="services.html"]:hover i.fa-tools {
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 4. About Link - Underline Grow */
li a[href="about.html"] {
    overflow: hidden;
}

li a[href="about.html"]:hover {
    color: #FFD166;
}
/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background-color: rgba(17, 17, 17, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-logo img {
    height: 50px;
    width: auto;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.navbar-logo img:hover {
    transform: scale(1.05);
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding: 0.5rem 0;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar ul li a:hover::after {
    width: 100%;
}
/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

.hamburger div {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.hamburger.active div:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    background-color: var(--primary-color);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active div:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-bg);
    color: var(--text-color);
    text-align: center;
    padding: 100px 20px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(167, 136, 136, 0.7)), url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTOpvz2moLccBjQlsKTxxGx3efRogE3ccz9XA&s');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 44px;
    font-weight: bolder;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero p {
    font-size: 16px;
    width: auto;
    color: #e6ebf1;
    max-width: 70%;
}

/* About Section */
.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
}

.image-container {
    flex: 1;
    text-align: center;
}

.image-container img {
    width: 100%;
    height: 300px;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.3);
} 

.content-container {
    flex: 2;
    height: auto;
    padding-left: 40px;
}

.content-container h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.content-container p {
    font-family: MS Mincho;
    color: var(--text-color);
    font-size:larger;
    width: 90%;
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 0.9;
}

/* Skills Section */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
}

.container h2 {
    color: var(--primary-color);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
    box-shadow: 0 0 20px var(--primary-color);
    transform: translateY(-5px);
}

.service-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.8;
    color: #5ff5aa;
    transition: 0.3s;
    text-align: center;
    justify-items: center;
}

.card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 15px 0 10px;
}

.card p {
    color: var(--text-color);
    font-size: 0.95rem;
    opacity: 0.8;
}
.Pink{ color:deeppink !important;} .Red{color:red} .Purple{color:purple}
 .Pink, .Red, .Purple{ font-weight: bolder;}
/* Fun Facts Section - UPDATED FOR RESPONSIVENESS */
.container-1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-1 {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-1:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 0, 127, 0.3);
}

.title-1 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.card-1 p {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.quote-container {
    position: relative;
    padding: 20px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transition: box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.speaker-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 20px;
    box-shadow: 0 0 10px var(--primary-color);
    object-fit: cover;
}

#quote-text {
    font-style: italic;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 15px;
}

#quote-author {
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
}

.B {
    color: #2e21e6;
}

.B1 {
    color: #00ffd9;
}

/* Music Player Section */
.main-card {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 1000px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-card h2 {
    color: white;
    margin-bottom: 30px;
    text-align: center;
}

.player-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
}

.left-text, .right-text {
    font-size: 25px;
    width: auto;
    text-align: center;
    font-family:  'Edwardian Script ITC', Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
}

.left-text {
    color: #eee3e3;
}

.right-text {
    color: #e6ebf1;
}

.card-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #222;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 600px;
}

.album-art {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid white;
    margin-bottom: 25px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease-in-out;
    background-image: url('https://via.placeholder.com/200');
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.buttons button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 18px;
    font-size: 14px;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 77, 77, 0.4);
    outline: none;
    min-width: 120px;
}

.buttons button:hover {
    transform: scale(1.05);
}

.buttons button:active {
    transform: scale(0.95);
}

audio {
    width: 100%;
    margin-top: 20px;
}
h6{color: #00ffd9;text-align: center;}
/* Partners Section */
.partners-section {
    background: var(--light-bg);
    padding: 4rem 0;
    margin-top: 3rem;
}

.partners-container {
    max-width: auto;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.partners-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 0.5rem auto 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 0, 127, 0.3);
}

.partner-logo {
    max-width: 60px;
    height: 60px;
    border-radius: 12px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Footer */
.site-footer {
    background: var(--light-bg);
    color: white;
    padding: 3rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.footer-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    max-width: 400px;
}

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

.footer-nav h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-nav h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

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

.footer-nav li, .footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.footer-social a {
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    /* iPad Optimizations */
    .container-1 {
        grid-template-columns: 1fr;
    }
    .card-1 {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* Mobile Styles */
    body {
        padding-top: 70px;
    }
    
    .navbar {
        padding: 1rem;
    }

    .navbar ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--dark-bg);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        gap: 2rem;
        transition: left 0.3s ease;
    }

    .navbar ul.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .about-section {
        flex-direction: column;
        padding: 30px 20px;
    }

    .content-container {
        padding: 20px 0 0 0;
        text-align: center;
    }

    .image-container img {
        max-width: 300px;
    }

    .player-container {
        flex-direction: column;
        gap: 20px;
    }

    .left-text, .right-text {
        order: -1;
    }
}

@media (max-width: 480px) {
    /* Small Mobile Devices */
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p{width: 100% !important;}
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .partners-title {
        font-size: medium;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .main-card {
        padding: 20px;
    }

    .card-2 {
        padding: 20px;
    }

    .album-art {
        width: 150px;
        height: 150px;
    }

    .buttons button {
        padding: 10px 15px;
        font-size: 12px;
        min-width: 100px;
    }
}

/* Fireworks Effect */
.fireworks-interactive {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}
/* Show hamburger menu on all tablets (768px-1024px) and mobile */
@media (max-width: 1024px) {
    /* Hide regular menu */
    .navbar ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--dark-bg);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        gap: 2rem;
        transition: left 0.3s ease;
    }
    
    .navbar ul.active {
        left: 0;
    }

    /* Show hamburger */
    .hamburger {
        display: flex;
    }

    /* Adjust logo size for tablets */
    .navbar-logo img {
        height: 40px;
    }
}

/* Optional: Specific iPad Pro 12.9" landscape fix */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .navbar ul {
        gap: 1rem; /* Reduce gap between items */
    }
    
}