 :root {
    --bg-gradient: linear-gradient(135deg, #0f0c29, #1e1b41, #161630);
    --text: #e0f7ff;
    --text-muted: #a0a0c0;
    --primary: #40c4ff;
    --primary-glow: rgba(64, 196, 255, 0.35);
    --accent: #a78bfa;
    --card: rgba(30, 30, 60, 0.75);
    --border: rgba(167, 139, 250, 0.22);
    --shadow: 0 12px 48px rgba(0, 0, 0, 0.5);

    --scrollbar-bg: #0f0c29;
    --scrollbar-thumb: #1e1b41;
    --scrollbar-hover: #5967ff;
    --item-bg-muted: rgba(64, 196, 255, 0.07);
    --item-bg-hover: rgba(64, 196, 255, 0.18);
    
    --btn-grad-start: #3a9eff;
    --btn-grad-end: #7a5aff;
    
    --white: #ffffff;
    --black: #000000;
    --label-color: #d0d8e8;
}

.light-theme {
    --bg-gradient: linear-gradient(135deg, #f0f4f8, #e2e8f0, #d1d9e6);
    --card: rgba(255, 255, 255, 0.9);
    --border: rgba(0, 86, 179, 0.15);
    --shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
    
    --text: #1e293b;
    --text-muted: #334155;
    
    --primary: #0056b3;
    --primary-glow: rgba(0, 86, 179, 0.15);
    --accent: #553c9a;
    
    --scrollbar-bg: #f1f5f9;
    --scrollbar-thumb: #cbd5e0;
    --scrollbar-hover: #0056b3;
    
    --item-bg-muted: rgba(0, 86, 179, 0.08);
    --item-bg-hover: rgba(0, 86, 179, 0.12);
    
    --btn-grad-start: #0056b3;
    --btn-grad-end: #553c9a;
    
    --label-color: #1e293b; 
}


*, *::before, *::after {
    transition: background-color 0.5s ease, 
                color 0.4s ease, 
                border-color 0.4s ease, 
                box-shadow 0.5s ease, 
                filter 0.5s ease,
                opacity 0.5s ease;
}

/* --- Global Reset & Scrollbar --- */
html,
body {
    width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    scroll-behavior: smooth !important;
    scroll-padding-top: 110px !important;
}

body {
    background: var(--bg-gradient);
    color: var(--text);
    font-family: "Tektur", sans-serif;
    min-height: 100vh;
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

::-webkit-scrollbar {
    width: 12px; 
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-bg); 
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb); 
    border-radius: 10px;
    border: 3px solid var(--scrollbar-bg); 
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-hover); 
}

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

h1 {
    color: var(--white); 
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -1px;
    text-align: center;
    margin-bottom: 1.4rem;
    text-transform: uppercase;
}

.light-theme h1 {
    color: var(--primary); 
}

.intro {
    font-size: clamp(1rem, 3vw, 1.35rem);
    color: var(--text-muted);
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem;
}

/* --- Form Architecture --- */
.contact {
    max-width: 800px;
    margin: 0 auto 6rem;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.2rem;
}

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

label {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--label-color);
    font-weight: 600;
    transition: color 0.3s ease;
}



















/* --- Form Inputs & Textarea --- */
.underline-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border);
    padding: 0.7rem 0.4rem;
    font-size: 1.1rem;
    color: var(--primary); 
    transition: all 0.3s ease;
    width: 100%;
    font-family: inherit;
}

.underline-input:focus {
    outline: none;
    border-bottom-color: var(--primary); 
    background: var(--item-bg-muted); 
}

::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

textarea.underline-input {
    min-height: 70px;
    resize: vertical;
}

/* --- Submit Button --- */
.submit-btn {
    background: linear-gradient(135deg, var(--btn-grad-start), var(--btn-grad-end));
    color: var(--white);
    border: none;
    padding: 1.1rem 3.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 5em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1.5rem auto 0;
    display: block;
    width: fit-content;
    box-shadow: 0 4px 15px var(--btn-shadow);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--btn-hover-shadow);
    filter: brightness(1.1);
}

