/* Root Variables */
:root {
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    --primary-color: #ffaf06;
    --secondary-color: #7000ff;
    --text-white: #ffffff;
    --text-gray: #b3b3b3;
    --gradient-main: linear-gradient(135deg, #ffaf06 0%, #7000ff 100%);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --nav-height: 80px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.center-text {
    text-align: center;
}

/* Section Dividers */
.section-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 175, 6, 0.3), transparent);
    width: 80%;
    margin: 0 auto;
}

/* Utilities */
.text-highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 175, 6, 0.3);
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 175, 6, 0.3);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 25px rgba(255, 175, 6, 0.5);
}

.btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    background: transparent;
}

.btn-secondary:hover {
    border-color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo Style */
.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 10px 0;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-container:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 175, 6, 0.15) 0%, rgba(5, 5, 5, 1) 100%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    width: 100%;
}

.brand-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--primary-color);
    border: 1px solid rgba(255, 175, 6, 0.2);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Common Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(255, 175, 6, 0.1);
    border-color: rgba(255, 175, 6, 0.3);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.portfolio-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 30px;
    border-radius: 15px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    gap: 12px;
}

/* Achievements */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    background: var(--bg-card);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.stat-card p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 40px;
    border-radius: 15px;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(255, 175, 6, 0.2);
    margin-bottom: 20px;
}

.feedback-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: #333;
    border-radius: 50%;
}

.stars {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-top: 5px;
}

/* ABOUT PAGE STYLES */
.about-section {
    padding-top: 150px;
    /* Account for fixed nav */
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 500;
}

.about-header {
    margin-bottom: 40px;
    text-align: center;
}

.about-title {
    font-size: 3.5rem;
    color: var(--text-white);
    margin-bottom: 10px;
}

.about-subtitle {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 400;
}

.about-intro {
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 60px;
}

.about-intro p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 900px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.mv-card {
    padding: 30px;
    background: rgba(255, 175, 6, 0.03);
    border-left: 3px solid var(--primary-color);
    border-radius: 5px;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.mv-card p {
    color: var(--text-gray);
}

.team-section {
    margin-top: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
    justify-content: center;
}

.team-card {
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: #333;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.role {
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 500;
}


/* Footer Updates */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 30px;
    background: #000;
}

.footer-grid {
    display: grid;
    /* 3 columns as requested */
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #555;
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #555;
}

.legal-links a:hover {
    color: var(--text-white);
}

/* CTA Section */
.cta {
    text-align: center;
    background: linear-gradient(0deg, rgba(5, 5, 5, 1) 0%, rgba(255, 175, 6, 0.05) 100%);
}

.cta h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}


/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .logo-img {
        height: 40px;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        flex-direction: column;
        padding: 40px;
        transform: translateY(-100%);
        transition: var(--transition);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--text-white);
        margin: 5px 0;
        transition: var(--transition);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}



