/* Services Section - Clientele Marquee */
/* Reset and Base Styles */

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap');

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body{
    background-color: rgb(248, 247, 247);
    position: relative;
}


.services-section {
    padding: 20px 0;
    background-color: #c4c7cb;
    margin-top: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.marquee-container {
    max-width: 100%;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Lora', serif;
}

.marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

.marquee-content {
    display: flex;
    animation: marquee 40s linear infinite;
    width: fit-content;
    will-change: transform;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-item {
    flex: 0 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.marquee-item img {
    height: 80px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    opacity: 1;
    transition: all 0.3s ease;
    border: 2px solid #0d0d0d;
    border-radius: 20px;  
    
}

.marquee-item img:hover {
    transform: scale(1.1);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .marquee-item {
        padding: 0 20px;
    }

    .marquee-item img {
        height: 60px;
        max-width: 140px;
    }

    .services-section {
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .marquee-item {
        padding: 0 15px;
    }

    .marquee-item img {
        height: 50px;
        max-width: 120px;
    }

    .services-section {
        padding: 20px 0;
    }
}

@media (max-width: 360px) {
    .section-title {
        font-size: 1.3rem;
    }

    .marquee-item img {
        height: 45px;
        max-width: 100px;
    }
}

/* Portfolio Section Styles ------------------------------------------------------------------------------------------------------------------*/
.portfolio-section {
            position: relative;
            padding: 10px;
            min-height: 100vh;
            overflow: hidden;
            width: 100%;
            max-width: 100vw;
        }

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

        .video-background video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.15;
        }

        .video-background::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(30, 30, 60, 0.9));
        }

        .container {
            position: relative;
            z-index: 1;
            max-width: 1400px;
            margin: 0 auto;
            padding: 60px 20px;
            width: 100%;
            overflow: hidden;
        }

        .portfolio-section .section-title {
            text-align: center;
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 700;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            opacity: 0;
            transform: translateY(-30px);
            animation: fadeInDown 0.8s ease forwards;
            font-family: 'Lora', serif;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.1rem;
            color: #b0b0b0;
            margin-bottom: 50px;
            opacity: 0;
            animation: fadeIn 1s ease 0.3s forwards;
        }

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

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

        .filter-buttons {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 50px;
            opacity: 0;
            animation: fadeIn 1s ease 0.5s forwards;
        }

        .filter-btn {
            padding: 12px 30px;
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(102, 126, 234, 0.3);
            color: #fff;
            border-radius: 50px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }

        .filter-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(102, 126, 234, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.5s, height 0.5s;
        }

        .filter-btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .filter-btn:hover {
            border-color: #667eea;
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
        }

        .filter-btn.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-color: #667eea;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
        }

        .filter-btn span {
            position: relative;
            z-index: 1;
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
            width: 100%;
        }

        .portfolio-item {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            opacity: 0;
            transform: translateY(30px);
            animation: slideUp 0.6s ease forwards;
        }

        .portfolio-item:nth-child(1) { animation-delay: 0.1s; }
        .portfolio-item:nth-child(2) { animation-delay: 0.2s; }
        .portfolio-item:nth-child(3) { animation-delay: 0.3s; }
        .portfolio-item:nth-child(4) { animation-delay: 0.4s; }
        .portfolio-item:nth-child(5) { animation-delay: 0.5s; }
        .portfolio-item:nth-child(6) { animation-delay: 0.6s; }

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

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

        .portfolio-item:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
            border-color: rgba(102, 126, 234, 0.5);
        }

        .portfolio-image {
            position: relative;
            width: 100%;
            height: 300px;
            overflow: hidden;
        }

        .portfolio-image img,
        .portfolio-image video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .portfolio-item:hover .portfolio-image img,
        .portfolio-item:hover .portfolio-image video {
            transform: scale(1.15);
        }

        .portfolio-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

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

        .overlay-icon {
            font-size: 3rem;
            margin-bottom: 15px;
            transform: translateY(20px);
            transition: transform 0.4s ease 0.1s;
        }

        .portfolio-item:hover .overlay-icon {
            transform: translateY(0);
        }

        .overlay-text {
            font-size: 1.3rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            transform: translateY(20px);
            transition: transform 0.4s ease 0.2s;
        }

        .portfolio-item:hover .overlay-text {
            transform: translateY(0);
        }

        .portfolio-content {
            padding: 25px;
        }

        .portfolio-category {
            display: inline-block;
            padding: 6px 15px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 12px;
        }

        .portfolio-title {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: #fff;
        }

        .portfolio-description {
            font-size: 0.95rem;
            color: #b0b0b0;
            line-height: 1.6;
        }

        .glow-effect {
            position: absolute;
            bottom: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
            pointer-events: none;
            transition: opacity 0.4s ease;
            opacity: 0;
        }

        .portfolio-item:hover .glow-effect {
            opacity: 1;
        }

        @media (max-width: 768px) {
            .portfolio-grid {
                grid-template-columns: 1fr;
                gap: 20px;
                padding: 0 10px;
            }

            .filter-buttons {
                gap: 10px;
            }

            .filter-btn {
                padding: 10px 20px;
                font-size: 0.9rem;
            }

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

            .portfolio-image {
                height: 250px;
            }
            
            .container {
                padding: 40px 15px;
            }
        }

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

            .portfolio-content {
                padding: 20px;
            }

            .filter-btn {
                padding: 8px 16px;
                font-size: 0.85rem;
            }
            
            .portfolio-grid {
                grid-template-columns: 1fr;
                gap: 15px;
                padding: 0 5px;
            }
        }
        
