/**
 * VisionDG Tech - Main Stylesheet
 * This file contains all the styling and animations for the website
 */

/* ===== Base Styles ===== */
:root {
    --primary-color: #0A3F50;
    --secondary-color: #6c757d;
    --accent-color: #F9A41A;
    --accent-secondary: #D73C0C;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333333;
    --body-bg: #ffffff;
    --header-height: 80px;
    --section-padding: 80px 0;
    --transition: all 0.3s ease;
    --border-radius: 6px;
    --box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color), #0F7EA7);
    --accent-gradient: linear-gradient(135deg, var(--accent-secondary), var(--accent-color));
    --highlight-color: #00c3ff;
    --glow-color: rgba(0, 195, 255, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--body-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: #0056b3;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(10, 63, 80, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #083342, #0c6b8c);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(10, 63, 80, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--accent-secondary);
    border: 2px solid var(--accent-secondary);
}

.btn-secondary:hover {
    background: var(--accent-secondary);
    color: white;
    transform: translateY(-3px);
}

.btn-light {
    background: white;
    color: var(--primary-color);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 20px 0;
    transition: var(--transition);
}

.header.sticky {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
    margin-right: 10px;
    display: block;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo-text span {
    color: var(--accent-secondary);
}

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

.navbar ul {
    display: flex;
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

.navbar a:hover,
.navbar a.active {
    color: var(--primary-color);
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* ===== Enhanced Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, #065873 50%, #0A3F50 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-pattern.svg');
    opacity: 0.05;
    animation: moveBg 30s linear infinite;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    color: white;
    position: relative;
    line-height: 1.2;
}

.typing-animation::after {
    content: '|';
    display: inline-block;
    animation: blink 0.7s infinite;
}

.hero-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    position: relative;
    z-index: 2;
    width: 45%;
}

.floating-image {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.wave-bg {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    background: url('../images/wave.svg');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 3;
}

.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: float-particle 15s ease-in-out infinite;
    box-shadow: 0 0 10px var(--glow-color);
}

/* ===== Enhanced Service Cards ===== */
.service-card {
    background: white;
    padding: 30px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(10, 63, 80, 0.03), rgba(10, 63, 80, 0.05));
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(10, 63, 80, 0.15);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    background: var(--gradient);
    border-radius: 50%;
    position: relative;
    transition: all 0.5s ease;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: 50%;
    transform: scale(0.5);
}

.service-card:hover .service-icon::before {
    opacity: 1;
    transform: scale(1);
}

.service-icon i {
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--accent-secondary);
}

.service-card p {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--accent-secondary);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ===== Enhanced Animations ===== */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes float-particle {
    0% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-30px) translateX(15px);
    }
    50% {
        transform: translateY(0) translateX(30px);
    }
    75% {
        transform: translateY(30px) translateX(15px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

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

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes moveBg {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%;
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 164, 26, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(249, 164, 26, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(249, 164, 26, 0);
    }
}

/* ===== Enhanced Sections ===== */
.bg-gradient-animated {
    background-size: 200% 200%;
    background-image: linear-gradient(-45deg, #f8f9fa 0%, #ffffff 25%, #f0f8ff 50%, #f8f9fa 75%, #ffffff 100%);
    animation: gradientMove 15s ease infinite;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-secondary), var(--primary-color));
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientMove 5s linear infinite;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 3px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(10, 63, 80, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    transition: all 0.5s ease;
    z-index: -1;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 63, 80, 0.4);
}

/* ===== Services Section ===== */
.services {
    padding: var(--section-padding);
    background-color: #f8f9fc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    top: -5px;
    left: -5px;
    animation: spin 10s linear infinite;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    gap: 10px;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient);
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 98, 204, 0.3);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-content .vision {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
}

.about-content .tagline {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 20px;
    font-style: italic;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    min-width: 100px;
}

