/* ===================================
   TechVision - Premium 3D Website
   Modern IT Company & Marketing Agency
   =================================== */

/* === ROOT VARIABLES === */
:root {
    /* Color Palette */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);

    /* Dark Theme Colors */
    --bg-primary: #0f0f1e;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #b4b4c8;
    --text-muted: #6b7280;

    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 20px;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s ease;
    --transition-slow: 0.8s ease;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-3d: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.5);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* === GLOBAL RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* === UTILITIES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === SECTION HEADER === */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-fast);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
    
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.logo i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rotate3d 10s linear infinite;
}

.logo-image {
    width: 100px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    /* background: var(--gradient-primary); */
    /* -webkit-text-fill-color: transparent;
    animation: rotate3d 10s linear infinite; */
}

@keyframes rotate3d {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
}

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

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-secondary);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--gradient-accent);
    bottom: 20%;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: var(--gradient-primary);
    top: 40%;
    right: 30%;
    animation-delay: -15s;
}

.shape-5 {
    width: 200px;
    height: 200px;
    background: var(--gradient-secondary);
    bottom: 30%;
    right: 20%;
    animation-delay: -7s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === 3D CUBE === */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cube-container {
    perspective: 1000px;
    width: 300px;
    height: 300px;
    position: relative;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

@keyframes rotateCube {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.cube-face {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cube-face.front {
    transform: translateZ(150px);
}

.cube-face.back {
    transform: rotateY(180deg) translateZ(150px);
}

.cube-face.right {
    transform: rotateY(90deg) translateZ(150px);
}

.cube-face.left {
    transform: rotateY(-90deg) translateZ(150px);
}

.cube-face.top {
    transform: rotateX(90deg) translateZ(150px);
}

.cube-face.bottom {
    transform: rotateX(-90deg) translateZ(150px);
}

/* === FLOATING CARDS === */
.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-card {
    position: absolute;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-lg);
    animation: floatCard 6s infinite ease-in-out;
}

.float-card i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.float-card span {
    font-weight: 600;
    font-size: 0.875rem;
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -10%;
    animation-delay: -2s;
}

.card-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: -4s;
}

.card-4 {
    top: 5%;
    right: -10%;
    animation-delay: -6s;
}

.card-5 {
    bottom: -25%;
    right: 10%;
    animation-delay: -8s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 24px;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* === ABOUT SECTION === */
.about {
    padding: var(--section-padding);
    position: relative;
}

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

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    perspective: 1000px;
}

.image-card {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    box-shadow: var(--shadow-3d);
}

.image-card:hover {
    transform: rotateY(10deg) rotateX(10deg);
}

.image-card i {
    font-size: 8rem;
    color: white;
    opacity: 0.8;
}

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

.about-text>p {
    font-size: 1.125rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.feature-content h4 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.feature-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* === App SECTION === */
.smart-app-tech {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

/* === SERVICES SECTION === */
.services {
    padding: var(--section-padding);
    background: var(--bg-primary);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-3d);
    border-color: rgba(99, 102, 241, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-glow);
    transition: transform var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotateY(180deg);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.service-features {
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.925rem;
}

.service-features i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-light);
    font-weight: 600;
    transition: gap var(--transition-fast);
    position: relative;
}

.service-link:hover {
    gap: 15px;
}

/* === PORTFOLIO SECTION === */
.portfolio {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    opacity: 1;
    transition: all var(--transition-smooth);
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    display: none;
}

.portfolio-image {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-smooth);
}

.portfolio-placeholder i {
    font-size: 4rem;
    color: white;
    opacity: 0.6;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.portfolio-image:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-image:hover .portfolio-placeholder {
    transform: scale(1.1);
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.portfolio-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tags span {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--primary-light);
}

.portfolio-link {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all var(--transition-fast);
}

.portfolio-image:hover .portfolio-link {
    opacity: 1;
    transform: scale(1);
}

/* === WHY CHOOSE US SECTION === */
.why-choose-us {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.app-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}


.benefit-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-smooth);
    transform-style: preserve-3d;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-10px) translateZ(20px);
    box-shadow: var(--shadow-3d);
    border-color: rgba(99, 102, 241, 0.3);
}

.benefit-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.75rem;
    color: white;
    box-shadow: var(--shadow-glow);
    transition: transform var(--transition-fast);
}

