/* 
   EXDETECH V2 - Friendly Glass Theme
*/

:root {
    --bg-gradient-start: #f3f4f6;
    --bg-gradient-end: #e0e7ff;

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);

    --primary: #6366f1;
    /* Soft Indigo */
    --secondary: #2dd4bf;
    /* Soft Teal */
    --accent: #f472b6;
    /* Soft Pink */

    --text-main: #374151;
    --text-light: #6b7280;
    --text-white: #ffffff;

    --font-main: 'Poppins', sans-serif;

    --radius-lg: 24px;
    --radius-md: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: var(--text-main);
    font-family: var(--font-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.bg-soft {
    background: rgba(255, 255, 255, 0.3);
}

/* Background Orbs */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #c7d2fe;
    top: -100px;
    left: -100px;
    animation: float 10s infinite alternate;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #ccfbf1;
    bottom: -100px;
    right: -100px;
    animation: float 12s infinite alternate-reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #fce7f3;
    top: 40%;
    left: 40%;
    opacity: 0.4;
    animation: float 15s infinite alternate;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 30px);
    }
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.85rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    padding: 10px 25px;
    background: var(--primary);
    color: white !important;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-soft {
    display: inline-block;
    padding: 8px 16px;
    background: #e0e7ff;
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-primary {
    padding: 15px 35px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    padding: 15px 35px;
    background: white;
    color: var(--text-main);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--glass-shadow);
    width: 300px;
    position: relative;
    z-index: 2;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #e0e7ff;
    color: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.icon-blue {
    background: #e0f2fe;
    color: #0ea5e9;
}

.icon-teal {
    background: #ccfbf1;
    color: var(--secondary);
}

.icon-purple {
    background: #ede9fe;
    color: #8b5cf6;
}

.glass-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.glass-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.small-card {
    position: absolute;
    bottom: 50px;
    right: -50px;
    width: 220px;
    padding: 20px;
    z-index: 3;
}

.float-anim {
    animation: floatCard 6s ease-in-out infinite;
}

.float-anim-delayed {
    animation: floatCard 7s ease-in-out infinite reverse;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Section Headers */
.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-head p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.glass-panel:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.panel-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.about-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-main);
    font-weight: 500;
}

.values-list i {
    color: var(--secondary);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 40px 30px;
}

.service-img {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: 0.3s;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-content h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.service-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Process Steps */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
    position: relative;
    z-index: 2;
}

.step h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: #e0e7ff;
    margin-top: 30px;
    min-width: 50px;
}

/* Contact */
.contact-container {
    max-width: 900px;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    padding: 0;
    overflow: hidden;
    background: white;
}

.contact-info {
    background: var(--primary);
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 40px;
    opacity: 0.9;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-form {
    padding: 50px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    background: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--text-main);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: var(--primary);
}

/* Footer */
.main-footer {
    background: white;
    padding: 15px 0;
    border-top: 1px solid #f3f4f6;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--text-light);
    font-size: 1.2rem;
}

.footer-social a:hover {
    color: var(--primary);
}

.footer-copy {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .contact-box {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
        gap: 40px;
    }

    .step-connector {
        display: none;
    }
}

/* Responsive Mobile Menu */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 20px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s ease forwards;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger animations for links */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--text-main);
        font-weight: 600;
    }

    .menu-btn {
        display: block;
        z-index: 1000;
        cursor: pointer;
    }

    /* Hamburger Animation */
    .menu-btn i {
        display: none;
        /* Hide default icon */
    }

    .menu-btn {
        width: 30px;
        height: 25px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .menu-btn::before,
    .menu-btn::after,
    .menu-btn span {
        content: '';
        width: 100%;
        height: 3px;
        background: var(--primary);
        border-radius: 3px;
        transition: 0.3s;
    }

    .menu-btn span {
        width: 70%;
        align-self: flex-end;
    }

    /* Toggle State */
    .menu-btn.toggle::before {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .menu-btn.toggle span {
        opacity: 0;
    }

    .menu-btn.toggle::after {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
    }
}