/* ==========================================
   INDOXUS COMMUNICATIONS - EXACT DESIGN CSS
   Matching PDF Design Precisely
   ========================================== */

/* CSS Variables - Exact Colors from PDF */
:root {
    --navy-dark: #1A2332;
    --navy-blue: #283647;
    --teal-dark: #2C5F6F;
    --teal-medium: #3D7A8C;
    --light-blue: #A8C5D1;
    --medium-blue: #7B9DAC;
    --dark-blue: #3D5266;
    --purple-gray: #9BA5B7;
    --gray-blue: #C5D0E1;
    --white: #FFFFFF;
    --text-dark: #1A2332;
    --text-light: #FFFFFF;
    --text-gray: #666666;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================
   HEADER
   ========================================== */

.header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo-full {
    height: 50px;
    width: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nav {
    display: flex;
    gap: 50px;
    align-items: center;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--teal-dark);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.5) 0%, rgba(44, 62, 80, 0.5) 100%), url('../images/heroimage.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 100px 20px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(44, 95, 111, 0.1) 30%, rgba(44, 95, 111, 0.1) 70%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(44, 95, 111, 0.1) 30%, rgba(44, 95, 111, 0.1) 70%, transparent 70%);
    background-size: 100px 100px;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 50, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 40px;
    line-height: 1.7;
    opacity: 0.95;
}

.btn-hero {
    display: inline-block;
    background: #BAD5E5;
    color: var(--navy-dark);
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.btn-hero:hover {
    background: #A8C5D1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(186, 213, 229, 0.4);
}

/* ==========================================
   QUOTE SECTION
   ========================================== */

.quote-section {
    background: var(--white);
    padding: 50px 20px;
    text-align: center;
}

.quote-box {
    max-width: 900px;
    margin: 0 auto;
}

.quote-text {
    font-size: 26px;
    font-weight: 400;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.5;
}

.quote-author {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-gray);
    font-style: normal;
}

/* ==========================================
   TWO COLUMN LAYOUT (Who We Are/Serve)
   ========================================== */

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.two-column-layout.reverse {
    direction: rtl;
}

.two-column-layout.reverse > * {
    direction: ltr;
}

.content-column {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
}

.dark-gradient {
    background: linear-gradient(135deg, #2C5F6F 0%, #1A2332 100%);
    color: var(--white);
}

.content-inner {
    max-width: 550px;
}

.section-heading {
    font-size: 38px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.section-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--white);
    opacity: 0.95;
}

.image-column {
    overflow: hidden;
}

.image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   WHAT WE DO SECTION
   ========================================== */

.what-we-do-section {
    background: var(--white);
    padding: 80px 0;
}

