/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #5570E6; /* Soft Blue */
    --bg-secondary: #212228; /* Dark Grey */
    --bg-tertiary: #E8EEFC; /* Light Blue-Grey */
    
    --color-text-light: #ffffff;
    --color-text-dark: #212228;
    
    --accent-green: #D4F658;
    --accent-pink: #FF75CE;
    --accent-blue: #809BFC;
    --accent-dark-blue: #3D56B0;
    --accent-green-dark: #4A5A30;

    --font-sans: 'Degular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Ivy Presto', Georgia, serif;
}

/* Typography Imports */
@font-face {
    font-family: 'Degular';
    font-weight: 700;
    font-style: normal;
    src: url('https://emrancitrok.com/wp-content/uploads/2025/05/DegularDisplay-Semibold.otf') format('opentype');
}

@font-face {
    font-family: 'Degular';
    font-weight: 900;
    font-style: normal;
    src: url('https://emrancitrok.com/wp-content/uploads/2025/05/DegularDisplay-Black-1.otf') format('opentype');
}

@font-face {
    font-family: 'Degular';
    font-weight: 400;
    font-style: normal;
    src: url('https://emrancitrok.com/wp-content/uploads/2025/05/DegularDisplay-Light-1.otf') format('opentype');
}

@font-face {
    font-family: 'Ivy Presto';
    font-weight: 300;
    font-style: italic;
    src: url('https://emrancitrok.com/wp-content/uploads/2025/05/fonnts.com-Ivy-Presto-Display-Light-2.otf') format('opentype');
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-primary);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.2;
}

.italic-serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Reusable Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: var(--accent-green);
    color: var(--color-text-dark);
    border: 2px solid #000;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 1);
}

.btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 1);
}

.btn-icon {
    margin-left: 8px;
    font-size: 1.2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    background: transparent;
    transition: background 0.3s ease;
}

header.scrolled {
    background: rgba(85, 112, 230, 0.95);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-text-light);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links li a {
    color: var(--color-text-light);
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-green);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Hero Section - 2026 Modern Design */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-primary);
    color: var(--color-text-light);
    position: relative;
    text-align: center;
    overflow: hidden;
    padding-top: 100px; /* Accounts for fixed header */
}

/* Animated Gradient Mesh Background */
.hero-bg-mesh {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(212,246,88,0.15) 0%, rgba(85,112,230,0) 50%),
                radial-gradient(circle at 80% 20%, rgba(255,117,206,0.15) 0%, rgba(85,112,230,0) 40%);
    z-index: 1;
    animation: pulseMesh 15s ease-in-out infinite alternate;
}

@keyframes pulseMesh {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-2%, 2%); }
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Availability Pill */
.availability-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

@media (min-width: 769px) {
    .availability-pill {
        display: none;
    }
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(212,246,88, 0.7);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212,246,88, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(212,246,88, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212,246,88, 0); }
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin-bottom: 40px;
}

/* Dual CTA Cluster */
.hero-cta-cluster {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.primary-btn {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background-color: transparent;
    color: var(--color-text-light);
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.ghost-btn:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: white;
}

/* Floating Glassmorphism Elements */
.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.card-1 {
    top: 25%;
    left: 8%;
    animation: float1 6s ease-in-out infinite;
}

.card-2 {
    bottom: 25%;
    right: 8%;
    animation: float2 8s ease-in-out infinite alternate;
}

.metric {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-green);
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    color: rgba(255,255,255,0.8);
}

