/* ===== CSS Variables ===== */
:root {
    --primary-dark: #0a1e50;
    --primary-teal: #00A8A8;
    --secondary-teal: #008B8B;
    --accent-cyan: #00E5E5;
    --light-bg: #F0FAFA;
    --white: #FFFFFF;
    --text-dark: #1A2B3C;
    --text-gray: #5A6A7A;
    --gradient-primary: linear-gradient(135deg, #0a1e50 0%, #00A8A8 100%);
    --gradient-teal: linear-gradient(135deg, #00A8A8 0%, #00E5E5 100%);
    --gradient-cta: linear-gradient(135deg, #00A8A8 0%, #008B8B 100%);
    --shadow-soft: 0 10px 40px rgba(10, 30, 80, 0.1);
    --shadow-hover: 0 20px 60px rgba(10, 30, 80, 0.15);
    --shadow-card: 0 4px 20px rgba(10, 30, 80, 0.08);
}

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

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 168, 168, 0.1);
    color: var(--primary-teal);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 168, 168, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 48px;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-teal);
    transition: width 0.3s ease;
}

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

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

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    padding: 0.75rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 168, 168, 0.1);
}

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

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background: rgba(0, 168, 168, 0.05);
    color: var(--primary-teal);
    padding-left: 1.75rem;
}

.nav-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 30, 80, 0.2);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 30, 80, 0.3);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 0.5rem;
}

/* ===== Buttons ===== */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(10, 30, 80, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(10, 30, 80, 0.35);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-teal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-secondary:hover {
    background: var(--primary-teal);
    color: white;
    transform: translateY(-3px);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #F0FAFA 0%, #E8F4F8 50%, #F5FAFA 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 168, 168, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(10, 30, 80, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-content h1 span {
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 500px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 168, 168, 0.2);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-teal);
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.stat-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.hero-visual {
    position: relative;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInScale 1s ease 0.3s forwards;
}

.hero-image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

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

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: floatCard 6s infinite ease-in-out;
    opacity: 0;
    animation: floatCard 6s infinite ease-in-out, fadeIn 0.5s ease 1s forwards;
}

.floating-card.card-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 20%;
    left: -30px;
    animation: floatCard 6s infinite ease-in-out 2s, fadeIn 0.5s ease 1.2s forwards;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-teal);
}

.floating-card span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    white-space: nowrap;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

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

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

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ===== Services Section ===== */
.services {
    padding: 8rem 2rem;
    background: white;
    position: relative;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 168, 168, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.1) 0%, rgba(0, 229, 229, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-teal);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--gradient-teal);
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-teal);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
}

/* ===== About Section ===== */
.about {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #F8FCFC 0%, #F0FAFA 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 168, 168, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 168, 168, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    position: relative;
    z-index: 2;
}

.about-img-main img {
    width: 100%;
    height: auto;
    display: block;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 250px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 5px solid white;
    z-index: 3;
}

.about-img-secondary img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    top: 30px;
    left: -30px;
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    z-index: 3;
}

.experience-badge h4 {
    font-size: 2.5rem;
    font-weight: 800;
}

.experience-badge p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-content h2 {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.about-content > p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-item i {
    color: var(--primary-teal);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--text-dark);
    font-weight: 500;
}

/* ===== Portfolio Section ===== */
.portfolio {
    padding: 8rem 2rem;
    background: white;
}

.portfolio-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 30, 80, 0.95) 0%, rgba(10, 30, 80, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

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

.portfolio-category {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.portfolio-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.portfolio-link {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
    opacity: 1;
}

/* ===== Process Section ===== */
.process {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0a2850 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 168, 168, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 229, 229, 0.05) 0%, transparent 50%);
}

.process .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-cyan);
}

.process .section-title {
    color: white;
}

.process .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.process-steps {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-cyan));
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 250px;
}

.step-number {
    width: 100px;
    height: 100px;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 168, 168, 0.3);
    position: relative;
    color: white;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid rgba(0, 229, 229, 0.3);
    border-radius: 50%;
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 8rem 2rem;
    background: var(--light-bg);
}

.testimonials-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

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