.benefit-card:hover .benefit-icon {
    transform: rotateY(360deg) scale(1.1);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* === TESTIMONIALS SECTION === */
.testimonials {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: rgba(99, 102, 241, 0.1);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-3d);
    border-color: rgba(99, 102, 241, 0.3);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-rating i {
    color: var(--accent-color);
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.author-info h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* === CLIENT LOGOS === */
.client-logos {
    text-align: center;
}

.client-logos h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

.logo-item:hover {
    opacity: 1;
}

.logo-item i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-item span {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* === CONTACT SECTION === */
.contact {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.info-text h4 {
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.info-text p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.social-links {
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

.social-links h4 {
    margin-bottom: 16px;
    font-size: 1.125rem;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    border-color: transparent;
}

/* === CONTACT FORM === */
.contact-form-wrapper {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

select option {
    color: white;
    background-color: #38384A;
    border: transparent;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.form-message {
    text-align: center;
    padding: 16px;
    border-radius: var(--radius-sm);
    display: none;
    margin-top: 16px;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* === FOOTER === */
.footer {
    padding: 80px 0 30px;
    background: var(--bg-tertiary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-column h3 {
    font-size: 1.125rem;
    margin-bottom: 24px;
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: white;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    margin: 0;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

/* === SCROLL TO TOP === */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AOS Animation Classes */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {

    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

    .cube-container {
        width: 250px;
        height: 250px;
    }

    .cube-face {
        width: 250px;
        height: 250px;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(15, 15, 30, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px;
        gap: 30px;
        transition: left var(--transition-fast);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(10px);
    }

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

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-10px);
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .services-grid,
    .portfolio-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .floating-cards {
        display: none;
    }
}

@media (max-width: 480px) {
    .cube-container {
        width: 200px;
        height: 200px;
    }

    .cube-face {
        width: 200px;
        height: 200px;
    }

    .hero-visual {
        padding: 20px;
    }

    .service-card,
    .benefit-card,
    .testimonial-card,
    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}


/* ott App  */

/* ===== OTT SECTION BASE ===== */
.app-section {
    background: var(--bg-secondary);
    padding: 80px 20px;
    overflow: hidden;
}

.app-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* LEFT CONTENT */
.app-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.app-title {
    font-size: 48px;
    color: #fff;
    margin-bottom: 16px;
    text-align: center;
}

.app-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #f0f0f0;
    margin-bottom: 20px;
    text-align: center;
}

.app-description {
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
}

.app-btn {
    display: inline-block;
    background: #2dd4a3;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
}

.app-btn:hover {
    scale: 0.9;
}

/* RIGHT FEATURES */
.app-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.app-feature {
    background: #fff;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ICON */
.app-icon {
    width: 44px;
    height: 44px;
    background: #6b53ad;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.app-feature h4 {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .app-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .app-features {
        grid-template-columns: 1fr;
    }

    .app-title {
        font-size: 36px;
    }
}


/* ott App page 1 */
.app-stats-section {
    text-align: center;
    margin-top: 2rem;
    /* padding: 60px 20px; */
}

.app-stat-item {
    display: flex;
    flex-direction: column;
    /* stack number above label */
    align-items: center;
    /* center content horizontally */
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    color: #555;
}

/* Ott app page 2 */
.app-services-section {
    padding: 60px 20px;
    text-align: center;
}

.app-services-section .container {
    max-width: 1200px;
    margin: auto;
}

.app-services-section h1 {
    font-size: 2.5rem;
}



.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.app-card {
    background: #212135;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.app-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.app-card p {
    font-size: 0.95rem;
    color: #999797;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .app-services-section h1 {
        font-size: 2rem;
    }

    .app-card {
        padding: 25px 15px;
    }
}

@media (max-width: 480px) {
    .app-services-section h1 {
        font-size: 1.8rem;
    }
}

/* Ott app page 3 */
.app-why-section {
    padding: 80px 20px;
    background: var(--bg-secondary);
}

.app-why-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* LEFT CONTENT */
.app-why-content h2 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.divider {
    width: 70px;
    height: 3px;
    background: #20c997;
    margin-bottom: 20px;
}

.intro-text {
    color: #b3b0b0;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* FEATURES */
.feature {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.feature .icon {
    width: 40px;
    height: 40px;
    border: 2px solid #20c997;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #20c997;
    font-size: 18px;
    flex-shrink: 0;
}

.feature h4 {
    margin: 0 0 5px;
    font-size: 18px;
}

.feature p {
    margin: 0;
    color: #9d9a9a;
    font-size: 15px;
    line-height: 1.5;
}

/* RIGHT IMAGE */
.app-why-image img {
    width: 100%;
    max-width: 420px;
    display: block;
    margin-left: auto;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .app-why-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature {
        justify-content: center;
        text-align: left;
    }

    .app-why-image img {
        margin: 40px auto 0;
    }
}

/* page 4 */
/* ===== OTT FEATURE SECTION (SCOPED) ===== */
.app-feature-scope {
    padding: 80px 20px;

}

.app-feature-scope .app-wrap {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.app-feature-scope .app-heading {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 12px;
}

.app-feature-scope .app-line {
    width: 60px;
    height: 3px;
    background: #3460ce;
    margin: 15px auto 25px;
}

.app-feature-scope .app-text {
    max-width: 900px;
    margin: auto;
    font-size: 16px;
    color: #afadad;
    line-height: 1.7;
}



.app-feature-scope .app-features {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.app-feature-scope .app-box {
    text-align: left;
    border: 2px solid var(--bg-secondary);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--bg-secondary);
}

.app-feature-scope .app-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.app-feature-scope .app-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #3460ce;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #3460ce;
    margin-bottom: 15px;
}

.app-feature-scope .app-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.app-feature-scope .app-box p {
    font-size: 15px;
    color: #afadad;
    line-height: 1.6;
}


/* page 5 */
/* ===== OTT APP PROCESS SECTION ===== */
.app-process-scope {
    /* padding: 90px 20px; */
    background: var(--bg-secondary);
}

.app-process-scope .app-process-wrap {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.app-process-scope .app-cta-btn {
    display: inline-block;
    padding: 14px 34px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    border-radius: 40px;
    text-decoration: none;
    margin-bottom: 40px;
    transition: all 0.4s ease;
}

.app-process-scope .app-cta-btn:hover {
    scale: 0.9;
}

.app-process-scope .app-process-title {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 15px;
}

.app-process-divider {
    width: 70px;
    height: 3px;
    background: #1e5bff;
    margin: 15px auto 60px;
}

.app-process-scope .app-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

.app-process-scope .app-process-card {
    text-align: center;
}

.app-process-scope .app-process-icon {
    width: 160px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.app-process-scope .app-process-icon img {
    max-width: 80%;
    height: auto;
}

.app-process-scope .app-process-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.app-process-scope .app-process-card p {
    font-size: 14.5px;
    color: #b5b2b2;
    line-height: 1.6;
    max-width: 260px;
    margin: auto;
}


/* e-commerce app  */

.e-commerce-discription {
    margin: auto;
}

.e-commerce-section {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.03);
    font-family: Arial, sans-serif;
}

.e-commerce-container {
    max-width: 1200px;
    margin: auto;
}

/* Header */
.e-commerce-header {
    text-align: center;
    margin-bottom: 40px;
}

.e-commerce-header h1 {
    font-size: 36px;
    font-weight: 700;
}

.e-commerce-divider {
    width: 60px;
    height: 3px;
    background: #1e5bff;
    margin: 15px auto 0;
}

/* Content */
.e-commerce-content {
    max-width: 900px;
    margin: auto;
    text-align: left;
}

.e-commerce-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #b5b2b2;
    margin-bottom: 20px;
}

/* Cards */
.e-commerce-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.e-commerce-card {
    background: #212135;
    padding: 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.e-commerce-card:hover {
    transform: translateY(-8px);
}

.e-commerce-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.e-commerce-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.e-commerce-card p {
    font-size: 15px;
    color: #b5b2b2;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Button */
.e-commerce-btn {
    display: inline-block;
    padding: 10px 22px;
    background: var(--primary-dark);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

.e-commerce-btn:hover {
    scale: 0.93;
}

/* astrologer app */
.astrology-title {
    font-size: 28px;
}

.astrology-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* page 2 */
.astrology-bg {
    background: var(--bg-secondary);
}

.astrology-bg-dark {
    background: var(--bg-primary);
}

.astrology-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.astrology-icon img {
    height: 110px;
    width: 110px;
    margin-bottom: 20px;
}

.astrology-img {
    height: 150px;
    width: 150px;
    border-radius: 50%;
}


.astrology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}



/* popup  */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.popup-box {
    background: var(--bg-secondary);
    width: 95%;
    max-width: 700px;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    max-height: 90vh;
    animation: popupFade 0.4s ease;
    overflow-y: auto;
}

.popup-box h3 {
    text-align: center;
    margin-bottom: 20px;
}

.popup-close {
    position: absolute;
    color: white;
    top: 10px;
    right: 14px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

@keyframes popupFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .popup-box {
        max-width: 100%;
        padding: 20px;
    }

    .form-row {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
}

/* Desktop */
@media (min-width: 769px) {
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}


/* POPUP success message */

.form {
    font-size: large;
    font-weight: bolder;
    color: green;
}


