/* ============================================
   Global Styles & Variables
   ============================================ */
:root {
    --primary-color: #223c4b;
    --secondary-color: #4f7d7b;
    --accent-color: #6fa8a6;
    --dark-color: #1a2930;
    --light-color: #f4f7f9;
    --text-color: #2d2d2d;
    --text-light: #6b7280;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #223c4b 0%, #4f7d7b 100%);
    --gradient-secondary: linear-gradient(135deg, #4f7d7b 0%, #6fa8a6 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(34, 60, 75, 0.9) 0%, rgba(79, 125, 123, 0.9) 100%);
    --gradient-footer: linear-gradient(135deg, #1a2930 0%, #223c4b 50%, #2d4a59 100%);
    --shadow-sm: 0 2px 15px rgba(34, 60, 75, 0.1);
    --shadow-md: 0 4px 25px rgba(34, 60, 75, 0.15);
    --shadow-lg: 0 8px 40px rgba(34, 60, 75, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background: #f0f4f7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 14px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 125, 123, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(34, 60, 75, 0.08);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(34, 60, 75, 0.12);
    background: rgba(255, 255, 255, 0.98);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo h1:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(79, 125, 123, 0.3));
}

.logo img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(79, 125, 123, 0.4));
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    position: relative;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(60, 70, 80, 0.65) 0%, rgba(80, 90, 100, 0.65) 100%), 
                url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1920&h=1080&fit=crop&q=90') center/cover;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-pattern.png');
    opacity: 0.1;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-50px) translateY(-50px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 60, 75, 0.15) 0%, rgba(79, 125, 123, 0.15) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 100px 20px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome-box {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 70px 90px;
    border-radius: 25px;
    box-shadow: 0 25px 90px rgba(0, 0, 0, 0.25), 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 950px;
    animation: welcomeBoxSlideUp 1.2s ease-out;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.welcome-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.7s ease;
}

.welcome-box:hover::before {
    left: 100%;
}

.welcome-box:hover {
    transform: translateY(-12px) scale(1.015);
    box-shadow: 0 35px 110px rgba(0, 0, 0, 0.3), 0 15px 50px rgba(34, 60, 75, 0.25);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.7);
}

@keyframes welcomeBoxSlideUp {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
        filter: blur(5px);
    }
    60% {
        opacity: 0.8;
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.welcome {
    display: block;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 5px;
    animation: fadeInDown 1.4s ease;
    letter-spacing: 0.5px;
    color: var(--primary-color);
}

.company-name {
    display: block;
    font-size: 68px;
    font-weight: 800;
    margin-bottom: 25px;
    animation: fadeInUp 1.6s ease;
    text-transform: none;
    letter-spacing: 2px;
    line-height: 1.1;
    background: linear-gradient(135deg, #223c4b 0%, #4f7d7b 50%, #6fa8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(34, 60, 75, 0.3));
}

.hero-subtitle {
    display: none;
}

.hero-description {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 1.8s ease;
    color: var(--text-color);
    font-weight: 400;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    animation: fadeInUp 2s ease;
}

.btn-explore {
    background: var(--gradient-primary);
    color: #ffffff;
    border: 2px solid transparent;
    font-weight: 700;
    padding: 16px 42px;
    font-size: 14px;
    box-shadow: 0 6px 20px rgba(34, 60, 75, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-explore::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-explore:hover::before {
    width: 300px;
    height: 300px;
}

.btn-explore:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79, 125, 123, 0.5);
}

.btn-contact {
    background: rgba(255, 255, 255, 0.15);
    color: var(--dark-color);
    border: 2px solid var(--secondary-color);
    font-weight: 700;
    padding: 16px 42px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.btn-contact::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, 
        var(--secondary-color) 0%, 
        var(--accent-color) 25%, 
        transparent 50%, 
        transparent 100%);
    background-size: 200% 100%;
    animation: rotateBorder 3s linear infinite;
    pointer-events: none;
    z-index: -1;
    border-radius: inherit;
}

@keyframes rotateBorder {
    0% {
        clip-path: polygon(0 0, 3px 0, 3px 100%, 0 100%);
    }
    25% {
        clip-path: polygon(0 0, 100% 0, 100% 3px, 0 3px);
    }
    50% {
        clip-path: polygon(calc(100% - 3px) 0, 100% 0, 100% 100%, calc(100% - 3px) 100%);
    }
    75% {
        clip-path: polygon(0 calc(100% - 3px), 100% calc(100% - 3px), 100% 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 0, 3px 0, 3px 100%, 0 100%);
    }
}

.btn-contact:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79, 125, 123, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--white);
    animation: bounce 2s infinite;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   Scroll Animations
   ============================================ */
