﻿/*******************************************************************************
 * G3 TECHNOLOGIES (PVT) LTD - MAIN DESKTOP STYLESHEET
 *******************************************************************************
 * 
 * PROJECT:         G3 Technologies Company Website
 * FILE:            Site.css
 * VERSION:         1.0.0
 * LAST UPDATED:    July 2025
 * 
 * DESCRIPTION:     Primary stylesheet for G3 Technologies company website.
 *                  Contains desktop-optimized styles and responsive design
 *                  elements for the main website experience.
 * 
 * FRAMEWORK:       ASP.NET Web Forms
 * RESPONSIVE:      Desktop-first with mobile adaptations
 * BREAKPOINTS:     
 *                  - Desktop: 1024px+
 *                  - Tablet: 768px - 1024px
 *                  - Mobile: 320px - 768px
 * 
 * FEATURES:        
 *                  - Animated loading screen
 *                  - Responsive navigation bar
 *                  - Hero section with carousel
 *                  - Vision & Mission cards
 *                  - Interactive company timeline
 *                  - Team member carousel
 *                  - Project portfolio gallery
 *                  - Modal popups for projects
 *                  - Testimonial slider
 *                  - Contact form integration
 * 
 * DEPENDENCIES:    
 *                  - Bootstrap 3.4.1 (base framework)
 *                  - Google Fonts (custom typography)
 *                  - FontAwesome icons
 *                  - JavaScript animations (main.js)
 * 
 * BROWSER SUPPORT: 
 *                  - Chrome 70+
 *                  - Firefox 60+
 *                  - Safari 12+
 *                  - Edge 79+
 *                  - Internet Explorer 11+ (limited support)
 * 
 * ARCHITECTURE:    
 *                  ├── Global Styles & Reset
 *                  ├── Loading & Animation Framework
 *                  ├── Navigation & Header
 *                  ├── Hero Section & Carousel
 *                  ├── About Section (Vision/Mission)
 *                  ├── Company History Timeline
 *                  ├── Team Section & Carousel
 *                  ├── Portfolio/Projects Gallery
 *                  ├── Modal System
 *                  ├── Testimonials Slider
 *                  └── Contact & Footer
 * 
 * PERFORMANCE:     
 *                  - CSS animations with hardware acceleration
 *                  - Optimized for 60fps scrolling
 *                  - Lazy loading compatible
 *                  - Mobile-first media queries
 * 
 * COMPANY:         G3 Technologies (Pvt) Ltd
 * WEBSITE:         https://g3tec.lk
 * DEVELOPERS:      Uthpala Indeewari (Head of Development)
 *                  Milan Jeewantha (Software Engineer)
 *                  Sithum Randeepa (Software Engineer)
 * 
 *******************************************************************************
 */

/*******************************************************************************
 * GLOBAL STYLES & RESET
 ******************************************************************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/*******************************************************************************
 * LOADING SPINNER STYLES
 ******************************************************************************/
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

    .loading-overlay.hidden {
        opacity: 0;
        visibility: hidden;
    }

.loading-spinner {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
}

.spinner-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #f9ae18, #ed1d25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    z-index: 2;
    box-shadow: 0 0 20px rgba(249, 174, 24, 0.5);
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
}

    .spinner-ring:nth-child(1) {
        border-top: 3px solid #f9ae18;
        border-right: 3px solid #f9ae18;
        animation: spin 2s linear infinite;
    }

    .spinner-ring:nth-child(2) {
        border-bottom: 3px solid #ed1d25;
        border-left: 3px solid #ed1d25;
        animation: spin 2s linear infinite reverse;
        animation-delay: -0.5s;
    }

    .spinner-ring:nth-child(3) {
        border-top: 2px solid rgba(249, 174, 24, 0.5);
        border-right: 2px solid rgba(249, 174, 24, 0.5);
        width: 80%;
        height: 80%;
        top: 10%;
        left: 10%;
        animation: spin 1.5s linear infinite;
        animation-delay: -1s;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
    animation: pulse 2s ease-in-out infinite;
}

.loading-subtext {
    color: #cccccc;
    font-size: 0.9rem;
    text-align: center;
    max-width: 300px;
    animation: fadeInOut 3s ease-in-out infinite;
}