.section-title-center {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.services-grid-exact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card-exact {
    padding: 50px 35px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    background: linear-gradient(90deg, #BCDCEA 0%, #AFB0C8 100%) !important;
}

.service-card-exact:hover {
    transform: translateY(-5px);
    background: linear-gradient(90deg, #2F6F78 0%, #1E214A 100%) !important;
}

.service-icon-circle {
    width: 90px;
    height: 90px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon-circle img {
    width: 45px;
    height: 45px;
    filter: invert(27%) sepia(17%) saturate(1184%) hue-rotate(161deg) brightness(91%) contrast(89%);
}

.service-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    transition: color 0.4s ease;
}

.service-card-exact:hover .service-name {
    color: var(--white);
}

.service-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: auto;
    opacity: 0.85;
    flex-grow: 1;
    transition: color 0.4s ease, opacity 0.4s ease;
}

.service-card-exact:hover .service-desc {
    color: var(--white);
    opacity: 0.95;
}

.service-btn {
    background: var(--navy-dark);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 25px;
}

.service-btn:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

/* ==========================================
   WHO WE SERVE SECTION
   ========================================== */

.who-we-serve-section {
    background: var(--white);
}

.category-grid-exact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 80px auto 0;
}

.category-card-exact {
    padding: 45px 35px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    background: linear-gradient(90deg, #BCDCEA 0%, #AFB0C8 100%) !important;
    color: var(--text-dark);
}

.category-card-exact:hover {
    background: linear-gradient(90deg, #2F6F78 0%, #1E214A 100%) !important;
    transform: translateY(-5px);
}

.category-icon-circle {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.category-icon-circle img {
    width: 40px;
    height: 40px;
}

.dark-teal .category-icon-circle img {
    filter: invert(27%) sepia(17%) saturate(1184%) hue-rotate(161deg) brightness(91%) contrast(89%);
}

.category-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    transition: color 0.4s ease;
}

.category-card-exact:hover .category-name {
    color: var(--white);
}

.category-list-exact {
    list-style: none;
    text-align: center;
    padding-left: 0;
}

.category-list-exact li {
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 0;
    position: relative;
    transition: color 0.4s ease;
}

.category-list-exact li::before {
    content: '';
}

.category-card-exact:hover .category-list-exact li {
    color: var(--white);
}

/* ==========================================
   CLIENTS SECTION - Carousel Animation
   ========================================== */

.clients-section {
    background: var(--white);
    padding: 50px 0;
    overflow: hidden;
}

.clients-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.clients-carousel {
    width: 100%;
    overflow: hidden;
    padding: 15px 0;
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: scroll-logos 30s linear infinite;
    width: fit-content;
}

/* Pause animation on hover */
.clients-track:hover {
    animation-play-state: paused;
}

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

.client-logo-exact {
    height: 50px;
    width: auto;
    min-width: 120px;
    max-width: 150px;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.4s ease;
    filter: grayscale(0%) brightness(1.05) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    flex-shrink: 0;
    animation: subtle-glow 3s ease-in-out infinite;
}

.client-logo-exact:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1.15) drop-shadow(0 8px 20px rgba(44, 95, 111, 0.4));
    transform: scale(1.15) translateY(-5px);
}

@keyframes subtle-glow {
    0%, 100% {
        filter: grayscale(0%) brightness(1.05) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    }
    50% {
        filter: grayscale(0%) brightness(1.1) drop-shadow(0 6px 12px rgba(44, 95, 111, 0.25));
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .clients-track {
        gap: 50px;
        animation: scroll-logos 20s linear infinite;
    }

    .client-logo-exact {
        height: 40px;
        min-width: 100px;
        max-width: 120px;
    }
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact-section {
    background: var(--white);
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 650px;
}

.contact-left {
    position: relative;
    overflow: hidden;
}

.contact-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-right {
    background: #C8D4E3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
}

.contact-heading {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy-dark);
    letter-spacing: 3px;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.contact-form-exact {
    width: 100%;
    max-width: 520px;
}

.form-field {
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
    color: var(--text-dark);
}

.form-field:focus {
    outline: none;
    border-color: var(--navy-dark);
}

.form-field::placeholder {
    color: #999;
    font-size: 14px;
}

select.form-field {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
}

select.form-field option {
    background: white;
    color: var(--text-dark);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.submit-btn-exact {
    width: auto;
    background: var(--navy-dark);
    color: var(--white);
    padding: 12px 50px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.submit-btn-exact:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer-exact {
    background: #2F4858;
    padding: 30px 0;
    color: var(--white);
    margin: 0 0 0 0;
    border: none;
    display: block;
}

.footer-content-exact {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 40px;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.footer-center {
    text-align: center;
}

.footer-copy {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.footer-company {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 3px;
}

.footer-location {
    font-size: 13px;
    opacity: 0.85;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
}

.social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.social-icon img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

/* ==========================================
   HONEYPOT FIELD (Hidden spam prevention)
   ========================================== */

.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* ==========================================
   WHATSAPP FLOAT
   ========================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
    .services-grid-exact {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid-exact {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
    }

    .two-column-layout.reverse {
        direction: ltr;
    }

    /* Hide images in Who We Are and Who We Serve sections on mobile phones only */
    .who-we-are-section .image-column,
    .who-we-serve-section .image-column {
        display: none;
    }

    /* Better text alignment and spacing for Who We Are/Serve on mobile */
    .content-column {
        padding: 50px 30px;
        text-align: center;
    }

    .content-inner {
        max-width: 100%;
        padding: 0 10px;
    }

    .section-heading {
        font-size: 32px;
        margin-bottom: 20px;
        text-align: center;
    }

    .section-text {
        font-size: 15px;
        line-height: 1.7;
        text-align: center;
        padding: 0;
    }

    .services-grid-exact {
        grid-template-columns: 1fr;
    }

    .category-grid-exact {
        grid-template-columns: 1fr;
    }

    .contact-split {
        grid-template-columns: 1fr;
    }

    /* Hide contact background image on mobile phones only */
    .contact-left {
        display: none;
    }
    
    .contact-right {
        padding: 40px 30px;
    }
    
    .clients-row {
        gap: 40px;
    }
    
    .footer-content-exact {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-left {
        justify-content: center;
    }
    
    .footer-right {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 36px;
    }

    /* Better hero section for mobile phones */
    .hero {
        min-height: 500px;
        padding: 80px 20px;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 35px;
        text-align: center;
        padding: 0 5px;
    }

    .btn-hero {
        padding: 12px 35px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        line-height: 1.4;
        margin-bottom: 25px;
    }

    .hero {
        min-height: 450px;
        padding: 60px 15px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 30px;
        text-align: center;
        padding: 0;
        max-width: 100%;
    }

    .btn-hero {
        padding: 12px 30px;
        font-size: 14px;
        width: auto;
    }

    .quote-text {
        font-size: 20px;
    }

    .container {
        padding: 0 20px;
    }

    /* Better spacing for Who We Are/Serve on small phones */
    .content-column {
        padding: 40px 20px;
    }

    .content-inner {
        padding: 0 5px;
    }

    .section-heading {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .section-text {
        font-size: 14px;
        line-height: 1.65;
    }
}