.scroll-animate {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered animations for grid items */
.services-grid .service-card:nth-child(1),
.products-grid .product-card:nth-child(1),
.projects-grid .project-card:nth-child(1),
.expertise-grid .expertise-card:nth-child(1) {
    transition-delay: 0.1s;
}

.services-grid .service-card:nth-child(2),
.products-grid .product-card:nth-child(2),
.projects-grid .project-card:nth-child(2),
.expertise-grid .expertise-card:nth-child(2) {
    transition-delay: 0.2s;
}

.services-grid .service-card:nth-child(3),
.products-grid .product-card:nth-child(3),
.projects-grid .project-card:nth-child(3),
.expertise-grid .expertise-card:nth-child(3) {
    transition-delay: 0.3s;
}

.services-grid .service-card:nth-child(4),
.products-grid .product-card:nth-child(4),
.projects-grid .project-card:nth-child(4),
.expertise-grid .expertise-card:nth-child(4) {
    transition-delay: 0.4s;
}

.services-grid .service-card:nth-child(5),
.products-grid .product-card:nth-child(5),
.projects-grid .project-card:nth-child(5),
.expertise-grid .expertise-card:nth-child(5) {
    transition-delay: 0.5s;
}

.services-grid .service-card:nth-child(6),
.products-grid .product-card:nth-child(6),
.projects-grid .project-card:nth-child(6),
.expertise-grid .expertise-card:nth-child(6) {
    transition-delay: 0.6s;
}

/* ============================================
   Scroll Animations
   ============================================ */
.scroll-animate {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered animations for grid items */
.services-grid .service-card:nth-child(1),
.products-grid .product-card:nth-child(1),
.projects-grid .project-card:nth-child(1),
.expertise-grid .expertise-card:nth-child(1) {
    transition-delay: 0.1s;
}

.services-grid .service-card:nth-child(2),
.products-grid .product-card:nth-child(2),
.projects-grid .project-card:nth-child(2),
.expertise-grid .expertise-card:nth-child(2) {
    transition-delay: 0.2s;
}

.services-grid .service-card:nth-child(3),
.products-grid .product-card:nth-child(3),
.projects-grid .project-card:nth-child(3),
.expertise-grid .expertise-card:nth-child(3) {
    transition-delay: 0.3s;
}

.services-grid .service-card:nth-child(4),
.products-grid .product-card:nth-child(4),
.projects-grid .project-card:nth-child(4),
.expertise-grid .expertise-card:nth-child(4) {
    transition-delay: 0.4s;
}

.services-grid .service-card:nth-child(5),
.products-grid .product-card:nth-child(5),
.projects-grid .project-card:nth-child(5),
.expertise-grid .expertise-card:nth-child(5) {
    transition-delay: 0.5s;
}

.services-grid .service-card:nth-child(6),
.products-grid .product-card:nth-child(6),
.projects-grid .project-card:nth-child(6),
.expertise-grid .expertise-card:nth-child(6) {
    transition-delay: 0.6s;
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-transform: capitalize;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 0 auto 25px;
    border-radius: 0;
}

.section-description {
    font-size: 17px;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   What We Do Section
   ============================================ */
.what-we-do-section {
    background: #ffffff;
    padding: 90px 0;
    position: relative;
}

.what-we-do-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.what-we-do-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    text-transform: capitalize;
}

.what-we-do-description {
    font-size: 18px;
    line-height: 2;
    color: var(--text-color);
    margin-top: 30px;
    font-weight: 400;
    text-align: center;
}

/* ============================================
   Expertise Section
   ============================================ */
.expertise-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.expertise-card {
    background: white;
    padding: 40px 30px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 125, 123, 0.1), transparent);
    transition: left 0.5s ease;
}