@keyframes pulse {

    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes fadeInOut {

    0%, 100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

.loading-progress {
    width: 250px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 30px;
    overflow: hidden;
    position: relative;
}

    .loading-progress::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, #f9ae18, #ed1d25, transparent);
        animation: progressSlide 2s ease-in-out infinite;
    }

@keyframes progressSlide {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.loading-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f9ae18;
    animation: dotBounce 1.4s ease-in-out infinite both;
}

    .loading-dot:nth-child(1) {
        animation-delay: -0.32s;
    }

    .loading-dot:nth-child(2) {
        animation-delay: -0.16s;
        background: #ed1d25;
    }

    .loading-dot:nth-child(3) {
        animation-delay: 0s;
    }

@keyframes dotBounce {

    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/*******************************************************************************
 * NAVIGATION STYLES
 ******************************************************************************/
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
    }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #000000;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background: linear-gradient(45deg, #f9ae18, #ed1d25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

    .nav-link:hover {
        color: #ed1d25;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(45deg, #f9ae18, #ed1d25);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

/*******************************************************************************
 * HERO SECTION WITH CAROUSEL
 ******************************************************************************/
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
    display: flex;
    align-items: center;
}

    .carousel-slide.active {
        opacity: 1;
    }

.slide-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    height: 100%;
    min-height: calc(100vh - 80px);
}

.slide-text {
    z-index: 2;
}

    .slide-text h1 {
        font-size: 3.5rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        background: linear-gradient(45deg, #f9ae18, #ed1d25);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1.2;
    }

    .slide-text p {
        font-size: 1.2rem;
        color: #666;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/*******************************************************************************
 * BUTTON STYLES
 ******************************************************************************/
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #f9ae18;
    color: white;
    box-shadow: 0 4px 15px rgba(249, 174, 24, 0.3);
    width: 200px;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(249, 174, 24, 0.4);
    }

.btn-secondary {
    background: transparent;
    color: #ed1d25;
    border: 2px solid #ed1d25;
    width: 200px;
}

    .btn-secondary:hover {
        background: #ed1d25;
        color: white;
        transform: translateY(-2px);
    }

.slide-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

    .slide-image img {
        max-width: 100%;
        height: auto;
        border-radius: 20px;
        transition: transform 0.3s ease;
        object-fit: contain;
    }

        .slide-image img:hover {
            transform: scale(1.02);
        }

/* Slide Backgrounds */
.slide-1 {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4f8 100%);
}

.slide-2 {
    background: linear-gradient(135deg, #fff8f0 0%, #f0f8ff 100%);
}

.slide-3 {
    background: linear-gradient(135deg, #f0fff4 0%, #f8f0ff 100%);
}


.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 90%;
    padding: 0 20px;
}

.slide-text {
    flex: 1;
    max-width: 500px;
    color: white;
    padding-right: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Button styles for specific contexts */
.slide-content .btn-primary {
    background: #f9ae18;
}

    .slide-content .btn-primary:hover {
        transform: translateY(-2px);
    }

.slide-content .btn-secondary {
    background: rgb(189, 189, 189);
    color: rgb(255, 255, 255);
}

    .slide-content .btn-secondary:hover {
        background: white;
        color: #000000;
        transform: translateY(-2px);
    }

.slide-image {
    flex: 1;
    max-width: 500px;
    text-align: center;
}

    .slide-image img {
        max-width: 150%;
        height: auto;
        border-radius: 20px;
    }

/* Navigation Dots */
.carousel-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(85, 85, 85, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .nav-dot:hover {
        background: #f9ae18;
        transform: scale(1.2);
    }

    .nav-dot.active {
        background: #f9ae18;
        transform: scale(1.3);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }

/* Carousel Arrows */
.carousel-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(36, 36, 36, 0.2);
    color: rgb(255, 255, 255);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(10px);
}

    .carousel-arrows:hover {
        background: #f9ae18;
        transform: translateY(-50%) scale(1.1);
    }

.arrow-left {
    left: 30px;
}

.arrow-right {
    right: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 0;
    }

    .slide-content {
        flex-direction: column;
        text-align: center;
        max-width: 100%;
        width: 100%;
        padding: 1rem;
        margin-top: 200px;
    }

    .slide-text {
        padding-right: 0;
        margin-bottom: -300px;
        order: 1;
        width: 100%;
    }

    .slide-image {
        order: 2;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        margin-top: -170px;
    }

        .slide-image img {
            width: 100%;
            max-width: 100%;
            height: auto;
        }

    .slide-text h1 {
        font-size: 2.5rem;
    }

    .slide-text p {
        font-size: 1rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .carousel-arrows {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .arrow-left {
        left: 15px;
    }

    .arrow-right {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .slide-text h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Additional mobile styles for very small screens */
@media (max-width: 480px) {
    .hero {
        padding: 60px 0 20px;
    }

    .slide-content {
        padding: 1rem 0.5rem;
        gap: 1.5rem;
    }

    .slide-text h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }

    .slide-text p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
        line-height: 1.4;
    }

    .slide-image {
        max-width: 280px;
        margin-top: -500px;
    }

    .btn {
        max-width: 220px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .carousel-nav {
        bottom: 20px;
    }

    .nav-dot {
        width: 10px;
        height: 10px;
    }

    .arrow-left {
        left: 10px;
    }

    .arrow-right {
        right: 10px;
    }
}

/*******************************************************************************
 * HEADER SECTION
 ******************************************************************************/
.header {
    background: #f9ae18;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.3;
    }

    .header h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 20px;
        position: relative;
        z-index: 1;
    }

    .header p {
        font-size: 1.3rem;
        opacity: 0.9;
        max-width: 600px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

/*******************************************************************************
 * GENERIC SECTION STYLING
 ******************************************************************************/
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #000;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/*******************************************************************************
 * VISION & MISSION SECTION
 ******************************************************************************/
.vision-mission-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

    .vision-mission-section::before {
        content: '';
        position: absolute;
        top: 0;
        right: -50%;
        width: 200%;
        height: 100%;
        background: radial-gradient(ellipse at center, rgba(237, 29, 37, 0.05) 0%, transparent 70%);
        z-index: 1;
    }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.vision-card,
.mission-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    overflow: hidden;
    height: 350px;
}

    .vision-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, #f9ae18 0%, #ed1d25 100%);
    }

    .mission-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, #ed1d25 0%, #f9ae18 100%);
    }

    .vision-card:hover,
    .mission-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        border-color: #f9ae18;
    }

    .vision-card::after {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(249, 174, 24, 0.03) 0%, transparent 70%);
        z-index: 0;
        transition: all 0.4s ease;
    }

    .mission-card::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(237, 29, 37, 0.03) 0%, transparent 70%);
        z-index: 0;
        transition: all 0.4s ease;
    }

    .vision-card:hover::after,
    .mission-card:hover::after {
        transform: scale(1.1);
    }

