/* 
    Sharkonix IT Services Custom CSS - Advanced GSAP Edition
    Color Palette:
    Primary Green: #56cc3a
    Primary Black: #010101
*/

:root {
    --primary-green: #56cc3a;
    --primary-black: #010101;
    --dark-gray: #111111;
    --light-gray: #f4f4f4;
    --text-light: #e0e0e0;
    --text-dark: #333333;
    --font-primary: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-black);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.text-green {
    color: var(--primary-green);
}

.bg-black {
    background-color: var(--primary-black);
}

.bg-dark-gray {
    background-color: var(--dark-gray);
}

.section-padding {
    padding: 120px 0;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 35px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-green);
    color: #fff;
    box-shadow: 0 4px 15px rgba(86, 204, 58, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(86, 204, 58, 0.5);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: #000;
    transform: translateY(-3px);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease;
    padding: 20px 0;
    background-color: #111111;
}

.site-header.transparent-home {
    background-color: transparent !important;
}

.site-header.scrolled {
    background-color: #111111;
    backdrop-filter: blur(15px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo img {
    height: 100px;
    max-width: 100%;
    object-fit: contain;
    transition: 0.4s;
}

.site-header.scrolled .logo img {
    height: 100px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 35px;
}

.main-nav a {
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.main-nav a.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-green);
    transition: 0.3s;
}

.main-nav a.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-green);
}

/* GSAP Hero Slider */
.gsap-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: var(--dark-gray);
    perspective: 2000px;
}

.gsap-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.gsap-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 650px;
    padding-right: 50px;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.85;
    font-weight: 300;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-icon {
    font-size: 18rem;
    opacity: 0.9;
    filter: drop-shadow(0 0 50px rgba(86, 204, 58, 0.15));
}

/* Custom Hero Controls */
.hero-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
}

.slider-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-prev,
.hero-next {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    transform: scale(1.1);
}

.hero-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.hero-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary-green);
    box-shadow: 0 0 10px rgba(86, 204, 58, 0.5);
}

/* Floating Shapes in Hero */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(86, 204, 58, 0.15);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(86, 204, 58, 0.1);
    bottom: -50px;
    left: -50px;
}

/* Animations Text Reveal CSS */
.text-reveal {
    display: inline-block;
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}

/* Services Section */
.section-title h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.section-title p {
    font-size: 1.2rem;
    opacity: 0.7;
    max-width: 650px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    /* Use min() for fluid single column on extra small phones */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background-color: var(--dark-gray);
    padding: 50px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.card-hover-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(86, 204, 58, 0.1) 0%, transparent 100%);
    opacity: 0;
    z-index: -1;
    transition: 0.5s;
}

.service-card:hover .card-hover-bg {
    opacity: 1;
}

.service-card:hover {
    border-color: rgba(86, 204, 58, 0.3);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(86, 204, 58, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    border: 1px solid rgba(86, 204, 58, 0.2);
    transition: 0.5s;
}

.service-card:hover .icon-wrapper {
    background-color: var(--primary-green);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(86, 204, 58, 0.3);
}

.service-card:hover .icon-wrapper i {
    color: #fff;
}

.icon-wrapper i {
    font-size: 32px;
    color: var(--primary-green);
    transition: 0.5s;
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: #fff;
    font-weight: 700;
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    font-size: 1.05rem;
    opacity: 0.7;
}

/* Service Detail Button */
.btn-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 12px 28px;
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    border-radius: 30px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 2;
    width: 100%;
}

.btn-detail:hover {
    background: var(--primary-green);
    color: #fff;
    box-shadow: 0 6px 20px rgba(86, 204, 58, 0.35);
    transform: translateY(-2px);
}

.btn-detail i {
    transition: transform 0.3s ease;
}

.btn-detail:hover i {
    transform: translateX(4px);
}

