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

:root {
    /* Color Palette */
    --primary-black: #111111;
    --dark-black: #000000;
    --gold: #D4AF37;
    --gold-bright: #FFD700;
    --purple: #6A0DAD;
    --purple-dark: #4B0082;
    --white: #FFFFFF;
    --whatsapp-green: #25D366;
    --smoke-gray: #2a2a2a;
    
    /* Typography */
    --font-heading: 'Cairo', 'Amiri', sans-serif;
    --font-body: 'Tajawal', 'Open Sans', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--purple));
    border-radius: 2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
    height: auto;
}

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

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

.logo-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--gold);
    margin: 0;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--white);
    opacity: 0.8;
}

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

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

.nav-menu a:hover {
    color: var(--gold);
}

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

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

.language-switch button {
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    border: 1px solid var(--gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-switch button:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section - FIXED ALIGNMENT */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Add padding to account for fixed header */
    margin-top: 0; /* Ensure no margin */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-black), var(--dark-black));
    z-index: -2;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
    opacity: 0.7;
}

.smoke-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="smoke" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(106,13,173,0.1)"/><stop offset="100%" stop-color="rgba(17,17,17,0)"/></radialGradient></defs><circle cx="50" cy="50" r="40" fill="url(%23smoke)"/></svg>') repeat;
    z-index: -1;
}

.embers-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
    margin-top: 0;
}

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

.gold-text {
    color: var(--gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.white-text {
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0.8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    color: var(--white);
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(106, 13, 173, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    border-color: var(--gold-bright);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--dark-black);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Featured Products */
.featured-products {
    padding: 5rem 0;
    background: var(--primary-black);
}

.products-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--dark-black);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    background-color: #1a1a1a;
}

.product-image img:not([src]), 
.product-image img[src=""],
.product-image img[src*="undefined"] {
    display: none;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(106, 13, 173, 0.3);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.glow-effect {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent);
    /* animation: glow 2s infinite ease-in-out; */
}

@keyframes glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.product-info p {
    color: var(--white);
    opacity: 0.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

/* Certificates */
.certificates {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--purple-dark), var(--primary-black));
}

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

.certificate-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
    opacity: 1;
    transform: translateY(0);
}

.certificate-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.certificate-item i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.certificate-item h3 {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.certificate-item p {
    color: var(--white);
    opacity: 0.8;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--primary-black);
}

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

.about-text .section-title {
    text-align: right;
    margin-bottom: 2rem;
}

.highlight-text {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-description p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--white);
    opacity: 0.9;
}

.about-features {
    margin-top: 2rem;
}

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

.feature-item i {
    color: var(--gold);
    font-size: 1.2rem;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(106, 13, 173, 0.3), rgba(212, 175, 55, 0.1));
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: var(--dark-black);
}

.products-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gold);
    color: var(--dark-black);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

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

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.9rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Why Us Section */
.why-us {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-black), var(--purple-dark));
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="goldSmoke" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(212,175,55,0.05)"/><stop offset="100%" stop-color="transparent"/></radialGradient></defs><circle cx="50" cy="50" r="40" fill="url(%23goldSmoke)"/></svg>') repeat;
    /* animation: smokeFloat 15s infinite linear; */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: var(--transition-slow);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--dark-black);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.feature-card h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--white);
    opacity: 0.9;
    line-height: 1.6;
}

.certificate-display {
    text-align: center;
    position: relative;
    z-index: 1;
}

.certificate-image {
    display: inline-block;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--gold);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
    max-width: 400px;
    width: 100%;
}

.certificate-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--purple-dark), var(--dark-black));
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
    opacity: 1;
    transform: translateY(0);
}

.contact-item:hover {
    border-color: var(--gold);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 2rem;
    color: var(--gold);
    min-width: 50px;
}

.contact-item h3 {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--white);
    opacity: 0.9;
}

.whatsapp-contact {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--whatsapp-green);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    justify-content: center;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn-secondary {
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    box-shadow: 0 5px 15px rgba(106, 13, 173, 0.3);
}

