/* 
   Mucize Fikir Website Clone - Master Stylesheet
   Designed with premium, creative agency aesthetic tokens
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
    --primary: #7030A0;          /* Vibrant purple */
    --primary-rgb: 112, 48, 160;
    --primary-dark: #501d78;     /* Deeper purple */
    --primary-light: #F4EEFB;    /* Soft purple tint */
    --accent: #8B5CF6;           /* Electric violet */
    --accent-pink: #EC4899;      /* Pink for accents */
    --text-dark: #0F172A;        /* Slate 900 */
    --text-muted: #475569;       /* Slate 600 */
    --bg-light: #FAFAFC;         /* Soft off-white */
    --bg-white: #FFFFFF;
    --bg-dark: #090310;          /* Deep dark violet for dark sections */
    --bg-dark-accent: #190F28;   /* Dark violet card background */
    --border-color: #E6E6FA;     /* Lavender gray */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 30px rgba(112, 48, 160, 0.05);
    --shadow-lg: 0 20px 50px rgba(112, 48, 160, 0.08);
}

/* --- Base & Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

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

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

ul {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

p {
    line-height: 1.6;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Serif elegant typography styling */
.italic-serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

/* --- Layout Containers --- */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6.5rem 0;
}

/* --- Custom Cursor --- */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    display: none; /* Hidden on touch devices or standard states, enabled via JS if active */
}

/* --- Aura/Gradients Backgrounds --- */
.purple-aura-bg {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(112,48,160,0.06) 0%, rgba(255,255,255,0) 70%);
    top: -200px;
    right: -200px;
    z-index: -1;
    pointer-events: none;
}

.purple-aura-left {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139,92,246,0.04) 0%, rgba(255,255,255,0) 70%);
    bottom: 10%;
    left: -300px;
    z-index: -1;
    pointer-events: none;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 0.9rem 2.2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(112, 48, 160, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--primary-dark));
    z-index: -1;
    opacity: 0;
    transition: var(--transition-slow);
}

.btn-primary:hover {
    color: var(--bg-white);
    box-shadow: 0 12px 28px rgba(112, 48, 160, 0.35);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.85rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    background-color: transparent;
}

.btn-outline:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
}

/* --- Sticky Header & Navigation --- */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(250, 250, 252, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(112, 48, 160, 0.05);
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0.6rem 0;
    box-shadow: 0 5px 25px rgba(0,0,0,0.03);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    max-width: 1320px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Hamburger menu button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 14px;
    cursor: pointer;
    z-index: 1010;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hamburger active animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Offcanvas Mobile Menu */
.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 380px;
    max-width: 100%;
    height: 100vh;
    background-color: var(--bg-white);
    z-index: 999;
    box-shadow: -10px 0 40px rgba(0,0,0,0.05);
    transition: var(--transition-slow);
    padding: 8.5rem 3rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.offcanvas-menu.active {
    right: 0;
}

.offcanvas-nav {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    flex-shrink: 0;
}

.offcanvas-nav a {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.offcanvas-nav a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.offcanvas-footer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    flex-shrink: 0;
}

.offcanvas-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.offcanvas-contact a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.offcanvas-contact a:hover {
    color: var(--primary);
}

.offcanvas-socials {
    display: flex;
    gap: 1.2rem;
}

.offcanvas-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.offcanvas-socials a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--bg-white);
}

/* Offcanvas overlay backdrop */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(9, 3, 16, 0.4);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: 11rem;
    padding-bottom: 5rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    z-index: 10;
}

