/* ========================================
   EasyTech Portfolio Website - Main Styles
   ======================================== */

/* ========== CSS Variables ========== */
:root {
    /* Primary Colors */
    --primary-blue: #00b4d8;
    --secondary-blue: #0077b6;
    --light-blue: #90e0ef;
    --dark-blue: #023e8a;

    /* Neutral Colors */
    --dark-gray: #495057;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --black: #000000;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
    --gradient-hero: linear-gradient(135deg, #0077b6 0%, #00b4d8 50%, #90e0ef 100%);

    /* Spacing */
    --section-padding: 80px;
    --card-spacing: 30px;
    --border-radius: 10px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

    /* Typography */
    --font-primary: 'Cairo', sans-serif;
    --font-secondary: 'Tajawal', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}

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

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

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

.section-padding {
    padding: var(--section-padding) 0;
}

/* ========== Section Titles ========== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

/* ========== Buttons ========== */
.btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--secondary-blue);
    color: var(--white);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ========== Navbar ========== */
.navbar {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    padding: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition-normal);
}

.navbar.scrolled .logo-img {
    height: 40px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--dark-gray);
    padding: 8px 18px;
    margin: 0 5px;
    border-radius: 8px;
    transition: var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-normal);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-blue);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.theme-toggle {
    background: var(--light-gray);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: var(--transition-normal);
}

.theme-toggle:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: rotate(20deg);
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-hero);
    color: var(--white);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.hero-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--white);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--white);
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.hero-shape.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--white);
    top: 50%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(-20px, 20px) rotate(180deg); }
    75% { transform: translate(20px, 30px) rotate(270deg); }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.brand-name {
    background: linear-gradient(45deg, var(--white), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 600px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
    margin-top: 30px;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.5s backwards;
}

.hero-image img {
    box-shadow: var(--shadow-xl);
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
    animation: floatingIcon 3s infinite ease-in-out;
}

.floating-icon.icon-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: 1s;
}

.floating-icon.icon-3 {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes floatingIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== About Section ========== */
.about-section {
    background: var(--light-gray);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.feature-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-gray);
}

/* Statistics */
.stats-row {
    margin-top: 60px;
}

.stat-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.stat-number::after {
    content: '+';
    color: var(--primary-blue);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-weight: 600;
}

/* ========== Services Section ========== */
.services-section {
    background: var(--white);
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 25px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-blue);
    text-align: center;
}

.service-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
    color: var(--dark-gray);
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-list li {
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--dark-gray);
    display: flex;
    align-items: start;
    gap: 10px;
}

.service-list li i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ========== Portfolio Section ========== */
.portfolio-section {
    background: var(--light-gray);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--white);
    color: var(--dark-gray);
    border: 2px solid var(--light-gray);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.portfolio-item {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 300px;
    max-width: 400px;
    transition: var(--transition-normal);
}

.portfolio-item.hide {
    display: none;
}

.portfolio-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 119, 182, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: var(--white);
    text-align: center;
    margin-bottom: 20px;
}

.portfolio-content {
    padding: 20px;
}

.portfolio-category {
    display: inline-block;
    background: var(--light-blue);
    color: var(--dark-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
}

/* ========== Testimonials Section ========== */
.testimonials-section {
    background: var(--white);
}

.testimonial-card {
    background: var(--light-gray);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-blue);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    font-style: italic;
    margin-bottom: 25px;
}

.testimonial-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.testimonial-position {
    font-size: 0.95rem;
    color: var(--dark-gray);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-blue);
}

/* ========== Contact Section ========== */
.contact-section {
    background: var(--light-gray);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 8px;
    display: block;
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-primary);
    transition: var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

/* Form Validation Styles */
.form-control.is-valid {
    border-color: #28a745;
    padding-left: 40px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 20px;
}

.form-control.is-invalid {
    border-color: #dc3545;
    padding-left: 40px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 20px;
}

.form-control.is-valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 5px;
    font-size: 0.875rem;
    color: #dc3545;
    text-align: right;
}

.valid-feedback {
    display: none;
    width: 100%;
    margin-top: 5px;
    font-size: 0.875rem;
    color: #28a745;
    text-align: right;
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

.form-control.is-valid ~ .valid-feedback {
    display: block;
}

textarea.form-control.is-valid,
textarea.form-control.is-invalid {
    padding-left: 18px;
    background-position: left 10px top 15px;
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    height: 100%;
}

.contact-info-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.contact-item-content p {
    color: var(--dark-gray);
    margin-bottom: 5px;
}

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

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    transition: var(--transition-normal);
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.linkedin {
    background: #0077b5;
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
}

/* ========== Footer ========== */
.footer {
    background: #212529;
    color: #f8f9fa;
    padding: 60px 0 20px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #ccc;
}

.footer-slogan {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.footer-widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-blue);
    padding-right: 10px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #ccc;
}

.footer-contact li i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-top: 2px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary-blue);
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: #ccc;
    font-size: 0.95rem;
    margin: 0;
}

/* ========== Fixed Elements ========== */

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.scroll-top.show {
    display: flex;
    animation: fadeInUp 0.5s ease;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    animation: bounce 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
    color: var(--white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-10px); }
}

/* Social Float */
.social-float {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 997;
}

.social-float-item {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.social-float-item.facebook {
    background: #1877f2;
}

.social-float-item.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-float-item.linkedin {
    background: #0077b5;
}

.social-float-item.twitter {
    background: #1da1f2;
}

.social-float-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

/* ========== Responsive Design ========== */

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

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

    .social-float {
        display: none;
    }

    .navbar-nav {
        background: var(--white);
        padding: 20px;
        border-radius: var(--border-radius);
        margin-top: 15px;
        box-shadow: var(--shadow-md);
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }

    .portfolio-item {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 60px;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

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

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
        bottom: 20px;
        right: 20px;
    }

    .scroll-top {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        bottom: 20px;
        left: 20px;
    }

    .contact-form-wrapper,
    .contact-info {
        padding: 25px;
    }

    .portfolio-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .portfolio-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .footer {
        padding: 40px 0 20px;
    }
}
