/* Global Styles */
:root {
    --primary-color: #0056b3;
    /* Professional Blue */
    --secondary-color: #25D366;
    /* WhatsApp Green */
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --header-height: 80px;
}

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

body {
    font-family: var(--font-main);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    padding-top: var(--header-height);
    /* Prevent content from hiding behind fixed header */
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

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

.bg-light {
    background-color: var(--light-color);
}

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

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 3rem;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

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

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo strong {
    color: var(--primary-color);
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-links li a {
    font-weight: 500;
    color: var(--dark-color);
    transition: var(--transition);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-links li a:hover::after {
    width: 100%;
}

.header-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
}

.mobile-nav-links li a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

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

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    /* WhatsApp Green for high conversion */
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-primary:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #004494;
    transform: translateY(-3px);
}

.btn-large {
    font-size: 1.5rem;
    padding: 20px 40px;
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: 800;
}

.btn-large:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero .highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--gray-color);
    font-weight: 500;
}

.hero-authority {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-authority i {
    color: var(--primary-color);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #eee;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

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

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--gray-color);
    line-height: 1.5;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px;
    font-size: 1.2rem;
    text-align: center;
    color: var(--dark-color);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 300px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-width: 350px;
    flex: 1 1 300px;
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.comment {
    font-style: italic;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.client-name {
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.experience-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.values-list {
    margin: 20px 0;
}

.values-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.values-list li i {
    color: var(--secondary-color);
}

.personal-quote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    font-style: italic;
    color: var(--gray-color);
    margin: 20px 0;
}

/* Pricing Section */
.pricing-table {
    max-width: 800px;
    margin: 40px auto;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.price-row:last-child {
    border-bottom: none;
}

.price-row:hover {
    background-color: #f9f9f9;
}

.price-row span {
    font-weight: 600;
}

.price-row .price {
    color: var(--primary-color);
    font-weight: 700;
}

.price-disclaimer {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 30px;
}

/* Locations Section */
.locations-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.locations-list {
    flex: 1;
}

.locations-list li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.locations-list li i {
    color: var(--primary-color);
}

.mini-map {
    flex: 1;
}

.map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 350px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Transparent inside the 140px radius (matching the 280px circle), blue tint outside */
    background: radial-gradient(circle 140px at center, transparent 98%, rgba(0, 86, 179, 0.4) 100%);
}

.map-overlay::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    /* Adjust to match the gradient clear area roughly */
    height: 280px;
    border: 2px solid rgba(0, 86, 179, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 86, 179, 0.3);
    animation: pulse-border 3s infinite;
}

@keyframes pulse-border {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.8;
    }
}

/* Final CTA */
.final-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
}

.final-cta h2 {
    color: var(--white);
    margin-bottom: 40px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #ccc;
    padding: 60px 0 20px;
}

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

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