.portfolio-grid a {
    text-decoration: none;   /* removes underline */
    color: inherit;          /* keeps original text color */
}

.portfolio-grid a:hover {
    text-decoration: none;   /* ensures no underline on hover too */
}

/* Ensure all images respect container width */
img, video {
    max-width: 100%;
    height: auto;
}

/* contact form -------------------------------------------------------------------------------------------------------------*/

/* Import Modern Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

/* Animated Background Elements */
body::before {
    content: '';
    position: fixed;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -250px;
    right: -250px;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
    animation: float 8s ease-in-out infinite reverse;
    z-index: 0;
    pointer-events: none;
}

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

/* Contact Section */
.contact-section {
    padding: 60px 20px;
    position: relative;
    z-index: 1;
    background-color: #2e5282 !important;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

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

/* Heading Styles */
.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInDown 0.8s ease forwards;
    font-family: 'Lora', serif;
}

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

/* Form Container */
.col-md-8 {
    max-width: 700px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

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

form h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Lora', serif;
}

.contact-section h2::before {
    content: '';
}

.contact-section h2 {
    font-family: 'Lora', serif;
}

/* Input Group with Floating Labels */
.mb-3 {
    margin-bottom: 1.5rem;
    position: relative;
    
}

.form-control {
    width: 100%;
    padding: 16px 16px 16px 16px;
    font-size: 1rem;
    border: 2px solid #0e0d0d;
    border-radius: 12px;
    background: #ffffff;
    color: #333;
    transition: all 0.3s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: #999;
    transition: all 0.3s ease;
}

.form-control:focus::placeholder {
    opacity: 0;
    transform: translateX(10px);
}

/* Textarea Specific */
textarea.form-control {
    resize: vertical;
    min-height: 150px;
    font-family: 'Inter', sans-serif;
}

/* Input Animation on Focus */
.mb-3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.mb-3:focus-within::after {
    width: 100%;
}

/* Floating Label Effect */
.mb-3 label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: #999;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: #ffffff;
    padding: 0 4px;
}

.form-control:focus ~ label,
.form-control:not(:placeholder-shown) ~ label {
    top: -10px;
    font-size: 0.85rem;
    color: #667eea;
    font-weight: 500;
}

/* Submit Button */
.btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Loading State */
.btn-primary.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success/Error Messages */
.form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    animation: slideIn 0.5s ease forwards;
}

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

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* Input Error State */
.form-control.error {
    border-color: #dc3545;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.error-text {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

.form-control.error ~ .error-text {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section h2 {
        font-size: 2rem;
    }

    form {
        padding: 40px 25px;
    }

    form h3 {
        font-size: 1.5rem;
    }

    .form-control {
        padding: 14px;
        font-size: 0.95rem;
    }

    .btn-primary {
        padding: 14px;
        font-size: 1rem;
    }

    body::before {
        width: 300px;
        height: 300px;
        top: -150px;
        right: -150px;
    }

    body::after {
        width: 250px;
        height: 250px;
        bottom: -125px;
        left: -125px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 10px;
    }

    .contact-section h2 {
        font-size: 1.75rem;
    }

    form {
        padding: 30px 15px;
    }

    form h3 {
        font-size: 1.3rem;
    }
    
    body::before {
        width: 200px;
        height: 200px;
        top: -100px;
        right: -100px;
    }

    body::after {
        width: 180px;
        height: 180px;
        bottom: -90px;
        left: -90px;
    }
}

/* Ensure rows don't overflow */
.row {
    margin-left: 0;
    margin-right: 0;
}

.contact-section .container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}