/* --- Social Section --- */
.social {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
    margin-top: 5rem;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--primary);
    text-decoration: none;
    padding: 1.2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.social-item:hover {
    background: var(--item-bg-hover);
    transform: translateY(-5px);
    border-color: var(--primary);
    color: var(--primary);
}

.icon-box {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: var(--black); 
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.light-theme .icon-box {
    background: var(--item-bg-muted);
    border: 1px solid var(--border);
}

.social-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

/* --- Icon Logic --- */
.phone-icon {
    filter: brightness(0) invert(1);
}

.light-theme .phone-icon {
    filter: none; 
}

.color-icon {
    filter: grayscale(100%) opacity(0.8);
}

.social-item:hover .color-icon {
    filter: grayscale(0%) opacity(1);
}

.social-item:hover .phone-icon {
    filter: none; 
}

.phone-icon-white, 
.phone-icon-black {
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-item:hover .phone-icon-white,
.social-item:hover .phone-icon-black {
    opacity: 1;
    transform: scale(1.1); 
}

/* --- Theme Switching Logic (Keep this as is) --- */
.phone-icon-black {
    display: none;
}

.light-theme .phone-icon-white {
    display: none;
}

.light-theme .phone-icon-black {
    display: block;
}





















/* --- Testimonials Section --- */
.testimonials-section {
    max-width: 1020px;
    margin: 4rem auto 0;
}

.featured-testimonial {
    border-radius: 20px;
    padding: clamp(1.5rem, 5vw, 3rem);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.testimonial-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
}

.main-photo {
    flex-shrink: 0;
    padding-right: 2rem;
    border-right: 3px solid var(--border);
}

.main-photo img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-glow);
    display: block;
}

.quote-container {
    flex: 1;
}

.quote {
    font-style: italic;
    color: var(--text-muted); 
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.author {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

/* --- Navigation Thumbnails --- */
.thumbnails {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.thumb-btn {
    background: var(--item-bg-muted);
    opacity: 0.7;
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 240px;
    max-width: 300px;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.thumb-btn:hover,
.thumb-btn.active {
    opacity: 1;
    background: var(--item-bg-hover);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.thumb-btn img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.thumb-btn span {
    font-size: 0.9rem;
    color: var(--primary); 
    font-weight: 600;
    line-height: 1.3;
}







































/* --- Contact & Testimonial Tablet Viewport (Max 850px) --- */
@media (max-width: 850px) {
    .testimonial-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .main-photo {
        padding-right: 0;
        border-right: none;
        border-bottom: 2px solid var(--border);
        padding-bottom: 2rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .main-photo img {
        width: 240px;
        height: 240px;
        margin: 0 auto;
        box-shadow: var(--shadow);
    }

    .author {
        text-align: center;
    }

    .container {
        width: 90%; 
    }
}

/* --- Mobile Viewport (Max 480px) --- */
@media (max-width: 480px) {
	.container{
		width: 80%;
	}
    body {
        padding: 40px 15px;
    }

    .submit-btn {
        width: 100%; 
        border-radius: 12px; 
    }

    .social-item {
        font-size: 0.9rem;
        padding: 0.8rem;
    }

    .thumb-btn {
        min-width: 100%; 
        justify-content: flex-start;
    }

    .intro {
        margin-bottom: 2.5rem;
    }
}

/* ================================== FOOTER MEDIAS ======================================= */

@media (min-width: 1100px) {
    .footer-container {
        gap: 6rem;
    }

    .links {
        gap: 3rem 4rem;
    }
}

@media (max-width: 767px) {
    .footer-container {
        grid-template-columns: 1fr; 
        gap: 3rem;
        align-items: center;
        text-align: center;
    }

    .left {
        align-items: center;
        text-align: center;
    }

    .tech-icons,
    .social-links {
        justify-content: center;
    }

    .links {
        grid-template-columns: repeat(2, 1fr); 
        text-align: center;
        gap: 2rem;
        width: 100%;
    }

    .light-theme .links a {
        color: rgb(211, 211, 211);
    }

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