.stat-item .counter {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-item p {
    margin: 0;
    color: var(--secondary-color);
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: #f8f9fa;
    padding: var(--section-padding);
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-item {
    display: none;
}

.testimonial-item.active {
    display: block;
    animation: fadeIn 1s;
}

.testimonial-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-content::after {
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(0, 98, 204, 0.1);
}

.testimonial-text {
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    z-index: 5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Style for placeholder testimonial images */
.author-image img[src$=".jpg"]:not([src*="data:"]),
.author-image img[src$=".png"]:not([src*="data:"]) {
    font-size: 0;
    position: relative;
}

.author-image img[src$=".jpg"]:not([src*="data:"])::before,
.author-image img[src$=".png"]:not([src*="data:"])::before {
    content: attr(alt);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #333;
    text-align: center;
    background-color: #f8f9fa;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.author-info p {
    margin: 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.prev-btn,
.next-btn {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
    color: var(--dark-color);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* ===== Recognitions & Certificates Section ===== */
.recognitions {
    padding: var(--section-padding);
    background-color: #ffffff;
}

.recognition-content {
    max-width: 1000px;
    margin: 0 auto;
}

.recognition-item {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: white;
    margin-bottom: 30px;
}

.recognition-image {
    flex: 0 0 200px;
}

.certificate-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.recognition-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.recognition-info p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Media queries for recognitions section */
@media screen and (max-width: 768px) {
    .recognition-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .recognition-image {
        flex: 0 0 auto;
        margin-bottom: 10px;
    }
}

/* ===== CTA Section ===== */
.cta {
    background: var(--accent-gradient);
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,0.05), rgba(255,255,255,0.05) 10px, transparent 10px, transparent 20px);
    animation: moveBg 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Add styles for CTA buttons */
.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-3px);
}

.btn-outline i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-outline:hover i {
    transform: translateX(5px);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-info {
    margin-bottom: 20px;
}

.footer-logo {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-logo a {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    margin-right: 10px;
    display: block;
    object-fit: contain;
}

.footer-logo span {
    color: var(--accent-color);
    margin-right: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

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

.footer h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

.footer-links ul li a {
    color: #a9a9a9;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}

.footer-contact ul li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
}

.footer-newsletter p {
    margin-bottom: 20px;
}

.newsletter-form {
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 12px;
    padding-right: 60px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--border-radius);
}

.newsletter-form input::placeholder {
    color: #a9a9a9;
}

.newsletter-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #0056b3;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Page Hero ===== */
.page-hero {
    background: var(--gradient);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.page-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* ===== Portfolio Page ===== */
.portfolio-section {
    padding: var(--section-padding);
}

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

.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    background: #f0f0f0;
    border: none;
    color: var(--dark-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    transition: var(--transition);
    animation: fadeIn 0.5s;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.portfolio-image img {
    width: 100%;
    transition: transform 0.5s;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 98, 204, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

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

.portfolio-info {
    text-align: center;
    color: white;
    padding: 20px;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-image:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.portfolio-info p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.portfolio-link:hover {
    background: var(--dark-color);
    color: white;
    transform: rotate(45deg);
}

.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-content {
    background: white;
    max-width: 900px;
    width: 100%;
    border-radius: var(--border-radius);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    z-index: 10;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.modal-image {
    padding: 30px;
}

.modal-details {
    padding: 30px 30px 30px 0;
}

.modal-details h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.modal-details .category {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.features {
    margin-top: 20px;
    margin-bottom: 30px;
}

.features li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.features li i {
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.project-meta {
    margin-bottom: 30px;
}

.meta-item {
    margin-bottom: 10px;
}

.meta-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-right: 5px;
}

/* ===== Contact Page ===== */
.contact-section {
    padding: var(--section-padding);
}

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

.info-card {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 98, 204, 0.1);
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
    transition: var(--transition);
}

.info-card:hover .info-icon {
    background: var(--primary-color);
    color: white;
}

.info-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.social-media {
    margin-top: 40px;
}

.social-media h3 {
    margin-bottom: 20px;
}

.social-media .social-icons a {
    background-color: rgba(0, 98, 204, 0.1);
    color: var(--primary-color);
}

.social-media .social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-form p {
    margin-bottom: 30px;
    color: var(--secondary-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.form-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: var(--border-radius);
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
}

.map-section {
    padding-bottom: 80px;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* ===== FAQ Section ===== */
.faq-section {
    padding-bottom: var(--section-padding);
    background-color: #f8f9fc;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    background: white;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.accordion-icon {
    transition: var(--transition);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 0 20px 20px;
}

.accordion-item.active .accordion-header {
    background-color: rgba(0, 98, 204, 0.05);
}

/* ===== Privacy Policy Page ===== */
.privacy-section {
    padding: var(--section-padding);
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-intro {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.privacy-item {
    margin-bottom: 40px;
}

.privacy-item h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.privacy-text ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.privacy-text ul li {
    margin-bottom: 10px;
}

.contact-info {
    font-weight: 500;
}

/* ===== Media Queries ===== */
@media screen and (max-width: 991px) {
    :root {
        --header-height: 70px;
        --section-padding: 70px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-image {
        padding: 30px 30px 0;
    }
    
    .modal-details {
        padding: 0 30px 30px;
    }
    
    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hamburger {
        display: block;
    }
    
    .navbar {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        background: white;
        width: 80%;
        height: calc(100vh - var(--header-height));
        padding: 20px;
        transition: 0.5s;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar.active {
        left: 0;
    }
    
    .navbar ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .navbar li {
        margin: 15px 0;
        width: 100%;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .logo-item {
        height: 100px;
    }
}

@media screen and (max-width: 576px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        justify-content: space-between;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .portfolio-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
    
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .logo-item {
        height: 80px;
    }
    
    .logo-item img {
        max-height: 60px;
    }
}

/* Client Logos Section */
.client-logos {
    margin: 40px 0;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.logo-item {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 100px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.logo-item img {
    max-width: 100%;
    max-height: 80px;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.7;
    object-fit: contain;
}

.logo-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Style for placeholder text logos */
.logo-item img[src$=".png"]:not([src*="data:"]),
.logo-item img[src$=".jpg"]:not([src*="data:"]) {
    font-family: Arial, sans-serif;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    padding: 10px;
}

/* Improved SVG display in hero */
.floating-image img {
    width: 100%;
    height: auto;
    max-width: 450px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25));
}

@media screen and (max-width: 768px) {
    .floating-image img {
        max-width: 100%;
    }
}

/* Section Subheader */
.section-subheader {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.section-subheader h3 {
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-subheader h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}
