@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

:root {
    --primary-color: #0077b6;
    --primary-dark: #023e8a;
    --secondary-color: #1a1a1a;
    --bg-color: #ffffff;
    --bg-light: #f5f5f5;
    --text-main: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --accent: #ffb703;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 20px 40px rgba(0, 119, 182, 0.2);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Watermark */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vh;
    background: url('../assets/logo.png') no-repeat center center;
    background-size: contain;
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.top-bar {
    background: linear-gradient(90deg, var(--secondary-color), #333);
    color: var(--white);
    padding: 10px 5%;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .contact-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--secondary-color);
}

.logo-container img {
    height: 130px;
    margin-right: 15px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-container:hover img {
    transform: scale(1.1) rotate(5deg);
}

.logo-container h1 {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--secondary-color);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.page-wrapper {
    padding-top: 210px;
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Animated Gradient Background for Engagement */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(0, 119, 182, 0.7)), url('../assets/home_hero.png') center/cover;
    background-size: cover;
    animation: zoomBg 20s infinite alternate;
    z-index: -1;
}

@keyframes zoomBg {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    color: var(--white);
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 35px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 119, 182, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    border-color: var(--white);
    box-shadow: none;
    margin-left: 20px;
}

.btn-secondary::before {
    background: var(--white);
}

.btn-secondary:hover {
    color: var(--secondary-color);
    border-color: var(--white);
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #000000 100%);
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    filter: blur(150px);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    opacity: 0.3;
}

.page-header h1 {
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.2rem;
    color: #ccc;
    position: relative;
    z-index: 1;
}

/* Content Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-light {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 60px;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Cards setup with glass/premium feel */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-bottom: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(0, 119, 182, 0.05) 0%, transparent 100%);
    transition: var(--transition);
    z-index: -1;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.card:hover::before {
    height: 100%;
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: transform 0.4s ease;
    display: inline-block;
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    flex-grow: 1;
}

/* Text heavy pages */
.content-box {
    background: var(--white);
    padding: 60px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    border-left: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.content-box::after {
    content: '"';
    position: absolute;
    right: 20px;
    bottom: -40px;
    font-size: 15rem;
    color: var(--primary-color);
    opacity: 0.05;
    font-family: serif;
    line-height: 1;
}

.content-box h2 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
}

.content-box p {
    margin-bottom: 25px;
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Highlight boxes inside content */
.highlight-box {
    background: rgba(0, 119, 182, 0.05);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
}

.highlight-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-transform: uppercase;
}

/* Tagline Banner */
.tagline-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tagline-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(30deg);
}

.tagline-banner h2 {
    font-size: 2.8rem;
    font-weight: 300;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Timeline/Steps in Quality Assurance */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 5px rgba(0, 119, 182, 0.2);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 35px;
    width: 2px;
    height: calc(100% - 10px);
    background: rgba(0, 119, 182, 0.2);
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-item h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 20px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--white);
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-col ul li i {
    margin-top: 5px;
    margin-right: 15px;
    color: var(--primary-color);
}

.footer-col ul a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    color: #888;
}

/* WhatsApp Floater */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 40px;
    right: 40px;
    /* changed to right side usually preferred */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Repsonsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .top-bar {
        display: none;
    }

    /* Hide top bar on smaller screens for cleaner nav */
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 30px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.5s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links li {
        text-align: center;
        margin: 15px 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 60px 0;
    }

    .content-box {
        padding: 30px;
    }
}