.expertise-card:hover::before {
    left: 100%;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(79, 125, 123, 0.2);
    border-left-color: var(--primary-color);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.expertise-icon::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(90deg, 
        var(--accent-color) 0%, 
        var(--secondary-color) 50%, 
        transparent 75%, 
        transparent 100%);
    animation: rotateIconBorder 3s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes rotateIconBorder {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.expertise-card:hover .expertise-icon {
    transform: rotate(360deg) scale(1.1);
}

.expertise-icon i {
    font-size: 32px;
    color: white;
    position: relative;
    z-index: 1;
}

.expertise-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.expertise-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.expertise-card:hover .expertise-title::after {
    width: 100px;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.expertise-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 12px;
}

.expertise-list li:hover {
    padding-left: 30px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-card {
        padding: 30px 20px;
    }
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    background: linear-gradient(135deg, #f5f8fa 0%, #e8eef2 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: none;
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--gradient-primary);
    transition: var(--transition);
    opacity: 0.1;
}

.stat-item:hover::before {
    height: 100%;
}

.stat-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(79, 125, 123, 0.25);
    border-top-width: 6px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
}

/* ============================================
   Mission, Vision & Values Section
   ============================================ */
.mission-vision-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.mission-vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="2" height="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.mvv-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 35px;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(111, 168, 166, 0.2), transparent);
    transition: left 0.6s ease;
}

.mvv-card:hover::before {
    left: 100%;
}

.mvv-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(79, 125, 123, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(79, 125, 123, 0);
    }
}

.mvv-icon::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(90deg, 
        var(--accent-color) 0%, 
        var(--secondary-color) 50%, 
        transparent 75%, 
        transparent 100%);
    animation: rotateIconBorder 3s linear infinite;
    z-index: -1;
}

.mvv-icon i {
    font-size: 40px;
    color: white;
}

.mvv-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mvv-description {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
    text-align: center;
}

.mvv-values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mvv-values-list li {
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.8;
    position: relative;
    padding-left: 25px;
}

.mvv-values-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 14px;
}

.mvv-values-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.service-card {
    background: #fafcfd;
    padding: 50px 35px;
    border-radius: 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: none;
    border-left: 5px solid var(--primary-color);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
    animation: borderGrow 2s ease-in-out infinite;
}

@keyframes borderGrow {
    0%, 100% {
        height: 0;
        opacity: 0.5;
    }
    50% {
        height: 100%;
        opacity: 1;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--gradient-primary);
    transition: var(--transition);
    opacity: 0.1;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 50px rgba(79, 125, 123, 0.3);
    border-left-width: 8px;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 0 25px 0;
    background: transparent;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1);
    border-color: transparent;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-card .btn {
    margin-top: 15px;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.service-card .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    pointer-events: auto;
}

.service-card .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--secondary-color), var(--accent-color), transparent, transparent) 1;
    animation: borderRotate 3s linear infinite;
    pointer-events: none;
}

@keyframes borderRotate {
    0% {
        clip-path: polygon(0 0, 0% 0, 0% 100%, 0 100%);
    }
    25% {
        clip-path: polygon(0 0, 100% 0, 100% 0%, 0 0);
    }
    50% {
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    }
    75% {
        clip-path: polygon(100% 100%, 0% 100%, 0% 100%, 100% 100%);
    }
    100% {
        clip-path: polygon(0 100%, 0 100%, 0 0, 0 100%);
    }
}

.service-card .btn-secondary::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, 
        var(--secondary-color) 0%, 
        var(--accent-color) 25%, 
        transparent 50%, 
        transparent 100%);
    background-size: 200% 100%;
    animation: rotateBorder 3s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes rotateBorder {
    0% {
        clip-path: polygon(0 0, 3px 0, 3px 100%, 0 100%);
    }
    25% {
        clip-path: polygon(0 0, 100% 0, 100% 3px, 0 3px);
    }
    50% {
        clip-path: polygon(calc(100% - 3px) 0, 100% 0, 100% 100%, calc(100% - 3px) 100%);
    }
    75% {
        clip-path: polygon(0 calc(100% - 3px), 100% calc(100% - 3px), 100% 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 0, 3px 0, 3px 100%, 0 100%);
    }
}