/* Contact Section (Added for About Page) */
.contact-section-wrapper {
    margin-top: 100px;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.contact-form {
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.form-textarea {
    height: 150px;
    resize: vertical;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-box {
    padding: 30px;
    border-radius: 15px;
    height: 100%;
}

.info-item {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-content h4 {
    color: var(--text-white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-content a {
    color: var(--text-gray);
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-box {
        height: auto;
    }
}

/* Services Page Styles */
.services-header {
    margin-bottom: 60px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-desc {
    color: var(--text-gray);
    max-width: 600px;
    font-size: 1.1rem;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.03), transparent 70%);
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.card-cyan {
    border-top: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 175, 6, 0.05);
}

.card-purple {
    border-top: 1px solid var(--secondary-color);
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.05);
}

.card-pink {
    border-top: 1px solid #ff0055;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.05);
}

.card-pink .service-title,
.card-pink .pricing-price {
    color: #ff0055;
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
}

.card-yellow {
    border-top: 1px solid #ffcc00;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.05);
}

.card-yellow .service-title,
.card-yellow .pricing-price {
    color: #ffcc00;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.card-purple .service-title,
.card-purple .pricing-price {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(112, 0, 255, 0.3);
}

.card-cyan .service-title,
.card-cyan .pricing-price {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 175, 6, 0.3);
}


.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 25px;
    min-height: 50px;
}

.pricing-price {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.feature-list {
    margin-bottom: 40px;
}

.feature-list li {
    margin-bottom: 10px;
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li i {
    color: var(--text-white);
    /* Or match card color if preferred, but white checkmark is standard */
    font-size: 0.8rem;
}

.pricing-card.card-cyan .feature-list li i {
    color: var(--primary-color);
}

.pricing-card.card-purple .feature-list li i {
    color: var(--secondary-color);
}

.pricing-card.card-pink .feature-list li i {
    color: #ff0055;
}

.pricing-card.card-yellow .feature-list li i {
    color: #ffcc00;
}

.btn-learn-more {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    background: transparent;
}

.pricing-card.card-cyan .btn-learn-more:hover {
    background: rgba(255, 175, 6, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pricing-card.card-purple .btn-learn-more:hover {
    background: rgba(112, 0, 255, 0.1);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.pricing-card.card-pink .btn-learn-more:hover {
    background: rgba(255, 0, 85, 0.1);
    border-color: #ff0055;
    color: #ff0055;
}

.pricing-card.card-yellow .btn-learn-more:hover {
    background: rgba(255, 204, 0, 0.1);
    border-color: #ffcc00;
    color: #ffcc00;
}

/* Pricing Card Hover Effects (Stronger Gradient) */
.pricing-card.card-cyan:hover {
    background: linear-gradient(145deg, rgba(255, 175, 6, 0.15) 0%, rgba(255, 175, 6, 0.02) 100%);
    border-color: rgba(255, 175, 6, 0.3);
    box-shadow: 0 15px 40px rgba(255, 175, 6, 0.15);
}

.pricing-card.card-purple:hover {
    background: linear-gradient(145deg, rgba(112, 0, 255, 0.15) 0%, rgba(112, 0, 255, 0.02) 100%);
    border-color: rgba(112, 0, 255, 0.3);
    box-shadow: 0 15px 40px rgba(112, 0, 255, 0.15);
}

.pricing-card.card-pink:hover {
    background: linear-gradient(145deg, rgba(255, 0, 85, 0.15) 0%, rgba(255, 0, 85, 0.02) 100%);
    border-color: rgba(255, 0, 85, 0.3);
    box-shadow: 0 15px 40px rgba(255, 0, 85, 0.15);
}

.pricing-card.card-yellow:hover {
    background: linear-gradient(145deg, rgba(255, 204, 0, 0.15) 0%, rgba(255, 204, 0, 0.02) 100%);
    border-color: rgba(255, 204, 0, 0.3);
    box-shadow: 0 15px 40px rgba(255, 204, 0, 0.15);
}

/* Floating WhatsApp Button */
/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    /* Moved to right */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    padding: 12px 25px;
    /* Pill shape padding */
    text-align: center;
    font-size: 16px;
    /* Adjusted font size for text */
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    /* Space between icon and text */
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-5px);
    /* Subtle lift instead of scale */
    color: #FFF;
}

.whatsapp-icon {
    font-size: 24px;
    /* Specific sizes for icon */
}

.whatsapp-text {
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

/* Mobile S (320px) and M (375px) Fixes */
@media (max-width: 480px) {

    .portfolio-grid,
    .services-grid,
    .pricing-grid,
    .testimonials-grid,
    .achievements-grid,
    .mission-vision-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title,
    .cta h2,
    .about-title,
    .page-title {
        font-size: 2.2rem;
    }

    .about-subtitle {
        font-size: 1.5rem;
    }

    .brand-label {
        font-size: 0.8rem;
    }

    .testimonial-card,
    .portfolio-card,
    .pricing-card,
    .team-card,
    .about-intro,
    .mv-card,
    .service-card,
    .contact-form,
    .contact-info-box {
        padding: 20px;
    }

    .achievements-grid {
        padding: 20px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .footer-grid {
        gap: 30px;
    }

    /* Contact Page Mobile Alignment */
    .contact-section-wrapper {
        margin-top: 30px;
        margin-bottom: 30px;
        width: 100%;
    }

    .contact-grid {
        width: 100%;
        /* justify-items: center removed to let items stretch */
    }

    .contact-form,
    .contact-info-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        /* Ensure centering if width < 100% */
    }

    /* Force text wrapping for long emails on small screens */
    .info-content a,
    .info-content p {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* Specific Fixes for 320px Screens */
@media (max-width: 360px) {
    .container {
        padding: 0 15px;
    }

    .testimonial-card,
    .portfolio-card,
    .pricing-card,
    .team-card,
    .about-intro,
    .mv-card,
    .service-card,
    .contact-form,
    .contact-info-box {
        padding: 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title,
    .page-title {
        font-size: 1.8rem;
    }
}