.whatsapp-btn-secondary:hover {
    background: linear-gradient(135deg, var(--purple-dark), var(--purple));
    box-shadow: 0 10px 25px rgba(106, 13, 173, 0.4);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Footer - UPDATED DEVELOPER SECTION */
.footer {
    background: var(--dark-black);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

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

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-section ul li a:hover {
    color: var(--gold);
    opacity: 1;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    background: var(--gold);
    color: var(--dark-black);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--white);
    opacity: 1;
}

/* CLEAN DEVELOPER CREDIT - PROFESSIONAL DESIGN */
.developer-credit {
    margin-top: 2rem;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    /* Override any old styles */
    box-shadow: none !important;
    backdrop-filter: none !important;
    animation: none !important;
}

/* Remove any old developer-info styles */
.developer-info {
    display: none !important;
}

.dev-button {
    background: transparent !important;
    color: var(--gold) !important;
    border: 2px solid var(--gold) !important;
    padding: 0.8rem 1.5rem !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    font-family: var(--font-heading) !important;
    letter-spacing: 0.3px !important;
    position: relative !important;
    overflow: hidden !important;
    /* Remove any old button styles */
    box-shadow: none !important;
    min-width: auto !important;
    min-height: auto !important;
    transform: none !important;
}

.dev-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.3s ease;
    z-index: -1;
}

