/* Variables */
:root {
    --primary-color: #003366;
    --secondary-color: #002244;
    --accent-color: #0055a4;
    --text-color: #333;
    --light-text: #fff;
    --bg-light: #f8f9fa;
    --bg-dark: #001133;
    --border-radius: 5px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--bg-dark));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

/* Custom Logo */
.custom-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.custom-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    z-index: 1;
}

.logo-text {
    color: white;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 1px;
    margin-right: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.logo-text-secondary {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 600;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--light-text);
    transition: var(--transition);
}

nav ul li a:hover {
    color: rgba(255, 255, 255, 0.8);
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-text);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 17, 51, 0.9)), url('https://images.unsplash.com/photo-1519681393784-d120267933ba?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-text);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center/cover;
    opacity: 0.6;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    margin-bottom: 30px;
    animation: fadeInUp 1s 0.6s forwards;
    opacity: 0;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--light-text);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
}

.tech-icons {
    margin-top: 40px;
    animation: fadeInUp 1s 0.9s forwards;
    opacity: 0;
}

.tech-icons i, .tech-icons .tech-icon-text {
    font-size: 2rem;
    margin: 0 10px;
    color: var(--light-text);
    opacity: 0.8;
    transition: var(--transition);
    display: inline-block;
}

.tech-icons i:hover, .tech-icons .tech-icon-text:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.tech-icon-text {
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* Technologies Section */
.technologies {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 51, 102, 0.97), rgba(0, 17, 51, 0.97)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: var(--light-text);
}

.technologies .section-title {
    color: var(--light-text);
}

.technologies .section-title::after {
    background-color: var(--light-text);
}

.tech-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
}

.tech-group {
    flex: 1;
    min-width: 250px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.tech-group:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.tech-group h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--accent-color);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(50% - 10px);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item i, .tech-item .tech-icon-text {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--light-text);
}

.tech-item span {
    font-size: 0.9rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 51, 102, 0.05) 10px,
        rgba(0, 51, 102, 0.05) 20px
    );
    z-index: -1;
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    position: relative;
}

.service-card .icon::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(0, 51, 102, 0.15);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
    background-image: linear-gradient(to bottom, rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.9)), url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.contact-content-direct {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-btn {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    text-decoration: none;
}

.contact-btn i {
    font-size: 1.8rem;
    margin-right: 15px;
}

.email-btn {
    background-color: var(--primary-color);
    color: white;
}

.email-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.whatsapp-btn {
    background-color: #0055a4;
    color: white;
}

.whatsapp-btn:hover {
    background-color: #003366;
    transform: translateY(-3px);
}

.contact-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.contact-image:hover img {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--light-text);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none"/><path d="M0 50 L50 0 L100 50 L50 100 Z" stroke="rgba(255,255,255,0.03)" fill="none" stroke-width="1"/><path d="M0 25 L25 0 L50 25 L25 50 Z" stroke="rgba(255,255,255,0.03)" fill="none" stroke-width="1"/><path d="M50 25 L75 0 L100 25 L75 50 Z" stroke="rgba(255,255,255,0.03)" fill="none" stroke-width="1"/><path d="M0 75 L25 50 L50 75 L25 100 Z" stroke="rgba(255,255,255,0.03)" fill="none" stroke-width="1"/><path d="M50 75 L75 50 L100 75 L75 100 Z" stroke="rgba(255,255,255,0.03)" fill="none" stroke-width="1"/></svg>');
    opacity: 0.5;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 350px;
}

.footer-custom-logo {
    margin-bottom: 20px;
    width: fit-content;
}

.footer-tagline {
    display: flex;
    align-items: center;
    margin-top: 15px;
    font-style: italic;
    opacity: 0.8;
}

.footer-tagline i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-links {
    display: flex;
}

.footer-links-column h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links-column ul {
    padding: 0;
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    color: var(--light-text);
    transition: var(--transition);
}

.footer-links-column ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-location {
    display: flex;
    align-items: center;
}

.footer-location i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation for Contact Buttons */
.contact-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact-btn.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-image {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact-image.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: -60px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top-btn.show {
    bottom: 30px;
}

.scroll-top-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Animation for Service Cards */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .custom-logo {
        margin: 0 auto 10px;
    }
    
    nav {
        margin-top: 20px;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    nav {
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .tech-icons i, .tech-icons .tech-icon-text {
        font-size: 1.5rem;
        margin: 0 8px;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .tech-container {
        flex-direction: column;
    }
    
    .tech-group {
        width: 100%;
    }
    
    .tech-item {
        width: calc(50% - 10px);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-custom-logo {
        margin: 0 auto 15px;
    }
    
    .footer-tagline {
        justify-content: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .contact-btn {
        padding: 12px 15px;
    }
    
    .contact-btn i {
        font-size: 1.5rem;
        margin-right: 10px;
    }
    
    .contact-btn span {
        font-size: 0.9rem;
    }
    
    .tech-item {
        width: 100%;
    }
    
    .tech-icons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
} 