.footer-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-copyright {
    margin-top: 50px;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Animations */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.fade-in-left {
    animation: fadeInLeft 1s ease-out;
}

.fade-in-right {
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Phone Mockup Styles */
.phone-mockup {
    width: 300px;
    height: 600px;
    background-color: #f0f0f0;
    border: 12px solid #1a1a1a;
    border-radius: 40px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: rotate(-3deg);
    transition: var(--transition);
}

.phone-mockup:hover {
    transform: rotate(0deg) scale(1.02);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background-color: #1a1a1a;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 100;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    padding-top: 40px;
    position: relative;
}

.phone-screen.chat-screen {
    background-color: #ECE5DD;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Status Bar */
.status-bar {
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 20;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-icons i {
    font-size: 0.8rem;
}

.battery-icon {
    width: 22px;
    height: 10px;
    border: 1px solid #000;
    border-radius: 3px;
    margin-left: 6px;
    position: relative;
    background-color: transparent;
    padding: 1px;
}

.battery-icon::before {
    content: '';
    display: block;
    width: 70%;
    /* Charge level */
    height: 100%;
    background-color: #000;
    border-radius: 1px;
}

.battery-icon::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 4px;
    background-color: #000;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}

/* Chat Header */
.chat-header {
    background-color: #F6F6F6;
    color: #007AFF;
    padding: 40px 15px 10px;
    /* Increased top padding for status bar */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    z-index: 10;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-left i {
    font-size: 1.2rem;
}

.notification-count {
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 5px;
}

.header-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 8px;
}

.header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-info {
    display: flex;
    flex-direction: column;
}

.header-name {
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
}

.header-right {
    display: flex;
    gap: 20px;
}

.header-right i {
    font-size: 1.2rem;
    color: #007AFF;
}

/* Chat Container */
.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
    gap: 10px;
    overflow-y: auto;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    /* WhatsApp Doodle Background */
    background-size: cover;
    background-position: center;
}

/* Messages */
.message {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.3;
    position: relative;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    transform: scale(0.9);
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.message.sent {
    background-color: #DCF8C6;
    align-self: flex-end;
    border-top-right-radius: 0;
    color: #000;
}

.message.received {
    background-color: #FFF;
    align-self: flex-start;
    border-top-left-radius: 0;
    color: #000;
}

.message .time {
    font-size: 0.65rem;
    color: #999;
    float: right;
    margin-left: 8px;
    margin-top: 4px;
}

/* Chat Footer */
.chat-footer {
    background-color: #F6F6F6;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #ddd;
}

.chat-footer i {
    font-size: 1.3rem;
    color: #007AFF;
    cursor: pointer;
}

.chat-footer i.fa-camera {
    color: #000;
}

.chat-input {
    flex: 1;
    background-color: #FFF;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.9rem;
    min-height: 32px;
    display: flex;
    align-items: center;
}

/* Send Button */
.send-btn {
    width: 32px;
    height: 32px;
    background-color: #007AFF;
    /* Blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    animation: scaleIn 0.2s ease-out;
}

.send-btn i {
    color: #FFF;
    margin-right: 2px;
    /* Visual centering adjustment */
    margin-top: 1px;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* Keyboard Styles */
.keyboard {
    background-color: #D1D5DB;
    padding: 10px 5px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    z-index: 20;
}

.keyboard.open {
    transform: translateY(0);
}

.keyboard-row {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}

.keyboard-row.bottom {
    margin-bottom: 20px;
    /* Space for home indicator */
}

.key {
    background-color: #FFF;
    border-radius: 5px;
    box-shadow: 0 1px 0 #888;
    color: #000;
    font-size: 1rem;
    font-weight: 500;
    width: 28px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-transform: lowercase;
}

.key:active {
    background-color: #E5E7EB;
    transform: translateY(1px);
    box-shadow: none;
}

.key.special {
    background-color: #ACB4C2;
    width: 40px;
}

.key.wide {
    background-color: #ACB4C2;
    width: 40px;
    font-size: 0.8rem;
}

.key.space {
    flex: 1;
    max-width: 150px;
    font-size: 0.9rem;
    color: #555;
}

/* Adjust chat container when keyboard is open */
.phone-screen.keyboard-active .chat-container {
    height: calc(100% - 280px);
    /* Adjust based on keyboard height + footer */
}

.phone-screen.keyboard-active .chat-footer {
    transform: translateY(-220px);
    /* Move footer up */
    transition: transform 0.3s ease-out;
}

/* Typing Animation in Input */
.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 992px) {

    .main-nav,
    .header-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-container,
    .about-container,
    .locations-content {
        flex-direction: column;
        text-align: center;
    }

    .locations-list {
        display: inline-block;
        text-align: left;
        margin-bottom: 30px;
        width: 100%;
        max-width: 300px;
        /* Limit width to keep it centered and neat */
    }

    .locations-list li {
        justify-content: flex-start;
        border-bottom: 1px solid #eee;
        /* Add separator for better readability on mobile */
        padding: 10px 0;
    }

    .locations-list li:last-child {
        border-bottom: none;
    }

    .hero-image {
        margin-top: 40px;
    }

    .hero-authority {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero {
        padding: 60px 0 40px;
    }
}