/* Service Modal Overlay */
.service-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.service-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Service Modal */
.service-modal {
    background: linear-gradient(145deg, #1a1a1a, #111111);
    border: 1px solid rgba(86, 204, 58, 0.2);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(86, 204, 58, 0.08);
    transform: scale(0.85) translateY(30px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-modal-overlay.active .service-modal {
    transform: scale(1) translateY(0);
}

/* Modal Close Button */
.service-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.service-modal-close:hover {
    background: rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 0, 0, 0.3);
    color: #ff4444;
    transform: rotate(90deg);
}

/* Modal Icon */
.service-modal-icon {
    width: 90px;
    height: 90px;
    background: rgba(86, 204, 58, 0.12);
    border: 2px solid rgba(86, 204, 58, 0.25);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
}

.service-modal-icon i {
    font-size: 36px;
    color: var(--primary-green);
}

/* Modal Title */
.service-modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Modal Description */
.service-modal-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    text-align: left;
}

/* Modal Scrollbar */
.service-modal::-webkit-scrollbar {
    width: 6px;
}

.service-modal::-webkit-scrollbar-track {
    background: transparent;
}

.service-modal::-webkit-scrollbar-thumb {
    background: rgba(86, 204, 58, 0.3);
    border-radius: 3px;
}

/* Modal Responsive */
@media (max-width: 1024px) {
    .service-modal {
        max-width: 550px;
        width: 92%;
        padding: 45px 35px;
    }
}

@media (max-width: 768px) {
    .service-modal {
        max-width: 500px;
        width: 94%;
        padding: 40px 28px;
        max-height: 88vh;
    }

    .service-modal-icon {
        width: 75px;
        height: 75px;
    }

    .service-modal-icon i {
        font-size: 30px;
    }

    .service-modal-title {
        font-size: 1.4rem;
    }

    .service-modal-desc {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .service-modal {
        padding: 35px 22px;
        width: 95%;
        max-height: 90vh;
        border-radius: 16px;
    }

    .service-modal-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 18px;
    }

    .service-modal-icon i {
        font-size: 26px;
    }

    .service-modal-title {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }

    .service-modal-desc {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .service-modal-close {
        width: 36px;
        height: 36px;
        top: 12px;
        right: 12px;
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .service-modal {
        padding: 30px 18px;
        width: 97%;
        border-radius: 14px;
    }

    .service-modal-icon {
        width: 56px;
        height: 56px;
    }

    .service-modal-icon i {
        font-size: 22px;
    }

    .service-modal-title {
        font-size: 1.1rem;
    }

    .service-modal-desc {
        font-size: 0.9rem;
    }

    .btn-detail {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    font-weight: 800;
}

.about-text p {
    margin-bottom: 40px;
    font-size: 1.2rem;
    opacity: 0.8;
    font-weight: 300;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.2rem;
    font-weight: 500;
}

.feature-icon {
    font-size: 1.5rem;
}

.about-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.about-illustration {
    position: relative;
    background: radial-gradient(circle, rgba(86, 204, 58, 0.15) 0%, transparent 70%);
    width: 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.about-illustration>i {
    font-size: 12rem;
    opacity: 0.8;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

.glass-card {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding: 25px 35px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

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

.experience-text {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    opacity: 0.9;
}

/* Contact CTA */
.contact-cta {
    position: relative;
    overflow: hidden;
    padding-bottom: 120px;
}

.contact-cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.contact-cta>div>p {
    margin-bottom: 60px;
    font-size: 1.2rem;
    opacity: 0.7;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-card {
    background-color: var(--dark-gray);
    padding: 50px 30px;
    border-radius: 16px;
    min-width: 300px;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    font-size: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-card p {
    opacity: 0.7;
    font-size: 1.1rem;
}

/* Contact Page Layout & Form */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: stretch;
}

.custom-form {
    background: var(--dark-gray);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.custom-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.custom-form .form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 25px;
}

.custom-form label {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #fff;
    opacity: 0.8;
}

.custom-form input,
.custom-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.custom-form input:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background: rgba(86, 204, 58, 0.05);
    box-shadow: 0 0 0 3px rgba(86, 204, 58, 0.15);
}

.custom-form input::placeholder,
.custom-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Footer Styling Updates */
.site-footer {
    background-color: #111111;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 80px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 100px;
    margin-bottom: 25px;
    filter: brightness(1.2);
}

.footer-col p {
    opacity: 0.6;
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-green);
    font-size: 18px;
    transition: 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-green);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(86, 204, 58, 0.3);
}

.footer-col h3 {
    margin-bottom: 25px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    opacity: 0.6;
    font-size: 1.05rem;
    transition: 0.3s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--primary-green);
    opacity: 1;
    transform: translateX(8px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0.6;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.contact-info li i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.footer-bottom {
    background-color: #000;
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* GSAP Helper Classes */
.toggle-icon {
    display: none;
}

/* Hidden on desktop */
.float-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Inner Page Headers */
.page-header {
    background-color: var(--dark-gray);
    padding: 200px 0 80px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    color: var(--primary-green);
}

/* Responsive */
@media (max-width: 992px) {
    .site-header {
        padding: 15px 0;
        background-color: #111111;
    }

    .site-header.transparent-home {
        background-color: rgba(17, 17, 17, 0.95) !important;
    }

    .logo img {
        height: 60px;
        max-width: 250px;
    }

    .site-header.scrolled .logo img {
        height: 60px;
    }

    .hero-text h1 {
        font-size: 3rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-text {
        padding-right: 0;
        margin-top: 20px;
    }

    .slide-icon {
        font-size: 9rem;
        margin-top: 20px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(1, 1, 1, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 30px 0;
        text-align: center;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 25px;
    }

    .main-nav.active {
        display: block;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-features {
        align-items: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        margin-bottom: 20px;
    }

    /* Footer Mobile Accordion */
    .footer-col h3 {
        margin-top: 20px;
        color: var(--primary-green) !important;
    }

    .footer-toggle {
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 10px;
        margin-bottom: 15px !important;
    }

    .footer-col ul {
        display: none;
        padding-bottom: 15px;
        text-align: left;
        padding-left: 10px;
    }

    .footer-col ul.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .toggle-icon {
        transition: 0.3s;
        font-size: 1.2rem;
        opacity: 1;
        color: var(--primary-green) !important;
        position: absolute;
        right: 0;
    }

    .footer-toggle.active .toggle-icon {
        transform: rotate(180deg);
    }

    .contact-info li a {
        justify-content: flex-start !important;
        width: 100%;
        box-sizing: border-box;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .custom-form {
        padding: 30px;
    }
}

@media (max-width: 768px) {

    /* Generic Structure Core */
    .section-padding {
        padding: 70px 0;
    }

    .page-header {
        padding: 130px 0 70px !important;
    }

    .page-header h1,
    .anim-title {
        font-size: 2.8rem !important;
    }

    h2 {
        font-size: 2.2rem !important;
        margin-bottom: 20px !important;
    }

    p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    /* Hizmetler ve Grid Responsive Fixes */
    .services-grid {
        gap: 20px;
        margin-top: 40px;
    }

    .service-card {
        padding: 30px 20px !important;
    }

    .service-card h3 {
        min-height: auto;
        margin-bottom: 15px;
        font-size: 1.3rem;
    }

    .icon-wrapper {
        width: 65px;
        height: 65px;
        margin-bottom: 20px;
    }

    .icon-wrapper i {
        font-size: 26px;
    }

    /* Hakkimizda & Modern Dynamic Grid Adjustments */
    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 15px !important;
    }

    /* Remove translate staggering to prevent horizontal overflow/breaking grid on small phones */
    .feature-box {
        transform: none !important;
    }

    .stagger-card {
        padding: 25px 20px !important;
    }

    /* Hero Section Responsive Typography */
    .gsap-hero {
        min-height: 100vh;
    }

    .hero-text h1 {
        font-size: 2.4rem;
        margin-bottom: 15px;
    }

    .slider-nav {
        justify-content: center;
    }

    /* Blocks & Flex Wraps */
    .contact-cards {
        gap: 20px;
        flex-direction: column;
    }

    .custom-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .parallax-img {
        padding: 80px 0 !important;
    }

    .glass-card {
        position: static !important;
        margin: 15px auto !important;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .slide-icon {
        font-size: 8rem !important;
        margin-top: 30px;
    }

    .section-title h2 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.4rem !important;
    }

    .experience-num {
        font-size: 2rem !important;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
        display: flex;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-green);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(86, 204, 58, 0.35);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #4ab832;
    box-shadow: 0 6px 25px rgba(86, 204, 58, 0.55);
    transform: translateY(-3px);
}

.scroll-to-top:active {
    transform: translateY(0);
}