/* ============================================
   GLOWTIC SOLUTIONS - STYLES.CSS
   Modern Digital Marketing Agency Website
   ============================================ */

/* Variables */
:root {
    --primary-color: #0a1c33;
    --primary-dark: #051424;
    --secondary-color: #ec4899;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex !important;
    visibility: visible !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    width: 55px;
    height: 55px;
    border-radius: 0%;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.nav-menu {
    display: flex !important;
    gap: 40px;
    list-style: none;
    flex-shrink: 0;
    visibility: visible !important;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10000;
    position: relative;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
    display: block;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    margin-top: 0px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.animated-shape {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translate(0, 0) scale(1);
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: translate(20px, -20px) scale(1.05);
    }
}

/* ============================================
   BUTTONS & CTAs
   ============================================ */

.cta-button {
    padding: 14px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.secondary-btn {
    background: var(--bg-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   SECTION TITLES & TYPOGRAPHY
   ============================================ */

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 0px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   SERVICES PREVIEW SECTION
   ============================================ */

.services-preview {
    padding: 80px 20px;
    background: var(--bg-white);
}

.services-grid-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card-preview {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card-preview:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.service-card-preview h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card-preview p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-choose-us {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(236, 72, 153, 0.02) 100%);
}

.why-content {
    max-width: 900px;
    margin: 0 auto;
}

.why-list {
    display: grid;
    gap: 25px;
}

.why-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.check-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.why-text h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.why-text p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   CLIENT TRUST SECTION
   ============================================ */

.client-trust {
    padding: 80px 20px;
    background: var(--bg-white);
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.client-logo {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
    border: 2px solid transparent;
}

.client-logo:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat h3 {
    font-size: 42px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat p {
    color: var(--text-light);
    font-size: 16px;
}

/* ============================================
   HOME CONTACT CTA SECTION
   ============================================ */

.home-contact-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.08));
    text-align: center;
}

.home-contact-cta h2 {
    font-size: 42px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-contact-cta p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* ============================================
   PAGE SECTIONS
   ============================================ */

.page {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-container {
    padding: 40px 20px;
    max-width: 900px;
}

.about-content {
    margin-bottom: 40px;
}

.about-section {
    margin-bottom: 50px;
}

.about-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.about-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 16px;
}

.expertise-list {
    list-style: none;
    margin-top: 15px;
}

.expertise-list li {
    padding: 10px 0;
    padding-left: 25px;
    color: var(--text-light);
    position: relative;
}

.expertise-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.value-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ============================================
   SERVICES PAGE
   ============================================ */

.services-container {
    padding: 40px 20px;
}

.services-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 60px;
}

.services-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-full-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.service-full-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    padding: 30px 25px;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
}

.service-large-icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.service-header h2 {
    font-size: 24px;
    color: var(--primary-color);
}

.service-body {
    padding: 30px 25px;
}

.service-body h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-body p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-body h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 12px;
}

.service-body ul {
    list-style: none;
    margin-bottom: 15px;
}

.service-body ul li {
    padding: 8px 0;
    padding-left: 20px;
    color: var(--text-light);
    position: relative;
}

.service-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-cta {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    padding: 60px;
    border-radius: 20px;
    text-align: center;
}

.service-cta h2 {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-cta p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-container {
    padding: 40px 20px;
}

.contact-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

.info-block {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-color);
}

.info-block h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.info-block p,
.info-block ul li {
    color: var(--text-light);
    line-height: 1.7;
}

.info-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.info-block a:hover {
    color: var(--secondary-color);
}

.whatsapp-link {
    display: inline-block;
    background: #25D366;
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.whatsapp-link:hover {
    background: #1fa857;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.info-block.highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border-left-color: var(--secondary-color);
}

.info-block ul {
    list-style: none;
    padding: 0;
}

.info-block ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.info-block ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 20px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #bd9e57, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    transition: var(--transition);
    font-size: 14px;
}

.footer-section ul li:hover,
.footer-section a:hover {
    color: white;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hamburger {
        display: flex !important;
        visibility: visible !important;
        z-index: 10000;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        right: 0;
        left: 0;
        flex-direction: column;
        margin-left: 0;
        background-color: white;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        z-index: 999;
        width: 100%;
        padding: 30px 20px;
        gap: 25px;
    }

    .nav-menu.open {
        display: flex !important;
    }

    .nav-menu.closed {
        display: none !important;
    }

    .nav-link {
        font-size: 18px;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
        display: block;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .hero {
        flex-direction: column;
        min-height: auto;
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-image {
        margin-top: 40px;
    }

    .animated-shape {
        width: 200px;
        height: 200px;
    }

    .section-title {
        font-size: 32px;
    }

    .page-title {
        font-size: 36px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-full-grid {
        grid-template-columns: 1fr;
    }

    .why-item {
        gap: 15px;
    }

    .services-grid-preview {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-cta {
        padding: 40px;
    }

    .nav-container {
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 70px;
    }

    .hamburger {
        display: flex !important;
        visibility: visible !important;
        z-index: 10000;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        right: 0;
        left: 0;
        flex-direction: column;
        margin-left: 0;
        background-color: white;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        z-index: 999;
        width: 100%;
        padding: 30px 20px;
        gap: 25px;
    }

    .nav-menu.open {
        display: flex !important;
    }

    .nav-menu.closed {
        display: none !important;
    }

    .nav-link {
        font-size: 16px;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .animated-shape {
        width: 150px;
        height: 150px;
    }

    .section-title {
        font-size: 24px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .service-card-preview,
    .info-block {
        padding: 20px;
    }

    .about-section h2 {
        font-size: 22px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer {
        padding: 40px 20px 20px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .logo-text {
        font-size: 16px;
    }
}
