/* Base Styles */
:root {
    --primary-color: #1a2a3a; /* Dark blue from logo */
    --secondary-color: #f7b733; /* Yellow/gold from logo */
    --accent-color: #ff9e2c; /* Orange accent */
    --light-gray: #e6e6e6; /* Light gray background */
    --dark-gray: #4a4a4a; /* Dark gray text */
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(247, 183, 51, 0.3);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 42, 58, 0.4);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.section-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 50px;
    height: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--secondary-color);
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--accent-color);
    letter-spacing: 2px;
    margin-top: -5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--dark-gray);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

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

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

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

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: url('../images/backgrounds/hero/tech-background.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

.animate-text:nth-child(1) {
    animation-delay: 0.3s;
}

.animate-text:nth-child(2) {
    animation-delay: 0.6s;
}

.animate-text:nth-child(3) {
    animation-delay: 0.9s;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s 1.2s forwards;
}

.hero-text p span {
    color: var(--accent-color);
    font-weight: 600;
}

.hero-text .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s 1.5s forwards;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-icon {
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(247, 183, 51, 0.3);
    animation: pulse 2s infinite;
}

.logo-icon i {
    font-size: 50px;
    color: var(--white);
    position: absolute;
    z-index: 2;
}

.question-mark {
    font-size: 70px;
    font-weight: 700;
    color: var(--primary-color);
    position: absolute;
    z-index: 3;
}

.circles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.circle {
    position: absolute;
    border-radius: 50%;
}

.circle-1 {
    width: 80px;
    height: 80px;
    background: rgba(247, 183, 51, 0.2);
    top: 20%;
    right: 10%;
    animation: float 6s infinite;
}

.circle-2 {
    width: 40px;
    height: 40px;
    background: rgba(26, 42, 58, 0.2);
    bottom: 20%;
    left: 10%;
    animation: float 8s infinite;
}

.circle-3 {
    width: 60px;
    height: 60px;
    background: rgba(255, 158, 44, 0.2);
    top: 50%;
    left: 20%;
    animation: float 7s infinite;
}

.circle-4 {
    width: 30px;
    height: 30px;
    background: rgba(26, 42, 58, 0.3);
    bottom: 30%;
    right: 30%;
    animation: float 5s infinite;
}

.circle-5 {
    width: 50px;
    height: 50px;
    background: rgba(247, 183, 51, 0.3);
    top: 30%;
    left: 30%;
    animation: float 9s infinite;
}

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
    background: #f5f5f5;
    z-index: 1;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    z-index: -1;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.about-text:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Mission Section */
.mission {
    padding: 100px 0;
    position: relative;
    background: #f5f5f5;
    z-index: 1;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.3) 0%, rgba(245, 245, 245, 0.2) 100%);
    z-index: -1;
}

.mission .container {
    position: relative;
    z-index: 2;
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.mission-text {
    flex: 1;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.mission-text:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mission-text p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.mission-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Services Section */
.services {
    padding: 100px 0;
    position: relative;
    background: #ffffff;
    z-index: 1;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    z-index: -1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

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

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

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

.service-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 1;
    background: var(--white);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-bottom: 15px;
    transition: var(--transition);
    position: absolute;
    top: -30px;
    right: 25px;
    box-shadow: 0 4px 10px rgba(247, 183, 51, 0.3);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    box-shadow: 0 4px 15px rgba(26, 42, 58, 0.4);
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-content p {
    color: var(--dark-gray);
    margin-bottom: 20px;
    flex: 1;
}

.btn-small {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
    font-size: 0.9rem;
    align-self: flex-start;
}

.btn-small:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(247, 183, 51, 0.3);
}

@media screen and (min-width: 992px) {
    .service-card {
        flex-direction: row;
        height: 250px;
    }
    
    .service-image {
        width: 40%;
        height: 100%;
    }
    
    .service-content {
        width: 60%;
    }
    
    .service-icon {
        top: 25px;
        left: -30px;
        right: auto;
    }
    
    /* Alternate layout for even cards */
    .service-card:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .service-card:nth-child(even) .service-icon {
        left: auto;
        right: -30px;
    }
}

@media screen and (max-width: 991px) {
    .service-content {
        padding-top: 40px;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    position: relative;
    background: #f5f5f5;
    z-index: 1;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.3) 0%, rgba(245, 245, 245, 0.2) 100%);
    z-index: -1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 25px;
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    background: rgba(247, 183, 51, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--dark-gray);
}

.contact-form {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(247, 183, 51, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

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

#formMessage {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

#formMessage.success {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid #4caf50;
    display: block;
}

#formMessage.error {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid #f44336;
    display: block;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo .logo-container {
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    width: 45px;
    filter: brightness(0) invert(1);
}

.footer-logo .logo-text h2 {
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: var(--white);
}

.footer-logo .logo-text span {
    color: var(--secondary-color);
}

.footer-logo .logo-text p {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #b0b0b0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.social-icons i {
    font-size: 18px;
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 183, 51, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(247, 183, 51, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(247, 183, 51, 0);
    }
}

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

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-content,
    .about-content,
    .mission-content,
    .contact-content {
        flex-direction: column;
    }
    
    .hero {
        padding: 120px 0 70px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .about,
    .mission,
    .services,
    .contact {
        padding: 70px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media screen and (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about-text,
    .mission-text,
    .contact-form {
        padding: 20px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 25px;
    }
}