@keyframes borderSlide {
    0%, 100% {
        width: 0;
        left: 0;
        opacity: 0.5;
    }
    50% {
        width: 100%;
        left: 0;
        opacity: 1;
    }
}

.service-card .btn-secondary:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 125, 123, 0.3);
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 15px;
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* ============================================
   Products Section
   ============================================ */
.products-section {
    background: #e8eef2;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.product-card {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: none;
    border-bottom: 4px solid var(--primary-color);
    position: relative;
}

.product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    animation: bottomBorderGrow 2s ease-in-out infinite;
}

@keyframes bottomBorderGrow {
    0%, 100% {
        width: 0;
        opacity: 0.5;
    }
    50% {
        width: 100%;
        opacity: 1;
    }
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(79, 125, 123, 0.25);
    border-bottom-width: 6px;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--light-color);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 30px 25px;
    background: linear-gradient(to bottom, #f8fafb 0%, #ffffff 100%);
}

.product-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.project-details {
    margin-top: 10px;
}

.project-details p {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.6;
}

.project-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   Projects Section
   ============================================ */
.projects-section {
    background: #ffffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: none;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}

.project-image {
    position: relative;
    height: 350px;
    background: var(--light-color);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
    padding: 30px;
    text-align: center;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-image img {
    transform: scale(1.15);
}

.project-overlay h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-overlay p {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ============================================
   Clients Section
   ============================================ */
.clients-section {
    background: linear-gradient(135deg, #f8fafb 0%, #e8eef2 100%);
    position: relative;
    overflow: hidden;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 125, 123, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.clients-grid {
    display: flex;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1;
    animation: slideClients 20s linear infinite;
    width: max-content;
}

.clients-grid:hover {
    animation-play-state: paused;
}

@keyframes slideClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.clients-section .container {
    overflow: hidden;
    position: relative;
}

.client-logo {
    background: #ffffff;
    padding: 30px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 140px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.client-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(111, 168, 166, 0.2), transparent);
    transition: left 0.6s ease;
}

.client-logo:hover::before {
    left: 100%;
}

.client-logo::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--secondary-color) 0%, 
        var(--accent-color) 50%, 
        var(--secondary-color) 100%);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.client-logo:hover::after {
    opacity: 1;
}

.client-logo:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 15px 40px rgba(79, 125, 123, 0.25);
    border-color: var(--secondary-color);
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.client-placeholder {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
}

@media (max-width: 1200px) {
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .client-logo {
        height: 120px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Page Header (for Contact page)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: white;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb span {
    opacity: 0.7;
}

/* ============================================
   Contact Page Section
   ============================================ */
.contact-page-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transition: left 0.5s ease;
}

.info-card:hover::before {
    left: 0;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(79, 125, 123, 0.2);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
    position: relative;
}

.info-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    z-index: -1;
    animation: rotateIconBorder 3s linear infinite;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-card p {
    color: var(--text-color);
    line-height: 1.6;
}

.contact-main-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.contact-form-wrapper {
    background: white;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-light);
    font-size: 15px;
}

.contact-form-modern .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-modern .form-group {
    margin-bottom: 25px;
}

.contact-form-modern label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-form-modern label i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.contact-form-modern input,
.contact-form-modern textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e8eef2;
    background: #f8f9fa;
    font-size: 15px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.contact-form-modern input:focus,
.contact-form-modern textarea:focus {
    border-color: var(--secondary-color);
    background: white;
    outline: none;
    box-shadow: 0 5px 15px rgba(79, 125, 123, 0.1);
}

.btn-large {
    padding: 18px 50px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.btn-large i {
    transition: transform 0.3s ease;
}

.btn-large:hover i {
    transform: translateX(5px);
}

.map-wrapper {
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.map-header {
    padding: 25px 30px;
    background: var(--gradient-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.map-header h3 {
    color: white;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.map-link {
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.map-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

.map-container {
    position: relative;
}

.social-connect {
    background: white;
    padding: 50px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.social-connect h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.social-connect p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.social-links-modern {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: #f8f9fa;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link i {
    font-size: 20px;
    position: relative;
    z-index: 1;
}

.social-link span {
    position: relative;
    z-index: 1;
}

.social-link:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(79, 125, 123, 0.2);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover,
.social-link:hover i,
.social-link:hover span {
    color: white;
}

@media (max-width: 992px) {
    .contact-info-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-main-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form-modern .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Contact Section
   ============================================ */

/* ============================================
   Services Page Section
   ============================================ */
.services-page-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-page-section .services-grid {
    margin-top: 50px;
}

.services-page-section .service-card {
    background: white;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.services-page-section .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(79, 125, 123, 0.2);
}

/* ============================================
   BIM Services Section
   ============================================ */
.bim-services-section {
    padding: 80px 0;
    background: white;
}

.bim-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.bim-category {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.bim-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(79, 125, 123, 0.2);
    border-left-color: var(--accent-color);
}

.category-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-title i {
    color: var(--secondary-color);
    font-size: 28px;
}

.bim-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bim-list li {
    padding: 12px 0;
    color: var(--text-color);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(34, 60, 75, 0.1);
    transition: all 0.3s ease;
}

.bim-list li:last-child {
    border-bottom: none;
}

.bim-list li i {
    color: var(--accent-color);
    font-size: 14px;
    flex-shrink: 0;
}

.bim-list li:hover {
    padding-left: 10px;
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .bim-categories {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================================
   Oil And Gas Section
   ============================================ */
.oil-gas-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.oil-gas-section .services-grid {
    margin-top: 50px;
}

.oil-gas-section .service-card {
    background: white;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.oil-gas-section .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(79, 125, 123, 0.2);
}

/* ============================================
   Projects Page Section
   ============================================ */
.projects-page-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.projects-page-section .products-grid {
    margin-top: 50px;
}

.projects-page-section .product-card {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.projects-page-section .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(79, 125, 123, 0.2);
}

/* ============================================
   QR Code Section
   ============================================ */
.qr-code-section {
    padding: 80px 0;
    background: white;
}

.qr-code-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.qr-code-text {
    flex: 1;
}

.qr-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.qr-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
}

.qr-code-box {
    flex: 0 0 auto;
    text-align: center;
}

.qr-code-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.qr-code-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(79, 125, 123, 0.3);
}

.qr-code-wrapper::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-primary);
    border-radius: 20px;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

.qr-code-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.qr-code-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 60, 75, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.qr-code-overlay i {
    font-size: 80px;
    color: white;
}

.qr-code-wrapper:hover .qr-code-overlay {
    opacity: 1;
}

.qr-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

.qr-download-btn i {
    font-size: 18px;
}

@media (max-width: 992px) {
    .qr-code-content {
        flex-direction: column;
        text-align: center;
    }
    
    .qr-title {
        font-size: 32px;
    }
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    font-size: 28px;
    color: var(--secondary-color);
    width: 50px;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.info-item p {
    font-size: 15px;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(79, 125, 123, 0.4);
}

.contact-form {
    background: linear-gradient(135deg, #f8fafb 0%, #f0f5f8 100%);
    padding: 50px 40px;
    border-radius: 0;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    background: #ffffff;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(79, 125, 123, 0.15);
}

.form-group textarea {
    resize: vertical;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--gradient-footer);
    color: #e0e0e0;
    padding: 70px 0 25px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    animation: expandUnderline 2s ease-in-out infinite;
}

@keyframes expandUnderline {
    0%, 100% {
        width: 40px;
    }
    50% {
        width: 70px;
    }
}

.footer-col p {
    font-size: 14px;
    color: var(--light-color);
    line-height: 1.8;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li {
    font-size: 14px;
    color: var(--light-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-col ul li a {
    color: var(--light-color);
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.footer-col ul li i {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 25px;
    text-align: center;
    margin-top: 20px;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--light-color);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .welcome-box {
        padding: 50px 30px;
        border-radius: 20px;
    }
    
    .company-name {
        font-size: 42px;
    }
    
    .welcome {
        font-size: 24px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-explore,
    .btn-contact {
        width: 100%;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        box-shadow: var(--shadow-md);
        padding: 30px;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .welcome-box {
        padding: 40px 25px;
        border-radius: 15px;
    }
    
    .company-name {
        font-size: 32px;
        letter-spacing: 1px;
    }
    
    .welcome {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}