.hero h1 {
    font-size: clamp(3.2rem, 8vw, 6.2rem);
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

/* Gradient purple font for Bir fikir */
.hero-gradient-text {
    background: linear-gradient(135deg, var(--primary) 20%, var(--accent-pink) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Elegance italic serif for yaratır. */
.hero h1 span.serif-word {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
    display: inline-block;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    max-width: 760px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* --- Cards Container (Below Hero) --- */
.hero-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2rem;
    margin-top: 3.5rem;
}

.stat-card {
    border-radius: 24px;
    padding: 3rem;
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
}

.stat-card.purple {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.stat-card.dark-purple {
    background: linear-gradient(135deg, var(--bg-dark-accent) 0%, #291842 100%);
    border: 1px solid rgba(112, 48, 160, 0.15);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 55px rgba(112, 48, 160, 0.15);
}

.card-bg-shape {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 220px;
    height: 220px;
    opacity: 0.15;
    pointer-events: none;
    stroke: currentColor;
    stroke-width: 1;
    fill: none;
}

.stat-card h2 {
    font-size: 5.5rem;
    font-weight: 900;
    color: var(--bg-white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    max-width: 80%;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 90%;
    margin-bottom: 2rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--bg-white);
}

.card-link svg {
    transition: var(--transition);
}

.card-link:hover svg {
    transform: translateX(5px);
}

/* --- Services Section --- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
    max-width: 600px;
}

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

.service-card {
    background-color: var(--bg-white);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(112, 48, 160, 0.03);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(112, 48, 160, 0.08);
}

.service-card:hover::after {
    height: 100%;
}

.service-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 2.2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-link svg {
    transition: var(--transition);
}

.service-card:hover .service-link svg {
    transform: translateX(4px);
}

/* --- Why Us Section --- */
.why-us {
    position: relative;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: center;
}

.why-us-text p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.why-us-text p strong {
    color: var(--text-dark);
}

/* --- Client Logos Grid --- */
.clients-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 140px;
    height: 70px;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: var(--transition);
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Team Section --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-image-container {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
    background-color: #F1F1F1;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-slow);
}

.team-card:hover .team-image {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-info {
    padding: 1.8rem;
    text-align: center;
    border-top: 1px solid rgba(112, 48, 160, 0.05);
}

.team-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.team-info span {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Projects Section (Dark Theme) --- */
.projects-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

.projects-section .section-title {
    color: var(--text-dark);
}

.projects-section p {
    color: var(--text-muted);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.project-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.2rem;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.project-meta {
    margin-bottom: 1.5rem;
}

.project-category {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
}

.project-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

.project-mockup-wrapper {
    width: 100%;
    margin-top: 2rem;
    perspective: 1000px;
    position: relative;
}

.project-mockup {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    transform: rotateX(12deg) rotateY(-18deg) rotateZ(5deg);
    transition: var(--transition-slow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover .project-mockup {
    transform: rotateX(5deg) rotateY(-8deg) rotateZ(2deg) scale(1.03);
}

/* Portfolio page categories filter */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--bg-white);
}

/* --- Blog Section --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

.blog-card {
    background-color: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(112, 48, 160, 0.02);
    transition: var(--transition-slow);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: #ECECEC;
}

.blog-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-thumbnail {
    transform: scale(1.05);
}

.blog-category-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background-color: var(--bg-white);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.blog-content {
    padding: 2.2rem;
}

.blog-meta-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.8rem;
    display: block;
}

.blog-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.2rem;
}

.blog-card h3 a:hover {
    color: var(--primary);
}

/* --- FAQ Accordions --- */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 1.2rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(112, 48, 160, 0.2);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 2.2rem;
    cursor: pointer;
    text-align: left;
}

.faq-trigger h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 2.2rem;
}

.faq-content p {
    padding-bottom: 1.8rem;
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Accordion Active States */
.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-icon-box {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: rotate(45deg);
}

/* --- Footer --- */
footer {
    background-color: var(--bg-dark);
    color: var(--bg-white);
    padding: 7rem 0 3rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand .logo {
    color: var(--bg-white);
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    max-width: 320px;
    font-size: 1.25rem;
    line-height: 1.5;
}

.footer-links h4 {
    color: var(--bg-white);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    font-weight: 500;
}

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

.footer-contact h4 {
    color: var(--bg-white);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-item span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.contact-item a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bg-white);
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-item p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-certificates {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cert-badge {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

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

/* --- Floating Action Button (FAB) --- */
.floating-btn {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 10px 25px rgba(112, 48, 160, 0.4);
    z-index: 900;
    cursor: pointer;
    transition: var(--transition-slow);
}

.floating-btn:hover {
    transform: scale(1.05) translateY(-2px);
    background-color: var(--accent);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.55);
}

/* --- Proposal/Contact Form Page & Modal styling --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-card-box {
    background-color: var(--bg-white);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.contact-card-box h3 {
    margin-bottom: 2rem;
    font-size: 1.6rem;
}

.contact-card-box .contact-item {
    margin-bottom: 1.8rem;
}

.contact-card-box .contact-item:last-child {
    margin-bottom: 0;
}

.contact-card-box .contact-item span {
    color: var(--text-muted);
}

.contact-card-box .contact-item a, 
.contact-card-box .contact-item p {
    color: var(--text-dark);
}

.proposal-form-card {
    background-color: var(--bg-white);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(112, 48, 160, 0.05);
}

.form-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.form-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1.1rem 1.4rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(112, 48, 160, 0.08);
}

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

.submit-btn {
    width: 100%;
    margin-top: 1rem;
    cursor: pointer;
}

/* --- Scroll Animations Triggered by JS --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers for stagger reveal */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Responsive Media Queries --- */
@media (max-width: 1200px) {
    .hero-cards-grid {
        grid-template-columns: 1fr;
    }
    .stat-card {
        min-height: 280px;
    }
}

@media (max-width: 992px) {
    .section-padding {
        padding: 5rem 0;
    }
    .hamburger {
        display: flex;
    }
    .nav-links {
        display: none;
    }
    .why-us-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    .container {
        padding: 0 1.5rem;
    }
    .header-container {
        padding: 1rem 1.5rem;
    }
    #header-quote-btn {
        display: none;
    }
    #main-header .logo img {
        height: 50px !important;
    }
    .hero h1 {
        margin-bottom: 1.5rem;
    }
    .hero-description {
        margin-bottom: 2.2rem;
    }
    .projects-grid,
    .blog-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .proposal-form-card {
        padding: 2.5rem 1.8rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .floating-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.75rem 1.4rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