.testimonial-rating {
    color: #FFB800;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-text {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===== CTA Section ===== */
.cta {
    padding: 6rem 2rem;
    background: var(--gradient-cta);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-teal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
    background: var(--primary-dark);
    color: white;
}

/* ===== Contact Section ===== */
.contact {
    padding: 8rem 2rem;
    background: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 168, 168, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item div strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.contact-item div span {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 30px;
}

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

.form-group label {
    display: block;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(0, 168, 168, 0.2);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(0, 168, 168, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Honeypot field - hidden from humans */
.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* Form messages */
.form-message {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: none;
}

.form-message.success {
    background: rgba(0, 168, 168, 0.1);
    color: var(--secondary-teal);
    border: 1px solid rgba(0, 168, 168, 0.3);
    display: block;
}

.form-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
    display: block;
}

.form-success-content {
    text-align: center;
    padding: 3rem 2rem;
    display: none;
}

.form-success-content.show {
    display: block;
}

.form-success-content i {
    font-size: 4rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

.form-success-content h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.form-success-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-teal);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
}

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

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-cyan);
}

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

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 30, 80, 0.3);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 30, 80, 0.4);
}

/* ===== Scroll Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== Page Banner ===== */
.page-banner {
    background: var(--gradient-primary);
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 120px 2rem 60px;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 229, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a:hover {
    color: var(--accent-cyan);
}

.page-banner h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-teal);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-teal);
}


/* ===== About Page Specific ===== */
.story-section {
    padding: 6rem 2rem;
    background: white;
}

.story-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
}

.story-content .section-tag {
    margin-bottom: 1rem;
}

.story-content h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.story-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 168, 168, 0.2);
}

.values-section {
    padding: 6rem 2rem;
    background: var(--light-bg);
}

.values-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: all 0.3s ease;
}

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

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-teal);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.value-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

.team-section {
    padding: 6rem 2rem;
    background: white;
}

.team-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

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

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

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.team-info .role {
    color: var(--primary-teal);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.team-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== Services Page Specific ===== */
.services-list-section {
    padding: 6rem 2rem;
    background: white;
}

.service-detail-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 168, 168, 0.1);
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.service-detail-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.service-detail-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.service-detail-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.feature-list li i {
    color: var(--primary-teal);
    font-size: 1rem;
}

.service-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.why-us-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0a2850 100%);
    color: white;
}

.benefits-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

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

.benefit-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-cyan);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.5rem;
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ===== Service Detail Page ===== */
.service-overview {
    padding: 6rem 2rem;
    background: white;
}

.overview-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.overview-image img {
    width: 100%;
    height: auto;
    display: block;
}

.overview-content h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.overview-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.tech-badge {
    background: rgba(0, 168, 168, 0.1);
    color: var(--primary-teal);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.offer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.offer-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(0, 168, 168, 0.1);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

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

.offer-card .offer-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-teal);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: white;
}

.offer-card h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.offer-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Process Timeline */
.process-timeline {
    padding: 6rem 2rem;
    background: var(--light-bg);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-teal);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.3rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* FAQ Accordion */
.faq-section {
    padding: 6rem 2rem;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(0, 168, 168, 0.15);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: left;
}

.faq-question i {
    color: var(--primary-teal);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===== Portfolio Page Specific ===== */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 168, 168, 0.2);
    background: white;
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-teal);
    color: white;
    border-color: var(--primary-teal);
}

/* ===== Blog Page Specific ===== */
.blog-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

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

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

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    background: rgba(0, 168, 168, 0.1);
    color: var(--primary-teal);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.blog-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.blog-meta i {
    color: var(--primary-teal);
    margin-right: 0.25rem;
}

.newsletter-section {
    padding: 5rem 2rem;
    background: var(--light-bg);
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    gap: 0.75rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(0, 168, 168, 0.2);
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(0, 168, 168, 0.1);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 30, 80, 0.3);
}

/* ===== FAQ Page Specific ===== */
.faq-categories {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(0, 168, 168, 0.2);
}

.still-questions {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.still-questions h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.still-questions p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* ===== Privacy & Terms Page ===== */
.policy-section {
    padding: 4rem 2rem 6rem;
    background: white;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-content h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin: 2.5rem 0 1rem;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-content ul li {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* ===== Map Placeholder ===== */
.map-placeholder {
    background: var(--light-bg);
    border-radius: 16px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-gray);
    margin-top: 1.5rem;
}

.map-placeholder i {
    font-size: 2rem;
    color: var(--primary-teal);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-container,
    .about-container,
    .contact-container,
    .story-container,
    .overview-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .process-steps {
        flex-wrap: wrap;
        gap: 3rem;
        justify-content: center;
    }

    .process-steps::before {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-img-secondary {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 1rem;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 100px 1rem 4rem;
    }

    .hero-container {
        padding: 1rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .page-banner h1 {
        font-size: 2.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .floating-card {
        display: none;
    }

    .experience-badge {
        left: 10px;
        top: 10px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .filter-tabs {
        gap: 0.5rem;
    }

    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}
