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

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a192f; /* Deep Navy Slate */
    --primary-light: #112240;
    --secondary: #007bff; /* Sharp Electric Blue */
    --secondary-hover: #0056b3;
    --accent: #00f0ff; /* Neon cyan for subtle highlights */
    --bg: #f4f7fb;
    --surface: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body, html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 5%;
    width: 90%;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 0.5rem 1rem;
}

.navbar.scrolled {
    top: 10px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 0.3rem 1rem;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo img {
    height: 75px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: rotate(15deg);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-light);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transition: var(--transition);
    border-radius: 2px;
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary);
    margin: 6px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 160px;
    background-image: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.8) 100%), url('Images/IMG-20260819-WA0069.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 {
    font-size: 5rem;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    line-height: 1.1;
}

.hero p {
    font-size: 1.35rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0056b3 0%, var(--secondary) 100%);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(0, 123, 255, 0.5);
    color: white;
}

.btn-primary:hover::before {
    opacity: 1;
}

/* Section Utility */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features (Home) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--surface);
    padding: 4rem 3rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    border: 1px solid rgba(226, 232, 240, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

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

.feature-icon {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Services Page & Portfolio Header specific */
.services-header, .portfolio-header, .page-header {
    background-image: linear-gradient(135deg, rgba(10, 25, 47, 0.85) 0%, rgba(10, 25, 47, 0.7) 100%), url('Images/IMG-20260819-WA0051.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 14rem 0 10rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.glass-header-content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 4rem 2rem;
    border-radius: 24px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-header::after, .portfolio-header::after, .page-header::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,240,255,0.1) 0%, rgba(0,0,0,0) 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.services-header h1, .portfolio-header h1, .page-header h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3.5rem;
}

.service-item {
    background: var(--surface);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

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

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

/* Services Zigzag Layout */
.service-zigzag-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
    margin-bottom: 8rem;
}
.service-zigzag-row:nth-child(even) {
    flex-direction: row-reverse;
}
.service-zigzag-img {
    flex: 1;
    min-width: 300px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}
.service-zigzag-img img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}
.service-zigzag-img:hover img {
    transform: scale(1.05);
}
.service-zigzag-content {
    flex: 1;
    min-width: 300px;
}
.service-zigzag-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.service-zigzag-content h3 i {
    color: var(--secondary);
    font-size: 2rem;
}
.service-zigzag-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-content {
    padding: 3rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.service-content h3 i {
    color: var(--secondary);
    font-size: 1.4rem;
}

.service-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Portfolio Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Glassmorphism Contact Section */
.contact-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0f6ff 50%, #e4eff8 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background: var(--secondary);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    top: -5%;
    left: -5%;
    z-index: 0;
}

.contact-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    bottom: -5%;
    right: -5%;
    z-index: 0;
}

.contact-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 4rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 123, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.glass-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    display: inline-block;
    transition: var(--transition);
}

.glass-card:hover i {
    transform: scale(1.1);
}

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

.glass-card p, .glass-card a {
    color: var(--text-main);
    font-size: 1.1rem;
}

.glass-card a {
    font-weight: 600;
    transition: var(--transition);
}

.glass-card a:hover {
    color: var(--secondary);
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 6rem 0 3rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1); /* Makes logo white if it is colored */
}

.footer-col h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.footer-col p {
    color: #94a3b8;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-col ul li i {
    color: var(--secondary);
    font-size: 0.9rem;
}

.footer-col ul li a {
    color: #94a3b8;
    transition: var(--transition);
    font-size: 1.05rem;
}

.footer-col ul li a:hover {
    color: white;
    transform: translateX(5px);
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    text-align: center;
    color: #64748b;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.developer-credit {
    font-weight: 500;
}

.developer-credit a {
    color: var(--secondary);
}

.developer-credit a:hover {
    color: var(--accent);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        top: 10px;
        left: 2.5%;
        width: 95%;
        padding: 0.5rem 1rem;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

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

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 3rem;
    }
    
    .section {
        padding: 5rem 0;
    }
}
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Policy & Legal Document Pages */
.policy-page {
    padding: 3.5rem 0 5rem;
}

.policy-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 3.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.policy-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 240, 255, 0.15);
    color: var(--accent);
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.policy-quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.policy-quick-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.policy-quick-nav a:hover,
.policy-quick-nav a.active {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #e2e8f0;
}

.policy-section p {
    color: #475569;
    margin-bottom: 1rem;
    font-size: 1.02rem;
    line-height: 1.8;
}

.policy-section ul,
.policy-section ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #475569;
}

.policy-section ul li,
.policy-section ol li {
    margin-bottom: 0.6rem;
    font-size: 1.02rem;
    line-height: 1.7;
}

.policy-table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.policy-table th,
.policy-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    vertical-align: top;
}

.policy-table th {
    background: #f8fafc;
    color: var(--primary);
    font-weight: 700;
    width: 32%;
    border-right: 1px solid var(--border);
}

.policy-table td {
    color: #334155;
    background: #ffffff;
}

.policy-table tr:last-child th,
.policy-table tr:last-child td {
    border-bottom: none;
}

.policy-callout {
    background: #eff6ff;
    border-left: 4px solid var(--secondary);
    padding: 1.25rem 1.5rem;
    border-radius: 0 10px 10px 0;
    margin: 1.5rem 0 2rem;
}

.policy-callout p {
    margin: 0;
    color: #1e40af;
    font-size: 0.98rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .policy-card {
        padding: 2rem 1.5rem;
    }
    .policy-table th,
    .policy-table td {
        padding: 0.8rem;
        font-size: 0.88rem;
    }
    .policy-table th {
        width: 40%;
    }
}

