/* 
   INDUSQA Global Styles 
   Theme: Navy Blue (#1a2a44), Orange (#f39221), White (#ffffff)
*/

:root {
    --primary-color: #1a2a44; /* Navy Blue */
    --secondary-color: #f39221; /* Orange */
    --text-color: #333333;
    --light-bg: #f4f7f9;
    --white: #ffffff;
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-speed);
    padding: 10px 0;
    z-index: 1001;
}

.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    font-weight: 500;
}

.nav-links .dropdown-menu li a:hover {
    background: var(--light-bg);
    color: var(--secondary-color);
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: var(--border-radius);
    font-weight: 700;
    transition: var(--transition-speed);
}

.cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.primary-cta {
    box-shadow: 0 4px 12px rgba(243, 146, 33, 0.3);
}

.primary-cta:hover {
    box-shadow: 0 6px 18px rgba(26, 42, 68, 0.3);
}

.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('https://images.unsplash.com/photo-1454165833767-027ffea70288?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

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

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}


/* Approach Section */
.approach {
    position: relative;
    overflow: hidden;
}

.approach::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(var(--secondary-color) 1px, transparent 1px),
        radial-gradient(var(--primary-color) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.03;
    z-index: 0;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Connective lines for steps */
.approach-step {
    padding: 20px;
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.approach-step::after {
    content: '→';
    position: absolute;
    top: 45px;
    right: -25px;
    color: var(--secondary-color);
    font-size: 1.5rem;
    opacity: 0.3;
    transition: var(--transition-speed);
}

.approach-step:last-child::after {
    display: none;
}

@media (max-width: 991px) {
    .approach-step::after {
        content: '↓';
        top: auto;
        bottom: -20px;
        right: 50%;
        transform: translateX(50%);
    }
}

.approach-step.revealed {
    opacity: 1;
    transform: translateY(0);
}

.approach-step:hover {
    background: var(--white);
    box-shadow: var(--box-shadow);
    transform: translateY(-10px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 800;
    font-size: 1.2rem;
    position: relative;
    box-shadow: 0 0 0 0 rgba(243, 146, 33, 0.4);
    transition: var(--transition-speed);
}

.approach-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(243, 146, 33, 0);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(243, 146, 33, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(243, 146, 33, 0); }
    100% { box-shadow: 0 0 0 0 rgba(243, 146, 33, 0); }
}

.approach-step h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.4;
    transition: var(--transition-speed);
}

.approach-step:hover h4 {
    color: var(--secondary-color);
}

/* Connective line for desktop */
/* Removed in favor of individual step arrows */

/* Services Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition-speed);
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 5px solid var(--secondary-color);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Connective line for Services */
@media (min-width: 992px) {
    .services-grid::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 5%;
        width: 90%;
        height: 2px;
        background: repeating-linear-gradient(to right, var(--secondary-color) 0, var(--secondary-color) 10px, transparent 10px, transparent 20px);
        z-index: 0;
        opacity: 0.1;
    }
}

/* Testimonials */
.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-style: italic;
    position: relative;
    overflow: hidden;
}

.testimonial-card .stars {
    color: #FFD700; /* Gold color for stars */
    margin-bottom: 15px;
}

.testimonial-card .client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
    font-style: normal;
    position: relative;
    z-index: 1;
}

.testimonial-card .client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-card .quote-icon {
    position: absolute;
    bottom: -10px;
    right: 10px;
    font-size: 4rem;
    color: rgba(26, 42, 68, 0.1); /* Light primary color */
    z-index: 0;
}

/* Section Connections */
section {
    position: relative;
}

section:not(:last-of-type)::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, var(--secondary-color), transparent);
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0.3;
}

/* General Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: none;
        padding-left: 20px;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .service-card, .testimonial-card {
        padding: 30px 20px;
    }
    
    .approach-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        height: 70vh;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}
