@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --primary: #0b2545;
    --primary-light: #134074;
    --secondary: #22c55e;
    --secondary-hover: #16a34a;
    --accent: #f59e0b;
    --accent-light: #fef3c7;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

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

ul {
    list-style: none;
}

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

/* Common Layout Components */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

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

.section-bg-dark {
    background-color: var(--primary);
    color: #fff;
}

.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark h4,
.section-bg-dark h5,
.section-bg-dark h6 {
    color: #fff;
}

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

.section-header {
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--gray-500);
    font-size: 1.125rem;
}

.section-bg-dark .section-desc {
    color: var(--gray-300);
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 0.375rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline-white:hover {
    background-color: #fff;
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Top bar style */
.top-bar {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-info {
    display: flex;
    gap: 1.5rem;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-socials {
    display: flex;
    gap: 1rem;
}

.top-socials a:hover {
    color: var(--secondary);
}

/* Header style */
.header {
    background-color: #fff;
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.sticky {
    box-shadow: var(--shadow);
}

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

.logo img {
    height: 48px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 110;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(11, 37, 69, 0.95) 0%, rgba(19, 64, 116, 0.85) 100%), url('https://images.unsplash.com/photo-1581094288338-2314dddb7eed?q=80&w=1470&auto=format&fit=crop') no-repeat center center/cover;
    color: #fff;
    padding: 8rem 0;
    position: relative;
}

.hero-content {
    max-width: 750px;
}

.hero h2 {
    color: var(--secondary);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    animation: fadeInLeft 0.8s ease;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-btns {
    display: flex;
    gap: 1.25rem;
    animation: fadeInUp 0.8s ease;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}

.feature-card {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border-top: 4px solid var(--secondary);
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-500);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-card-body {
    padding: 2rem;
}

.service-card-body h3 {
    margin-bottom: 0.75rem;
}

.service-card-body p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--gray-100);
    padding-top: 1rem;
}

.service-more-btn {
    font-weight: 600;
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.service-more-btn:hover {
    color: var(--secondary);
}

/* Stats section */
.stats {
    background-color: var(--primary-light);
    color: #fff;
    padding: 4.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--gray-200);
}

/* Workflow/Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.step-card {
    position: relative;
    padding: 2.5rem 2rem;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-100);
    line-height: 1;
}

.step-icon {
    font-size: 2.25rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.step-card h3 {
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.step-card p {
    color: var(--gray-500);
    position: relative;
    z-index: 2;
}

/* Banner section */
.banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.banner-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.125rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Form and Contact */
.contact-section-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
}

.contact-info-panel h3 {
    margin-bottom: 1.5rem;
}

.contact-info-panel p {
    margin-bottom: 2.5rem;
    color: var(--gray-500);
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-detail-icon {
    background-color: var(--gray-100);
    color: var(--secondary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-detail-text h4 {
    margin-bottom: 0.25rem;
}

.contact-detail-text p {
    margin-bottom: 0;
}

.form-box {
    background-color: #fff;
    padding: 3rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.form-box h3 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

textarea.form-control {
    resize: vertical;
}

/* Testimonials Carousel */
.testimonials {
    background-color: var(--gray-50);
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 1rem;
}

.testimonial-card {
    background-color: #fff;
    padding: 3rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--gray-100);
    margin-bottom: 1.5rem;
}

.testimonial-card p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.client-bio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

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

.client-bio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.client-info {
    text-align: left;
}

.client-name {
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.client-role {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--secondary);
    width: 25px;
    border-radius: 5px;
}

/* Footer Section */
.footer {
    background-color: var(--primary);
    color: var(--gray-300);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-about img {
    height: 48px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 0.25rem;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 0.25rem;
}

.footer-bottom {
    background-color: var(--dark);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
}

.footer-bottom p {
    color: var(--gray-400);
}

.footer-bottom a {
    color: var(--secondary);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.08);
}

.floating-whatsapp {
    background-color: #25d366;
}

.floating-phone {
    background-color: #0284c7;
}

/* Glow animation */
.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
    animation: ripple 2s infinite;
}

.floating-whatsapp::before {
    background-color: #25d366;
}

.floating-phone::before {
    background-color: #0284c7;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Team Section Styles (About page) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-card {
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-img {
    height: 280px;
    overflow: hidden;
}

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

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    margin-bottom: 0.25rem;
}

.team-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Services Detailed Layout */
.services-detailed-section {
    padding: 5rem 0;
}

.service-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.service-detail-row:last-child {
    margin-bottom: 0;
}

.service-detail-row:nth-child(even) .service-detail-img {
    order: 2;
}

.service-detail-row:nth-child(even) .service-detail-text {
    order: 1;
}

.service-detail-img {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 380px;
}

.service-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-text h2 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.service-detail-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

.service-detail-text p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.service-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

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

/* Contact Page Specific Styles */
.map-container {
    height: 450px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 4rem;
    border: 1px solid var(--gray-200);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Mobile Menu Drawer styling */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background-color: #fff;
        padding: 5rem 2rem 2rem;
        box-shadow: -5px 0 25px rgba(0,0,0,0.1);
        z-index: 105;
        gap: 1.5rem;
    }
    
    .nav-menu.active .nav-link {
        font-size: 1.125rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        margin-top: 2rem;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-section-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-detail-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    
    .service-detail-row:nth-child(even) .service-detail-img {
        order: 1;
    }

    .service-detail-row:nth-child(even) .service-detail-text {
        order: 2;
    }
    
    .service-detail-img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-box {
        padding: 2rem 1.5rem;
    }
}
