/* Variables & Colors */
:root {
    --bg-color: #050505; /* Deep Black */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --primary-color: #00d2ff;
    --text-color: #ffffff;
    --text-muted: #aaaaaa;
    --gradient: linear-gradient(135deg, #00d2ff, #928DAB);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    background : url('https://images.unsplash.com/photo-1721041879210-c2580ae0a8ed?q=80&w=1032&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    color: var(--text-color);
    font-family: 'Poppins', sans-serif; /* English Premium Font */
    overflow-x: hidden;
    position: relative;
    background-size: contain;
}

/* Moving Background Glows */
.background-glows {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: moveGlow 20s infinite alternate;
}

.glow-1 {
    top: -10%;
    left: -10%; /* Adjusted for LTR look */
    width: 50vw;
    height: 50vw;
    background: #3a7bd5;
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: #9a1eff;
    animation-delay: -5s;
}

@keyframes moveGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Glassmorphism Effect */
.glass-card, .glass-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Navbar */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: fixed;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    border-radius: 20px;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.logo span { color: var(--primary-color); }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
    color: var(--text-color);
    font-weight: 400;
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0; /* Left to right for English */
    background: var(--gradient);
    transition: 0.3s;
}

.nav-links a:hover::after { width: 100%; }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    gap: 50px;
}

.hero-content {
    padding: 50px;
    border-radius: 20px;
    max-width: 650px;
}

.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; font-weight: 700; }
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 30px; line-height: 1.8; font-weight: 300; }

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    border: none;
    margin-right: 15px; /* Margin right for English spacing */
}
.btn-primary:hover { box-shadow: 0 0 20px rgba(0, 210, 255, 0.4); transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: #fff;
}
.btn-outline:hover { background: rgba(0, 210, 255, 0.1); }

/* Visual Art (Gem/Circle) */
.glass-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.8);
    animation: float 6s ease-in-out infinite;
    box-shadow: inset 0 0 40px rgba(255,255,255,0.05);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Sections General */
section { padding: 100px 10%; min-height: 80vh; }
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 80px;
    position: relative;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    padding: 50px 30px;
    text-align: center; /* Center alignment looks good for English too */
    border-radius: 20px;
    transition: 0.4s;
}

.card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 25px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 350px; /* Slightly taller for grandeur */
    cursor: pointer;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(100px);
    transition: 0.4s;
    text-align: left; /* English alignment */
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

/* Contact */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 35px;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    outline: none;
}

.input-group label {
    position: absolute;
    left: 0; /* Left alignment for English labels */
    top: 10px;
    color: var(--text-muted);
    transition: 0.3s;
    pointer-events: none;
}

.input-group input:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:valid ~ label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    text-align: center;
    text-shadow: #00d2ff;
    padding: 40px;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
    backdrop-filter: blur(16px);

}

.social-icons { margin-top: 15px; }
.social-icons a {
    color: #fff;
    margin: 0 15px;
    font-size: 1.5rem;
    transition: 0.3s;
}
.social-icons a:hover { color: var(--primary-color); transform: scale(1.1); }

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; padding-top: 120px; justify-content: center; }
    .hero-content { padding: 30px; margin-bottom: 30px; }
    .glass-nav { width: 95%; padding: 15px; }
    .nav-links { display: none; } 
    .hero h1 { font-size: 2.5rem; }
}