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

:root {
    --primary: #1e5fbd;
    --primary-dark: #164a99;
    --foreground: #1a1a1a;
    --background: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f0f4f8;
    --gray-200: #e8ecf1;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-600: #64748b;
    --gray-700: #475569;
    --gray-800: #334155;
    --gray-900: #1e293b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius: 0.625rem;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--foreground);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-container {
  display: flex;
  align-items: center;
}
.site-logo {
  height: 24px;           /* match your SVG height */
  width: auto;            /* keeps aspect ratio */
  vertical-align: middle; /* aligns with text/icons */
  display: inline-block;  /* behaves like SVG did */
  object-fit: contain;    /* ensures proper scaling */
}
#logo {
    background: white;
    border-radius: 10%;
}

.logo-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin: 0;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin: 0;
}

.nav-links-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--foreground);
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
}

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

.nav-mobile {
    display: block;
}

.nav-links-mobile {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
}

.nav-links-mobile::-webkit-scrollbar {
    display: none;
}

.nav-link-mobile {
    white-space: nowrap;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    color: var(--foreground);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.3s;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(30, 95, 189, 0.05);
}

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

.btn-whatsapp:hover {
    background: #20ba5a;
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* Main Content */
.main-content {
    padding-top: 5rem;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom right, #eff6ff, white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 95, 189, 0.05);
}

.hero-image {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

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

.hero-content {
    position: relative;
    width: 100%;
    padding: 5rem 1rem;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    max-width: 48rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(30, 95, 189, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero-badge p {
    font-size: 0.875rem;
    margin: 0;
    color: var(--primary);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 42rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-buttons .btn svg {
    transition: transform 0.3s;
}

.hero-buttons .btn:hover svg {
    transform: translateX(4px);
}

/* Highlights Section */
.highlights {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 42rem;
    margin: 0 auto;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s;
}

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

.highlight-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: rgba(30, 95, 189, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

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

.highlight-card h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

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

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(to bottom, white, #eff6ff);
}

.about-overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-text h3 {
    font-size: 1.75rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.mv-card {
    padding: 2rem;
}

.mv-card:hover {
    box-shadow: var(--shadow-xl);
}

.mv-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mv-icon {
    background: rgba(30, 95, 189, 0.1);
    padding: 0.75rem;
    border-radius: 50%;
}

.mv-icon svg {
    color: var(--primary);
}

.mv-header h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin: 0;
}

.founder-card {
    padding: 2rem;
    background: linear-gradient(to bottom right, white, rgba(239, 246, 255, 0.5));
    border-color: rgba(30, 95, 189, 0.2);
}

.founder-quote {
    font-style: italic;
    color: var(--gray-600);
}

.founder-signature {
    margin-top: 1.5rem;
    color: var(--gray-900);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    padding: 2rem;
}

.service-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
}

.service-card-soon {
    border-color: rgba(30, 95, 189, 0.3);
    background: linear-gradient(to bottom right, white, rgba(239, 246, 255, 0.3));
}

.service-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.service-icon {
    background: rgba(30, 95, 189, 0.1);
    padding: 1rem;
    border-radius: var(--radius);
}

.service-icon svg {
    color: var(--primary);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 9999px;
}

.badge-soon {
    background: rgba(30, 95, 189, 0.1);
    color: var(--primary);
}

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

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background: linear-gradient(to bottom, white, #eff6ff);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.project-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
}

.project-card:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.project-card:focus:not(:focus-visible) {
    outline: none;
}

.project-image {
    height: 12rem;
    background: linear-gradient(to bottom right, rgba(30, 95, 189, 0.1), rgba(30, 95, 189, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

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

.project-image svg {
    color: rgba(30, 95, 189, 0.3);
}

.project-content {
    padding: 1.5rem;
}

.project-badges {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge-completed {
    background: #dcfce7;
    color: #166534;
}

.badge-progress {
    background: #dbeafe;
    color: #1e40af;
}

.badge-type {
    border: 1px solid rgba(30, 95, 189, 0.3);
    color: var(--primary);
    background: transparent;
}

.project-card h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.projects-note {
    text-align: center;
    margin-top: 3rem;
}

.projects-note p {
    color: var(--gray-500);
    font-style: italic;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--radius);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: var(--shadow-2xl);
}

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

.modal-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.75rem;
    color: var(--gray-900);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-600);
    transition: color 0.3s;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--foreground);
}

.modal-body {
    padding: 2rem;
}

.project-detail-section {
    margin-bottom: 2rem;
}

.project-detail-section h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item {
    background: var(--gray-50);
    padding: 1rem;
    border-radius: var(--radius);
}

.detail-item-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.detail-item-value {
    font-size: 1rem;
    color: var(--gray-900);
    font-weight: 600;
}

.images-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(30, 95, 189, 0.1), rgba(30, 95, 189, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f4f6;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.modal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    gap: 1rem;
}

.modal-loading p {
    margin: 0;
}

.description-text {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-form-card {
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.contact-form-card h3 {
    font-size: 1.75rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--gray-900);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 95, 189, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.success-message {
    color: #166534;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #ef4444;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #10b981;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    padding: 1.5rem;
}

.contact-info-card:hover {
    box-shadow: var(--shadow-xl);
}

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

.contact-info-icon {
    background: rgba(30, 95, 189, 0.1);
    padding: 0.75rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-info-icon svg {
    color: var(--primary);
}

.contact-info-item h4 {
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    color: var(--gray-600);
    margin: 0;
}

.contact-map {
    height: 16rem;
    padding: 0;
    overflow: hidden;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
}

.footer-company {
    max-width: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    font-size: 1.25rem;
    margin: 0;
}

.footer-logo p {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin: 0;
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: 1rem;
}

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

.footer-social a {
    background: var(--gray-800);
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-400);
    transition: color 0.3s;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-contact svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact span {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.875rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--gray-400);
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-vision {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-links-desktop {
        display: flex;
    }
    
    .nav-mobile {
        display: none;
    }
    
    .nav-links-mobile {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

    @media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .images-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}