/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(7, 11, 18, 0.85);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.logo-text h2 {
    color: #fff;
    font-size: 1.5rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #00d4ff;
}

.btn-consultation {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
    display: inline-block;
}

.btn-consultation:hover {
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
    min-height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 70px;
    background-image: url('../images/oip.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* ===== UTILITY ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: #fff;
    color: #667eea;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: #fff;
    color: #667eea;
    transform: translateY(-2px);
}

/* ===== SERVICES ===== */
.services-section {
    padding: 80px 0;
    background: #1B202C;
}

.services-section .section-title,
.services-section .section-subtitle {
    color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: #1B202C;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    background: #2a3040;
}

.service-card h3 {
    color: #fff;
    margin-bottom: 15px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2rem;
    color: #fff;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 12px;
    color: #fff;
}

/* ===== EXPERIENCE ===== */
.experience-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.experience-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.experience-content p {
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-quotation {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #667eea;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-quotation:hover {
    transform: translateY(-2px);
}

/* ===== STATISTICS ===== */
.statistics-section {
    padding: 80px 0;
    background: #1B202C;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    margin-bottom: 60px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #00d4ff;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

.statistics-section .section-title,
.statistics-section .section-subtitle {
    color: #fff;
}

/* ===== SOLUTIONS ===== */
.solutions-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.solutions-section .section-title,
.solutions-section .section-subtitle {
    color: #fff;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.solution-card {
    background: #1B202C;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.solution-card:hover {
    transform: translateY(-10px);
    background: #2a3040;
}

.solution-icon {
    font-size: 2.5rem;
    color: #00d4ff;
    margin-bottom: 20px;
}

.solution-card h3 {
    color: #fff;
    margin-bottom: 15px;
}

.solution-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.btn-solution {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.btn-solution:hover {
    gap: 10px;
    color: #fff;
}

/* ===== WHY CHOOSE US ===== */
.why-choose-us {
    padding: 80px 0;
    background: #1B202C;
}

.why-choose-us .section-title,
.why-choose-us .section-subtitle {
    color: #fff;
}

.choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.choose-image img {
    width: 100%;
    border-radius: 15px;
}

.choose-features ul {
    list-style: none;
}

.choose-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.choose-features li i {
    color: #00d4ff;
    font-size: 1.2rem;
}

/* ===== TRUSTED ===== */
.trusted-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.trusted-section .section-title {
    color: #fff;
    margin-bottom: 40px;
}

.trusted-slider {
    margin-top: 20px;
    padding: 20px 0;
}

.trusted-slider .swiper-slide {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trusted-slider img {
    max-width: 140px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    filter: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.trusted-slider img:hover {
    opacity: 1;
    transform: scale(1.08);
}

.trusted-slider .swiper-button-prev,
.trusted-slider .swiper-button-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
}

.trusted-slider .swiper-button-prev:hover,
.trusted-slider .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

.trusted-slider .swiper-button-prev:after,
.trusted-slider .swiper-button-next:after {
    font-size: 18px;
    font-weight: bold;
}

.trusted-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.trusted-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: 80px 0;
    background: #1B202C;
}

.testimonials-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.testimonials-header h2 {
    font-size: 2rem;
    color: #fff;
}

.divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
}

.testimonials-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    margin: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-meta img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-meta h4 {
    margin-bottom: 5px;
    color: #fff;
}

.testimonial-meta p {
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-content h5 {
    margin-bottom: 10px;
    color: #fff;
}

.testimonial-content p {
    color: rgba(255, 255, 255, 0.8);
}

.rating {
    margin: 15px 0;
    color: #ffc107;
}

.testimonial-date {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== CONTACT ===== */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info .info-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.contact-info .info-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.contact-info>p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #00d4ff;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.contact-form {
    background: #1B202C;
    padding: 40px;
    border-radius: 20px;
}

.contact-form .form-group label {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: #fff;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.12);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* ===== TOOLS LINK ===== */
.tools-link {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.tools-link i {
    font-size: 1.1rem;
    color: #00d4ff;
    animation: toolsPulse 2s ease-in-out infinite;
}

@keyframes toolsPulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

.tools-link:hover {
    color: #00d4ff !important;
}

.tools-link:hover i {
    animation: none;
    transform: rotate(15deg) scale(1.2);
}

/* ===== FLASH MESSAGES ===== */
.flash-message {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease;
    max-width: 400px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.flash-message.success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
}

.flash-message.error {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
}

.flash-close {
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: auto;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.whatsapp-button img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s;
}

.whatsapp-button img:hover {
    transform: scale(1.1);
}

/* ============================================================
   FOOTER — Consolidated & Clean
   ============================================================ */
.footer {
    background: rgba(7, 11, 18, 0.85);
    padding: 60px 0 20px;
    color: #ffffff;
    position: relative;
    z-index: 1000;
    clear: both;
}

/* Footer Grid – 3 columns on desktop */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* ===== Footer: Contact ===== */
.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    transition: color 0.3s;
}

.footer-contact p:hover {
    color: #00d4ff;
}

.footer-contact i {
    width: 25px;
    color: #00d4ff;
}

/* ===== Footer: Links (horizontal) ===== */
.footer-links ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0;
}

.footer-links ul li a {
    white-space: nowrap;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0;
}

.footer-links ul li a:hover {
    color: #00d4ff;
}

/* ===== Footer: Headings ===== */
.footer-links h4,
.footer-info h4,
.footer-social h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-links h4:after,
.footer-info h4:after,
.footer-social h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
}

/* ===== Footer: Social ===== */
.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icons a i {
    color: #ffffff;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: #00d4ff;
    transform: translateY(-3px);
}

.social-icons a:hover i {
    color: #1B202C;
}

/* ===== Footer: Logo ===== */
.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

/* ===== Footer: Bottom Bar ===== */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-bottom p {
    color: #ffffff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablets & small desktops */
@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Navigation */
    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #1B202C;
        padding: 20px;
        z-index: 999;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav ul li {
        text-align: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Hero */
    .hero {
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    /* Grids → single column */
    .services-grid,
    .solutions-grid,
    .stats-grid,
    .contact-grid,
    .choose-grid,
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Trusted slider arrows hide on mobile */
    .trusted-slider .swiper-button-prev,
    .trusted-slider .swiper-button-next {
        display: none;
    }

    .trusted-slider img {
        max-width: 100px;
        max-height: 50px;
    }

    /* Footer: 3 columns → 1 column on mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    /* Footer links: horizontal → vertical on mobile */
    .footer-links ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .footer-links ul li a {
        white-space: normal;
    }

    /* Footer heading underline centered on mobile */
    .footer-links h4:after,
    .footer-info h4:after,
    .footer-social h4:after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Contact form labels already white */
}

/* Tablet: keep footer links horizontal but allow wrap */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links ul {
        gap: 12px;
    }
}

/* Desktop: nav visible, toggle hidden */
@media (min-width: 769px) {
    .main-nav ul {
        display: flex;
        gap: 25px;
    }

    .mobile-menu-toggle {
        display: none;
    }
}