/* General Styles */
:root {
    --primary-color: #03a9f4;
    --secondary-color: #2a5298;
    --background-dark: #121212;
    --text-dark: #ffffff;
    --card-bg-dark: #1f1f1f;
    --transition-speed: 0.3s;
}

body {
    margin: 0;
    font-family: 'Comfortaa', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-dark);
}

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

/* Header */
header {
    background-color: rgba(31, 31, 31, 0.95);
    padding: 20px 0;
    border-bottom: 1px solid rgba(68, 68, 68, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: background-color var(--transition-speed);
}

header h1 {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 2em;
}

/* Navigation */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, #1e3c72, #2a5298);
    padding: 100px 0;
    text-align: center;
}

.hero-section h2 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero-section p {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.btn {
    padding: 10px 20px;
    background-color: #03a9f4;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn:hover {
    background-color: #0288d1;
}

/* Email Link */
a[href^="mailto:"] {
    color: #00adff; /* Set the email link color */
    text-decoration: none;
}

a[href^="mailto:"]:hover {
    text-decoration: underline;
}

/* Sections */
section {
    padding: 50px 0;
}

section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
}

/* Services */
.service-cards {
    display: flex;
    justify-content: space-between;
}

.card {
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    text-align: center;
    transition: transform 0.3s;
}

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

/* Our Projects Section */
#projects {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 50px 0;
    text-align: center;
}

#projects h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.project-cards {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.project-cards .card {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    text-align: center;
    transition: transform 0.3s, background-color 0.3s;
}

.project-cards .card:hover {
    transform: scale(1.05);
    background-color: #444;
}

.project-cards .card h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.project-cards .card p {
    font-size: 1.2em;
}

/* Footer */
footer {
    background-color: #1f1f1f;
    padding: 20px 0;
    text-align: center;
    border-top: 2px solid #444;
}

footer p {
    margin: 0;
}

/* Logo in Header */
#logo {
    height: 1.2em; /* Scale the logo to match the text size */
    vertical-align: middle; /* Align the logo with the text */
    margin-right: 10px; /* Add some space between the logo and the text */
    position: relative;
    top: -6px; /* Move the logo up slightly more */
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1em;
}

.about-stats {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-item {
    text-align: center;
    padding: 40px;
    background-color: var(--card-bg-dark);
    border-radius: 20px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid rgba(3, 169, 244, 0.1);
    min-width: 200px;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(3, 169, 244, 0.15);
}

.stat-number {
    display: block;
    font-size: 3.5em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(3, 169, 244, 0.4);
}

.stat-label {
    font-size: 1.3em;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Contact Section */
.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background-color: var(--card-bg-dark);
    border-radius: 15px;
    transition: all var(--transition-speed);
    border: 1px solid rgba(3, 169, 244, 0.1);
    text-decoration: none;
    cursor: pointer;
}

.contact-item:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 8px 25px rgba(3, 169, 244, 0.15);
    border-color: var(--primary-color);
}

.contact-item i {
    font-size: 2em;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(3, 169, 244, 0.3);
    transition: transform var(--transition-speed);
}

.contact-item:hover i {
    transform: scale(1.1);
}

.contact-item p {
    font-size: 1.2em;
    margin: 0;
    color: var(--text-dark);
    transition: color var(--transition-speed);
}

.contact-item:hover p {
    color: var(--primary-color);
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid rgba(3, 169, 244, 0.2);
    border-radius: 8px;
    background-color: var(--card-bg-dark);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 1em;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(3, 169, 244, 0.1);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.contact-form button:hover {
    background-color: #0288d1;
    transform: translateY(-2px);
}

/* Footer */
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-dark);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity var(--transition-speed);
}

.footer-section a:hover {
    opacity: 1;
}

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

.social-links a {
    font-size: 1.5em;
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(68, 68, 68, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-form {
        order: -1;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header Scroll Animations */
header {
    transition: transform 0.3s ease-in-out;
}

header.scroll-down {
    transform: translateY(-100%);
}

header.scroll-up {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.blog-post {
    background-color: var(--card-bg-dark);
    border-radius: 15px;
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid rgba(3, 169, 244, 0.1);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(3, 169, 244, 0.15);
}

.blog-post-content {
    padding: 25px;
}

.blog-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.blog-post-date {
    color: var(--primary-color);
    font-weight: 500;
}

.blog-post-category {
    background-color: rgba(3, 169, 244, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
}

.blog-post h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.blog-post p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-dark);
    opacity: 0.9;
}

.blog-post-footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(3, 169, 244, 0.1);
}

.blog-post-author {
    font-weight: 500;
    color: var(--primary-color);
}

.blog-post-role {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Blog Hero Section */
#blog-hero {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,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;
    background-size: cover;
    opacity: 0.1;
}

#blog-hero h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

#blog-hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

/* Responsive Blog */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    #blog-hero h2 {
        font-size: 2.5em;
    }

    #blog-hero p {
        font-size: 1.2em;
    }
}

/* Information Page */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.info-card {
    background-color: var(--card-bg-dark);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid rgba(3, 169, 244, 0.1);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(3, 169, 244, 0.15);
}

.info-card i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(3, 169, 244, 0.3);
}

.info-card h3 {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    background-color: rgba(3, 169, 244, 0.05);
    border-radius: 10px;
    transition: background-color var(--transition-speed);
}

.info-item:hover {
    background-color: rgba(3, 169, 244, 0.1);
}

.info-label {
    font-size: 0.9em;
    color: var(--primary-color);
    font-weight: 500;
}

.info-value {
    font-size: 1.1em;
    color: var(--text-dark);
    font-weight: 500;
}

/* Info Hero Section */
#info-hero {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#info-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,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;
    background-size: cover;
    opacity: 0.1;
}

#info-hero h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

#info-hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

/* Responsive Info Page */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 25px;
    }

    #info-hero h2 {
        font-size: 2.5em;
    }

    #info-hero p {
        font-size: 1.2em;
    }
}
