/* =========================================
   1. IMPORTS & VARIABLES
   ========================================= */
/* Importing modern Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    /* Color Palette - Trustworthy Blues & Clean Whites */
    --primary-color: #0056b3;       /* Deep Professional Blue */
    --primary-light: #e6f0fa;       /* Light Blue Accent */
    --secondary-color: #1f85c8;     /* Darker Navy for hover/text */
    --accent-color: #00c6ff;        /* Cyan for subtle highlights */
    --text-dark: #2c3e50;           /* Dark Slate for headings */
    --text-light: #5f6c7b;          /* Soft Gray for paragraphs */
    --bg-light: #e9f8fd;            /* Very light blue-white bg */
    --white: #ffffff;
    
    /* Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 86, 179, 0.1); /* Blue-tinted shadow */
    --shadow-hover: 0 20px 40px rgba(0, 86, 179, 0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* =========================================
   2. BASIC RESET & TYPOGRAPHY
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif; /* Clean body font */
    line-height: 1.7;
    color: var(--text-light);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; /* Modern heading font */
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

p {
    margin-bottom: 20px;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   3. UTILITY CLASSES
   ========================================= */
.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

/* Modern Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px; /* Pill shape */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.btn-dark {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    text-align: center;
    background: -webkit-linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; /* Gradient Text */
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Add a small underline to section titles */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 40px;
    border-radius: 2px;
}

/* =========================================
   4. HEADER & NAVIGATION
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 2%;
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.logo img {
    height: 80px; /* Adjusted for cleaner look */
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 35px;
}

nav ul li a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

/* Animated underline on hover */
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-color);
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-top: 60px;
    padding-bottom: 100px;
    background: 
        /* The Gradient (Top Layer) */
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.5), rgba(2, 58, 118, 0.7)),
        /* The Image (Bottom Layer) */
        url('https://img.freepik.com/free-vector/geometric-shapes-with-neon-lights-concept_23-2148419783.jpg');

    /* Recommended settings to make the image look good */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-content {
    flex: 1;
    animation: slideUp 0.8s ease-out; /* Animation on load */
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-image {
    flex: 1;
    position: relative;
    animation: fadeIn 1s ease-out;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    /* Subtle float animation */
    animation: float 6s ease-in-out infinite;
}

/* =========================================
   6. FOUNDER SECTION
   ========================================= */
.about-senses {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.founder {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: var(--white);
    padding: 60px;
    border-radius: 20px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-md); /* Card look */
    border: 1px solid #eee;
}

.founder-text {
    flex: 2;
}

.founder-image {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.founder-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--primary-light); /* Double border effect */
}

.founder-image h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* =========================================
   7. SERVICES SECTION (CARDS)
   ========================================= */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-item {
    flex: 1 1 300px;
    text-align: center;
    padding: 40px 30px;
    max-width: 380px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Add a top color bar to cards */
.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.service-item:hover {
    transform: translateY(-10px); /* Lift up effect */
    box-shadow: var(--shadow-hover);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-icon img {
    width: 50px;
    height: auto;
    margin-bottom: 20px;
    display: block;          /* 1. Make it a block element */
    margin-left: auto;       /* 2. Push from left */
    margin-right: auto;      /* 3. Push from right */
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* =========================================
   8. CLIENTS SECTION
   ========================================= */
.clients-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 10px;
}

.client-logos {
    display: flex;
    gap: 20px;
    flex-grow: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.client-logo-box {
    border: 1px solid #eee;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 100px;
    background: var(--white);
    border-radius: 8px;
    transition: var(--transition);
    /*filter: grayscale(100%);  Start Black & White 
    opacity: 0.7;*/
}

.client-logo-box:hover {
    filter: grayscale(0%); /* Color on hover */
    opacity: 1;
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-light);
}

.nav-arrow {
    font-size: 18px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0;
    background: var(--primary-light);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.nav-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* =========================================
   9. CTA & FAQ SECTION
   ========================================= */
.cta-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    margin-top: 60px;
    border-radius: 20px;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 32px;
}

/* Adjust button inside CTA to be white/light */
.cta-section .btn {
    background: var(--white);
    color: var(--primary-color);
}
.cta-section .btn:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.faq-intro {
    text-align: center;
    max-width: 800px;
    margin: 60px auto 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.faq-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h4 {
    font-size: 17px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.full-width-item, .centered-faq-item {
    grid-column: 1 / -1;
}

.centered-faq-item {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   10. CONTACT FORM
   ========================================= */
.contact-section {
    padding-bottom: 80px;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1%201h2v2H1V1zm4%200h2v2H5V1zm4%200h2v2H9V1z%22%20fill%3D%22%23f0f4f8%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E');
}

.contact-form-wrapper {
    max-width: 650px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary-color);
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eef2f6;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    background-color: #fcfcfc;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

.form-submit {
    text-align: center;
    margin-top: 20px;
}

.form-submit button {
    width: 100%;
}

.final-contact {
    text-align: center;
    padding: 40px 0;
}

.final-contact a {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

/* =========================================
   11. FOOTER
   ========================================= */
footer {
    padding: 60px 5%;
    background-color: #1a202c; /* Very dark blue-gray */
    color: #a0aec0;
    font-size: 14px;
}

footer a {
    color: #cbd5e0;
}
footer a:hover {
    color: var(--white);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #2d3748;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   12. ANIMATIONS (KEYFRAMES)
   ========================================= */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   13. MOBILE RESPONSIVENESS
   ========================================= */

@media (max-width: 992px) {
    .hero h1 { font-size: 38px; }
    .hero { gap: 30px; }
    .founder { padding: 40px; gap: 30px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }

    nav ul {
        display: none; /* Javascript toggle required */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-md);
        padding: 20px 0;
    }

    nav ul.active { display: flex; }

    nav ul li { margin: 15px 0; }

    .hero {
        flex-direction: column-reverse; /* Image on top for mobile? Or keep as is */
        text-align: center;
        padding-top: 30px;
    }

    .hero-buttons { justify-content: center; }

    .founder {
        flex-direction: column;
        text-align: center;
    }

    .founder-image { order: -1; }

    .clients-wrapper { justify-content: center; }
    .nav-arrow { display: none; }
    
    .faq-grid { grid-template-columns: 1fr; }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .footer-links, .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .mobile-hide {
      display: none !important;
    }
  }

  /* Apply to all sections that are targets of the nav bar */
section[id] {
    scroll-margin-top: 105px;
}

/* Or, if you want smooth scrolling for the whole site */
html {
    scroll-behavior: smooth;
}