@keyframes float1 {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float2 {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(20px) rotate(-2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Services Section */
.services {
    background-color: var(--bg-secondary);
    color: var(--color-text-light);
    padding: 120px 0;
    text-align: center;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.service-item {
    font-size: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-item:hover {
    transform: scale(1.05) rotate(-2deg);
    color: white;
    text-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.shape-icon {
    width: 60px;
    height: 60px;
}

.shape-icon svg {
    width: 100%;
    height: 100%;
    animation: spin-slow 20s linear infinite;
    transition: all 0.3s ease;
}

.service-item:hover .shape-icon svg {
    animation-duration: 2s;
    transform: scale(1.2);
}

@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.shape-icon {
    width: 60px;
    height: 60px;
    display: inline-block;
}

/* About Section */
.about {
    background-color: var(--bg-tertiary);
    padding: 120px 0;
    color: var(--color-text-dark);
}

.about-header {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 40px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 80px;
    color: #444;
}

.roles-table {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    border-collapse: collapse;
}

.roles-table th {
    text-align: left;
    padding: 20px;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #000;
}

.roles-table td {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.role-time {
    font-weight: 700;
}

.role-title {
    font-size: 2rem;
}

.role-type {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    font-family: var(--font-sans);
}

.role-company {
    font-weight: 700;
    font-size: 1.2rem;
}

.starburst-shape {
    position: absolute;
    left: -5%;
    margin-top: 50px;
    width: 150px;
    height: 150px;
    fill: var(--bg-primary);
    animation: rotate 30s linear infinite;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    background-color: var(--bg-primary);
    color: var(--color-text-light);
    padding: 120px 0;
    text-align: center;
}

.contact-title {
    font-size: 5rem;
    margin-bottom: 40px;
}

footer {
    background-color: var(--bg-secondary);
    color: var(--color-text-light);
    padding: 40px 0;
    text-align: center;
}

/* Hide mobile menu on desktop */
.mobile-menu-btn {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .btn {
        display: none; /* Hide header CTA on mobile to free up space */
    }
    
    .hero-title {
        font-size: 2.5rem; /* Reduced from 3.2rem to prevent overflow */
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .floating-card {
        display: none; /* Hide complex floating glassmorphism on small screens for performance/clutter */
    }
    
    .hero-cta-cluster {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .primary-btn, .ghost-btn {
        width: 100%;
    }
    
    .about-header {
        font-size: 2.5rem;
    }
    
    .role-title {
        font-size: 1.3rem;
    }
    
    /* Mobile Navigation */
    .mobile-menu-btn {
        display: block;
        background: transparent;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        z-index: 1001; /* Ensure it stays above the overlay */
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: -100%; /* Hidden by default */
        width: 100%;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.98);
        z-index: 1000;
        transition: left 0.3s ease;
        gap: 30px;
    }
    
    .nav-links.active {
        left: 0; /* Slide in */
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }

    .nav-links .primary-btn {
        width: auto;
        padding: 15px 40px;
    }
    
    /* Slider reduction */
    .quote {
        font-size: 1.1rem;
    }
    
    /* Services Section Mobile Fix */
    .service-item {
        font-size: 2.5rem; /* Reduced from 5rem */
        flex-direction: column; /* Stack icon below text if needed, or keep row */
        text-align: center;
        padding: 0 15px;
    }
    
    .shape-icon {
        width: 45px;
        height: 45px;
    }
    
    /* Global Section Formatting for Mobile */
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    
    .services, .case-studies, .testimonials, .faq, .contact {
        padding: 60px 0 !important;
    }
}

/* Certifications Section - Modernized */
.certifications {
    background-color: white;
    padding: 40px 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.cert-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 25px;
    background: white;
    color: #222;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.cert-item:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Case Studies */
.case-studies {
    background-color: var(--bg-primary);
    padding: 100px 0;
    color: white;
}

.section-title {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 50px;
}

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

.case-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #000;
    box-shadow: 6px 6px 0px rgba(0,0,0,1);
    transition: transform 0.3s;
}

.case-card:hover {
    transform: translateY(-10px);
}

.case-metric {
    font-size: 4rem;
    color: var(--accent-green);
    margin-bottom: 10px;
}

.case-desc {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.case-tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--accent-pink);
    color: #000;
    font-weight: bold;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-secondary);
    padding: 100px 0;
    text-align: center;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 40px;
    background: white;
    color: black;
    border-radius: 20px;
    border: 2px solid #000;
    box-shadow: 8px 8px 0px var(--accent-blue);
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    font-weight: bold;
    font-size: 1.1rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-green);
    border: 2px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 2px 2px 0px #000;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #000;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: white;
    box-shadow: 4px 4px 0px var(--accent-green);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Industry Tags */
.industry-tag {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s;
}

.industry-tag:hover {
    background: white;
    color: var(--bg-secondary);
}

/* FAQ Section */
.faq-item {
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.5rem;
    font-family: var(--font-sans);
    font-weight: bold;
    cursor: pointer;
    color: var(--bg-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 2rem;
    color: var(--accent-green);
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
    font-size: 1.1rem;
    color: #444;
}