.dev-button:hover {
    color: var(--dark-black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.dev-button:hover::before {
    left: 0;
}

.dev-button:active {
    transform: translateY(0);
}

.dev-button i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.dev-button:hover i {
    transform: scale(1.1);
}

.dev-button span {
    font-weight: 500;
}

/* Developer Modal */
.developer-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.developer-modal-content {
    background: var(--primary-black);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    border: 2px solid var(--gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
    animation: slideIn 0.3s ease-out;
    position: relative;
}

.developer-modal-header {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: var(--dark-black);
    padding: 1.5rem;
    border-radius: 13px 13px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.developer-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.close-modal {
    color: var(--dark-black);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.developer-modal-body {
    padding: 2rem;
}

.developer-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.developer-info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    transform: translateX(5px);
}

.developer-info-item i {
    font-size: 1.5rem;
    color: var(--gold);
    min-width: 30px;
}

.developer-info-item h4 {
    color: var(--gold);
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.developer-info-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.developer-info-item a:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* Modal Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile Menu Styles */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding: 2rem;
    gap: 1.5rem;
    z-index: 999;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ENHANCED MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    /* Header & Navigation */
    .nav-container {
        padding: 0.8rem 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    /* Hero Section - FIXED MOBILE ALIGNMENT */
    .hero {
        min-height: 100vh;
        padding: 2rem 0;
        padding-top: 100px; /* Increased padding for mobile header */
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        min-height: 48px; /* Better touch target */
    }
    
    /* Featured Products */
    .products-slider {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card.featured {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    /* Products Section */
    .products-filter {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-height: 48px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .product-card {
        margin: 0;
        width: 100%;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        max-width: 100%;
        height: auto;
    }
    
    /* Why Us Section */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Developer Credit - MOBILE OPTIMIZED */
    .developer-credit {
        margin-top: 1.5rem;
        padding: 1rem;
    }
    
    .dev-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        min-height: 44px;
    }
    
    /* General */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Certificates */
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .certificate-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Extra Small Devices */
    .container {
        padding: 0 0.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        min-height: 44px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .product-card {
        margin: 0;
    }
    
    .product-info h3 {
        font-size: 1.1rem;
    }
    
    .product-info p {
        font-size: 0.85rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
    
    /* Form inputs */
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    /* Navigation */
    .nav-container {
        padding: 0.6rem 0.8rem;
    }
    
    .logo-text h1 {
        font-size: 1.3rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    /* Developer Credit - EXTRA SMALL */
    .developer-credit {
        padding: 0.8rem;
        margin-top: 1rem;
    }
    
    .dev-button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-height: 40px;
    }
}

/* Tablet Optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 1rem 0;
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .btn {
        width: auto;
        max-width: none;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .feature-card:hover {
        transform: none;
    }
    
    /* Increase touch targets */
    .filter-btn {
        min-height: 44px;
    }
    
    .btn {
        min-height: 44px;
    }
    
    .nav-menu a {
        padding: 0.8rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .dev-button {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Mobile Responsive for Developer Modal */
@media (max-width: 768px) {
    .developer-modal-content {
        margin: 10% auto;
        width: 95%;
        max-width: none;
    }
    
    .developer-modal-header {
        padding: 1rem;
    }
    
    .developer-modal-header h3 {
        font-size: 1.3rem;
    }
    
    .developer-modal-body {
        padding: 1.5rem;
    }
    
    .developer-info-item {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .developer-info-item i {
        font-size: 1.2rem;
    }
    
    .developer-info-item h4 {
        font-size: 0.9rem;
    }
    
    .developer-info-item a {
        font-size: 0.85rem;
    }
    
    .close-modal {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .developer-modal-content {
        margin: 5% auto;
        width: 98%;
    }
    
    .developer-modal-header {
        padding: 0.8rem;
    }
    
    .developer-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .developer-modal-body {
        padding: 1rem;
    }
    
    .developer-info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .developer-info-item i {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
} 

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    /* Ensure proper spacing and touch targets */
    .nav-menu.active {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    /* Better mobile navigation */
    .nav-menu.active a {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
        width: 100%;
        text-align: center;
    }
    
    /* Improve mobile hero section */
    .hero-content {
        padding: 0 1rem;
        margin-top: 0;
    }
    
    /* Better mobile buttons */
    .hero-buttons .btn {
        margin: 0.5rem 0;
        width: 100%;
        max-width: 300px;
    }
    
    /* Mobile product cards */
    .product-card {
        margin-bottom: 1rem;
    }
    
    .product-image {
        height: 250px;
    }
    
    /* Mobile contact form */
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    /* Mobile certificates */
    .certificate-item {
        margin-bottom: 1rem;
    }
    
    /* Mobile about section */
    .about-text {
        padding: 0 1rem;
    }
    
    /* Mobile features */
    .feature-card {
        margin-bottom: 1rem;
    }
    
    /* Mobile footer */
    .footer-content {
        padding: 0 1rem;
    }
    

}

@media (max-width: 480px) {
    /* Extra small device optimizations */
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
    }
    
    /* Smaller buttons for very small screens */
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Compact product cards */
    .product-info {
        padding: 1rem;
    }
    
    .product-info h3 {
        font-size: 1rem;
    }
    
    .product-info p {
        font-size: 0.8rem;
    }
    
    /* Compact contact form */
    .contact-form {
        padding: 1rem;
    }
    

}

/* Landscape orientation fixes */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .btn {
        width: auto;
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border-width: 3px;
    }
    
    .dev-button {
        border-width: 3px;
    }
    
    .nav-menu a::after {
        height: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-video {
        display: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-black: #000000;
        --dark-black: #111111;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .hero-buttons,
    .developer-credit,
    .contact-form,
    .hamburger {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content {
        color: #000;
    }
    
    .hero-title,
    .hero-subtitle,
    .hero-description {
        color: #000;
    }
    
    .section-title {
        color: #000;
    }
    
    .product-card {
        break-inside: avoid;
        border: 1px solid #ccc;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.dev-button:focus,
.filter-btn:focus,
.nav-menu a:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--gold);
    color: var(--dark-black);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10001;
}

.skip-link:focus {
    top: 6px;
}

/* Loading states */
.loading-state {
    opacity: 0.6;
    pointer-events: none;
}

.loading-state::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--gold);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error states */
.error-state {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.3) !important;
}

/* Success states */
.success-state {
    border-color: #4CAF50 !important;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3) !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-black);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-bright);
}

/* Selection styles */
::selection {
    background: var(--gold);
    color: var(--dark-black);
}

::-moz-selection {
    background: var(--gold);
    color: var(--dark-black);
} 