.card-content {
    position: relative;
    z-index: 2;
}

.card-icon {
    width: 80px;
    height: 90px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    position: relative;
    transition: all 0.3s ease;
}

.vision-icon {
    background: linear-gradient(135deg, #f9ae18 0%, #ed1d25 100%);
}

.mission-icon {
    background: linear-gradient(135deg, #ed1d25 0%, #f9ae18 100%);
}

.card-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.card-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    color: #000000;
    position: relative;
}

.vision-title {
    color: #f9ae18;
}

.mission-title {
    color: #ed1d25;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.vision-title::after {
    background: linear-gradient(90deg, #f9ae18 0%, #ed1d25 100%);
}

.mission-title::after {
    background: linear-gradient(90deg, #ed1d25 0%, #f9ae18 100%);
}

.vision-card:hover .card-title::after,
.mission-card:hover .card-title::after {
    width: 80px;
}

.card-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    text-align: center;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .vision-mission-section {
        padding: 60px 0;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vision-card,
    .mission-card {
        padding: 40px 30px;
        height: auto;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .card-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .card-description {
        font-size: 1.1rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .vision-card,
    .mission-card {
        padding: 30px 20px;
        height: auto;
    }

    .card-title {
        font-size: 1.8rem;
    }

    .card-description {
        font-size: 1rem;
    }
}

/* Vision & Mission Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vision-card,
.mission-card {
    animation: fadeInUp 0.8s ease forwards;
}

.mission-card {
    animation-delay: 0.2s;
}

/* Pulse effect on hover */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.card-icon:hover {
    animation: pulse 0.6s ease-in-out;
}

/*******************************************************************************
 * HISTORY SECTION STYLES
 ******************************************************************************/
.section-history {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

    .section-history::before {
        content: '';
        position: absolute;
        top: 0;
        left: -50%;
        width: 200%;
        height: 100%;
        background: radial-gradient(ellipse at center, rgba(249, 174, 24, 0.05) 0%, transparent 70%);
        z-index: 1;
    }

/* Hide mobile timeline on desktop */
.mobile-timeline-container,
.mobile-timeline-wrapper {
    display: none;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
    position: relative;
    z-index: 2;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, #f9ae18 0%, #ed1d25 100%);
        border-radius: 2px;
    }

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    z-index: 2;
    position: relative;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.timeline-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.nav-button {
    background: #f9ae18;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 174, 24, 0.3);
}

    .nav-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(249, 174, 24, 0.4);
    }

    .nav-button:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.timeline-info {
    text-align: center;
    color: #666;
    font-weight: 500;
}

.timeline-wrapper {
    overflow: hidden;
    position: relative;
}

.timeline-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 200%;
}

.timeline-slide {
    width: 50%;
    flex-shrink: 0;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}

/* Row 1 - Above timeline */
.milestone-above {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .milestone-above.reverse {
        flex-direction: column-reverse;
    }

/* Row 2 - Timeline line */
.timeline-line {
    grid-column: span 5;
    height: 4px;
    background: linear-gradient(90deg, #f9ae18 0%, #ed1d25 100%);
    position: relative;
    margin: 20px 0;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background-color: #f9ae18;
    border-radius: 50%;
    position: absolute;
    top: -6px;
    transition: all 0.3s ease;
}

    .timeline-dot:hover {
        transform: scale(1.3);
        background-color: #ed1d25;
    }

    .timeline-dot.dot-1 {
        left: 10%;
    }

    .timeline-dot.dot-2 {
        left: 30%;
    }

    .timeline-dot.dot-3 {
        left: 50%;
    }

    .timeline-dot.dot-4 {
        left: 70%;
    }

    .timeline-dot.dot-5 {
        left: 90%;
    }

/* Row 3 - Below timeline */
.milestone-below {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

    .milestone-below.reverse {
        flex-direction: column-reverse;
    }

.milestone-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid #cfcfcf;
    margin: 10px 0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .milestone-image:hover {
        border-color: #f9ae18;
        transform: scale(1.05);
    }

.connector {
    width: 2px;
    height: 20px;
    background-color: #ddd;
}

.milestone-content {
    text-align: center;
    max-width: 180px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .milestone-content:hover {
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-5px);
    }

.milestone-year {
    font-size: 18px;
    font-weight: bold;
    color: #ff6b35;
    margin: 10px 0 5px 0;
}

.milestone-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 5px 0;
}

.milestone-description {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin: 5px 0;
    text-align: justify;
}

/* Responsive design */
/* Responsive design */
/* Mobile Timeline Styles - Add these media queries to your existing CSS */

@media (max-width: 768px) {
    .section-history {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .timeline-container {
        padding: 20px;
    }

    /* Hide navigation for mobile */
    .timeline-navigation {
        display: none;
    }

    /* Reset timeline wrapper and slider */
    .timeline-wrapper {
        overflow: visible;
    }

    .timeline-slider {
        display: block;
        width: 100%;
        transform: none !important;
    }

    .timeline-slide {
        width: 100%;
        margin-bottom: 0;
    }

    /* Transform grid to vertical layout */
    .timeline-grid {
        display: flex;
        flex-direction: column;
        position: relative;
        padding-left: 30px;
        padding-right: 10px;
    }

    /* Vertical timeline line */
    .timeline-line {
        position: absolute;
        left: 15px;
        top: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, #f9ae18 0%, #ed1d25 100%);
        margin: 0;
        grid-column: unset;
        order: -1;
    }

    /* Hide timeline dots for mobile */
    .timeline-dot {
        display: none;
    }

    /* Hide all images and connectors */
    .milestone-image,
    .connector {
        display: none;
    }

    /* Transform milestone containers - REMOVED MARGIN BOTTOM */
    .milestone-above,
    .milestone-below {
        display: flex;
        margin-bottom: 0;
        /* Changed from 30px to 0 */
        position: relative;
        padding-left: 25px;
        order: 0;
    }

        /* Add connectors to link milestones to timeline line */
        .milestone-above::before,
        .milestone-below::before {
            content: '';
            position: absolute;
            left: -25px;
            top: 20px;
            width: 20px;
            height: 2px;
            background-color: #f9ae18;
            z-index: 5;
        }

    /* Style milestone content for mobile */
    .milestone-content {
        background: rgba(255, 255, 255, 0.95);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        border-left: 4px solid #f9ae18;
        max-width: none;
        width: 100%;
        margin: 0;
    }

        .milestone-content:hover {
            transform: none;
        }

    .milestone-year {
        font-size: 18px;
        font-weight: bold;
        color: #ff6b35;
        margin: 0 0 8px 0;
    }

    .milestone-title {
        font-size: 16px;
        font-weight: bold;
        color: #333;
        margin: 0 0 8px 0;
        line-height: 1.3;
    }

    .milestone-description {
        font-size: 14px;
        color: #666;
        line-height: 1.5;
        text-align: left;
        margin: 0;
    }

    /* Ensure proper ordering of milestones */
    .milestone-above:nth-child(1) {
        order: 1;
    }

    .milestone-above:nth-child(2) {
        order: 2;
    }

    .milestone-above:nth-child(3) {
        order: 3;
    }

    .milestone-above:nth-child(4) {
        order: 4;
    }

    .milestone-above:nth-child(5) {
        order: 5;
    }

    .milestone-below:nth-child(7) {
        order: 6;
    }

    .milestone-below:nth-child(8) {
        order: 7;
    }

    .milestone-below:nth-child(9) {
        order: 8;
    }

    .milestone-below:nth-child(10) {
        order: 9;
    }

    .milestone-below:nth-child(11) {
        order: 10;
    }
}

@media (max-width: 480px) {
    .section-history {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .timeline-container {
        padding: 15px;
    }

    .timeline-grid {
        padding-left: 25px;
    }

    .milestone-above,
    .milestone-below {
        margin-bottom: 0;
        /* Changed from 25px to 0 */
        padding-left: 20px;
    }

        /* Add connectors for smaller screens */
        .milestone-above::before,
        .milestone-below::before {
            left: -20px;
            top: 18px;
            width: 15px;
            height: 2px;
        }

    .milestone-content {
        padding: 15px;
    }

    .milestone-year {
        font-size: 16px;
    }

    .milestone-title {
        font-size: 15px;
    }

    .milestone-description {
        font-size: 13px;
    }
}

/*******************************************************************************
 * TEAM SECTION STYLES
 ******************************************************************************/
.team-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    margin-bottom: 90px;
}

.team-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 200%;
}

.team-slide {
    display: flex;
    margin-right: 20px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .mobile-container {
        padding: 0 15px;
    }

    .mobile-section-title {
        font-size: 2rem;
    }

    .mobile-timeline-container {
        padding: 20px 15px;
    }

    .mobile-milestone-item {
        padding-left: 70px;
    }

    .mobile-milestone-dot {
        left: -43px;
        width: 16px;
        height: 16px;
    }

    .mobile-milestone-image {
        width: 50px;
        height: 50px;
        left: -70px;
    }

    .mobile-vertical-timeline::before {
        left: 25px;
    }

    .mobile-milestone-content {
        padding: 20px;
    }

    .mobile-milestone-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 360px) {
    .mobile-milestone-item {
        padding-left: 60px;
    }

    .mobile-milestone-image {
        width: 45px;
        height: 45px;
        left: -62px;
    }

    .mobile-milestone-dot {
        left: -38px;
    }

    .mobile-vertical-timeline::before {
        left: 22px;
    }
}

.team-member {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(90, 90, 90, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    max-width: 400px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 30px;
}

    .team-member::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        transition: left 0.6s ease;
    }

    .team-member:hover::before {
        left: 100%;
    }

    .team-member:hover {
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }

.member-avatar {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .member-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 100%;
    }


.member-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #5a5a5a;
}

.member-role {
    font-size: 1rem;
    color: #7e7e7e;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.member-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #181818;
    opacity: 0.9;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    background: rgba(0, 0, 0, 0.2);
    color: rgb(138, 22, 6);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .nav-arrow:hover {
        background: #f95818;
    }

    .nav-arrow.prev {
        left: 0px;
        background: #f9ae18;
    }

    .nav-arrow.next {
        right: 0px;
        background: #f9ae18;
    }

    .nav-arrow:active {
        background: #f95818;
        ;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .team-section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .team-slide {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 60%;
    }

    .team-member {
        max-width: 280px;
        padding: 25px 15px;
        min-height: 320px;
    }

    .member-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .member-name {
        font-size: 1.3rem;
    }

    .nav-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

        .nav-arrow.prev {
            left: 10px;
        }

        .nav-arrow.next {
            right: 10px;
        }
}

@media (max-width: 480px) {
    .team-container {
        padding: 30px 15px;
        margin: 0 10px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .team-member {
        max-width: 250px;
        min-height: 300px;
    }

    .member-bio {
        font-size: 0.9rem;
    }
}

/* Slide Animation Classes */
.team-slider.slide-left {
    transform: translateX(-50%);
}

.team-slider.slide-right {
    transform: translateX(0%);
}

/*******************************************************************************
 * PORTFOLIO SECTION STYLES
 ******************************************************************************/
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(70, 70, 70, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    .project-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        transition: all 0.6s ease;
    }

    .project-card:hover::before {
        left: 100%;
    }

    .project-card:hover {
        transform: translateY(-10px);
        border-color: #6b6b6b;
    }

.project-header {
    margin-bottom: 20px;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.client-section {
    display: flex;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
    justify-content: center;
}

.client-logo {
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #ffffff;
    font-size: 24px;
    flex-shrink: 0;
    overflow: hidden;
}

.client-logo img {
    width: 200px;
    object-fit: cover;
    border-radius: 20px;
}

.client-name {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.project-description {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: justify;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    color: #f9ae18;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 2px solid #f9ae18;
    border-radius: 25px;
    background: transparent;
    cursor: pointer;
}

    .view-more-btn:hover {
        background: #f9ae18;
        color: white;
        transform: translateX(5px);
    }

    .view-more-btn::after {
        content: '→';
        margin-left: 8px;
        transition: all 0.3s ease;
    }

    .view-more-btn:hover::after {
        margin-left: 15px;
    }

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.modal-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    transition: all 0.3s ease;
}

    .modal-close:hover {
        background: #e0e0e0;
        color: #333;
    }

.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.modal-client-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(45deg, #f9ae18, #ed1d25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    font-weight: bold;
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(249, 174, 24, 0.3);
}

.modal-project-info h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 8px;
}

.modal-client-name {
    color: #666;
    font-size: 1.2rem;
    font-weight: 500;
}

.modal-description {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.1rem;
    text-align: justify;
}

.modal-section {
    margin-bottom: 25px;
}

    .modal-section h3 {
        color: #333;
        margin-bottom: 15px;
        font-size: 1.3rem;
        display: flex;
        align-items: center;
    }

        .modal-section h3::before {
            content: '';
            width: 4px;
            height: 20px;
            background: linear-gradient(45deg, #f9ae18, #ed1d25);
            margin-right: 12px;
            border-radius: 2px;
        }

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.tech-tag {
    background: #000;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.features-list {
    list-style: none;
    padding: 0;
}

    .features-list li {
        padding: 8px 0;
        color: #555;
        position: relative;
        padding-left: 25px;
    }

        .features-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #f9ae18;
            font-weight: bold;
            font-size: 1.2rem;
        }

/* Animation classes */
.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*******************************************************************************
 * TESTIMONIAL SECTION STYLES
 ******************************************************************************/
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 400px;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
}

    .testimonial-card::before {
        content: '"';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        font-size: 4rem;
        color: #f9ae18;
        font-family: Georgia, serif;
        opacity: 0.3;
        margin-bottom: 20px;
    }

.testimonial-text {
    color: #000000;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
    max-width: 600px;
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.author-name {
    color: #f9ae18;
    font-size: 1.1rem;
    font-weight: 600;
}

.author-position {
    color: #7e7e7e;
    font-size: 0.9rem;
    opacity: 0.8;
}

.author-company {
    color: #050505;
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    margin-bottom: 90px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(146, 146, 146, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .indicator.active {
        background: #f9ae18;
        transform: scale(1.2);
    }

    .indicator::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: left 0.6s ease;
    }

    .indicator.active::after {
        left: 100%;
    }

/*******************************************************************************
 * CONTACT SECTION STYLES
 ******************************************************************************/
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    margin-right: clamp(20px, 5vw, 90px);
    margin-left: clamp(20px, 5vw, 90px);
}

.contact-container {
    padding: 0 20px;
    position: relative;
    z-index: 2;
    margin-left: clamp(20px, 5vw, 90px);
    margin-right: clamp(20px, 5vw, 90px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* First Row - Two Columns */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Left Column - Get in Touch */
.contact-info {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

    .contact-info::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, #f9ae18 0%, #ed1d25 100%);
    }

    .contact-info h2 {
        text-align: center;
        color: #000000;
        font-size: 2.2rem;
        margin-bottom: 40px;
        position: relative;
    }

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    padding: 20px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

    .contact-method:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        border-color: #f9ae18;
    }

    .contact-method h3 {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #000000;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .contact-method .icon {
        width: 22px;
        height: 22px;
        fill: #f9ae18;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .contact-method:hover .icon {
        fill: #ed1d25;
        transform: scale(1.1);
    }

    .contact-method p {
        color: #666;
        font-size: 0.95rem;
        line-height: 1.5;
        margin-left: 34px;
    }

    .contact-method a {
        color: #666;
        text-decoration: none;
        transition: color 0.3s ease;
    }

/* Right Column - Contact Form */
.form-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

    .form-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, #f9ae18 0%, #ed1d25 100%);
    }

    .form-container h2 {
        color: #333;
        margin-bottom: 30px;
        font-size: 2rem;
        text-align: center;
    }

.form-group {
    margin-bottom: 25px;
    position: relative;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #555;
        font-weight: 600;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 15px;
        border: 2px solid #e1e5e9;
        border-radius: 10px;
        font-size: 16px;
        transition: all 0.3s ease;
        background: #f8f9fa;
        box-sizing: border-box;
        margin-bottom: 60px;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #f9ae18;
            background: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
        }

    .form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
    animation: fadeIn 0.3s ease;
}

    .error-message.show {
        display: block;
    }

.form-group.error input,
.form-group.error textarea {
    border-color: #e74c3c;
    background: #fdf2f2;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-primary {
    background: #f9ae18;
    color: white;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    }

.btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e1e5e9;
}

    .btn-secondary:hover {
        background: #e9ecef;
        transform: translateY(-2px);
    }

/* Success Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

    .modal-content h3 {
        color: #000000;
        margin-bottom: 15px;
        font-size: 1.5rem;
    }

    .modal-content p {
        color: #666;
        margin-bottom: 25px;
    }

.modal-btn {
    background: #f9ae18;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* Second Row - Social Media Section (Full Width) */
.social-media-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .social-media-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, #f9ae18 0%, #ed1d25 100%);
    }

    .social-media-section h3 {
        color: #000000;
        font-size: 2.2rem;
        margin-bottom: 30px;
        position: relative;
    }

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

    .social-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 50%;
        background: linear-gradient(135deg, #f9ae18, #ed1d25);
        opacity: 0.1;
        transition: all 0.3s ease;
    }

    .social-link:hover::before {
        opacity: 1;
        transform: scale(1.1);
    }

    .social-link svg {
        width: 32px;
        height: 32px;
        fill: #333;
        transition: all 0.3s ease;
        position: relative;
        z-index: 2;
    }

    .social-link:hover svg {
        fill: #ffffff;
        transform: scale(1.2);
    }

    .social-link:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    /*******************************************************************************
 * SOCIAL MEDIA STYLES
 ******************************************************************************/
    /* Individual social media colors on hover */
    .social-link.facebook:hover::before {
        background: #1877f2;
        opacity: 1;
    }

    .social-link.twitter:hover::before {
        background: #1da1f2;
        opacity: 1;
    }

    .social-link.instagram:hover::before {
        background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
        opacity: 1;
    }

    .social-link.linkedin:hover::before {
        background: #0077b5;
        opacity: 1;
    }

    .social-link.youtube:hover::before {
        background: #ff0000;
        opacity: 1;
    }

    .social-link.whatsapp:hover::before {
        background: #25d366;
        opacity: 1;
    }

.social-description {
    color: #666;
    font-size: 1.1rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        padding: 40px 0;
        margin-right: 10px;
        margin-left: 10px;
    }

    .contact-container {
        margin-left: 0;
        margin-right: 0;
        padding: 0 15px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .contact-info,
    .form-container,
    .social-media-section {
        padding: 25px 20px;
    }

        .contact-info h2,
        .form-container h2,
        .social-media-section h3 {
            font-size: 1.6rem;
            margin-bottom: 25px;
        }

    .contact-method {
        padding: 15px;
    }

        .contact-method h3 {
            font-size: 1.1rem;
            flex-wrap: wrap;
        }

        .contact-method p {
            margin-left: 0;
            margin-top: 8px;
            font-size: 0.9rem;
        }

    .button-group {
        flex-direction: row;
        gap: 8px;
        justify-content: space-between;
    }

    .btn {
        flex: 1;
        padding: 12px 10px;
        font-size: 14px;
        min-width: 0;
        white-space: nowrap;
    }

    .social-links {
        gap: 8px;
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 5px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

        .social-links::-webkit-scrollbar {
            display: none;
        }

    .social-link {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
        min-width: 45px;
    }

        .social-link svg {
            width: 22px;
            height: 22px;
        }

    .social-description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 30px 0;
        margin: 0 5px;
    }

    .contact-container {
        padding: 0 10px;
    }

    .contact-info,
    .form-container,
    .social-media-section {
        padding: 20px 15px;
        border-radius: 15px;
    }

        .contact-info h2,
        .form-container h2,
        .social-media-section h3 {
            font-size: 1.4rem;
        }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 15px;
    }

    .social-link {
        width: 50px;
        height: 50px;
    }

        .social-link svg {
            width: 22px;
            height: 22px;
        }

    .social-links {
        gap: 12px;
    }
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    background-color: #000;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #f9ae18, #ed1d25);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.copyright {
    color: #888;
    font-size: 0.9rem;
}

    .copyright span {
        color: #f9ae18;
        font-weight: 600;
    }

/*******************************************************************************
 * MOBILE PROJECT MODAL IMAGE HIDING - MAXIMUM SPECIFICITY
 ******************************************************************************/
/* Final override to ensure project images are hidden on mobile devices */
@media screen and (max-width: 768px) {
    .modal-overlay.active .modal-container .project-image-gallery,
    .modal-overlay .modal-container .project-image-gallery,
    body .modal-overlay .modal-container .project-image-gallery {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    .modal-overlay.active .modal-container .main-image-container,
    .modal-overlay.active .modal-container .main-project-image,
    .modal-overlay.active .modal-container .thumbnail-container,
    .modal-overlay.active .modal-container .thumbnail-image,
    .modal-overlay .modal-container .main-image-container,
    .modal-overlay .modal-container .main-project-image,
    .modal-overlay .modal-container .thumbnail-container,
    .modal-overlay .modal-container .thumbnail-image,
    body .modal-overlay .modal-container .main-image-container,
    body .modal-overlay .modal-container .main-project-image,
    body .modal-overlay .modal-container .thumbnail-container,
    body .modal-overlay .modal-container .thumbnail-image {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
    }
    
    /* Hide the entire modal section that contains project screenshots */
    .modal-overlay.active .modal-container .modal-section:has(.project-image-gallery),
    .modal-overlay .modal-container .modal-section:has(.project-image-gallery),
    body .modal-overlay .modal-container .modal-section:has(.project-image-gallery) {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

@media screen and (max-width: 480px) {
    .modal-overlay.active .modal-container .project-image-gallery,
    .modal-overlay .modal-container .project-image-gallery,
    body .modal-overlay .modal-container .project-image-gallery {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    .modal-overlay.active .modal-container .main-image-container,
    .modal-overlay.active .modal-container .main-project-image,
    .modal-overlay.active .modal-container .thumbnail-container,
    .modal-overlay.active .modal-container .thumbnail-image,
    .modal-overlay .modal-container .main-image-container,
    .modal-overlay .modal-container .main-project-image,
    .modal-overlay .modal-container .thumbnail-container,
    .modal-overlay .modal-container .thumbnail-image,
    body .modal-overlay .modal-container .main-image-container,
    body .modal-overlay .modal-container .main-project-image,
    body .modal-overlay .modal-container .thumbnail-container,
    body .modal-overlay .modal-container .thumbnail-image {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
    }
    
    /* Hide the entire modal section that contains project screenshots */
    .modal-overlay.active .modal-container .modal-section:has(.project-image-gallery),
    .modal-overlay .modal-container .modal-section:has(.project-image-gallery),
    body .modal-overlay .modal-container .modal-section:has(.project-image-gallery) {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

/*******************************************************************************
 * PROJECT IMAGE GALLERY STYLES - DESKTOP
 */
/* Desktop styles for project image gallery in modals */
@media screen and (min-width: 769px) {
    .project-screenshots-section {
        margin: 25px 0;
    }
    
    .project-image-gallery {
        margin: 20px 0;
    }

    .main-image-container {
        text-align: center;
        margin-bottom: 15px;
    }

    .main-project-image {
        max-width: 100%;
        height: auto;
        max-height: 400px;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        border: 3px solid #f9ae18;
        transition: transform 0.3s ease;
    }

    .main-project-image:hover {
        transform: scale(1.02);
    }

    .thumbnail-container {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 15px;
    }

    .thumbnail-image {
        width: 80px;
        height: 60px;
        object-fit: cover;
        border-radius: 5px;
        cursor: pointer;
        border: 2px solid transparent;
        transition: all 0.3s ease;
        opacity: 0.7;
    }

    .thumbnail-image:hover {
        opacity: 1;
        border-color: #f9ae18;
        transform: translateY(-2px);
    }

    .thumbnail-image.active {
        opacity: 1;
        border-color: #f9ae18;
        box-shadow: 0 2px 10px rgba(249, 174, 24, 0.4);
    }
}

/*******************************************************************************
 * BACK TO TOP BUTTON STYLES
 ******************************************************************************/
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #f9ae18, #ed1d25);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.back-to-top:active {
    transform: translateY(-1px) scale(1.05);
}

.back-to-top-icon {
    color: white;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top-icon {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top-icon {
        font-size: 16px;
    }
}