/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e9b116 0%, #f8d208 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #e9b116;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #e9b116 0%, #f8d208 100%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 90px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #e9b116 0%, #f8d208 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}





.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #e9b116 0%, #f8d208 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 177, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 177, 22, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #333;
    border: 2px solid #e9b116;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #e9b116 0%, #f8d208 100%);
    color: white;
    transform: translateY(-2px);
}

.hero-img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #e9b116 0%, #f8d208 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #fff;
}

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

.service-card {
    background: #fff;
    padding: 2rem;
    padding-top: 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top-color: #f8d208;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/assets/medal-back.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 30px;
}

.service-icon i {
    font-size: 2.2rem;
    color: #af840f;
    /* Ensure icon is visible against the medal background */
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.product-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: linear-gradient(135deg, #e9b116 0%, #f8d208 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.contact-info p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

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

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item a {
    color: #e9b116;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item p {
    color: #666;
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e9b116;
    box-shadow: 0 0 0 3px rgba(233, 177, 22, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

.footer-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #e9b116;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-company-info {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    max-width: 300px;
}

.footer-icon {
    font-size: 1.2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-info-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #e9b116;
}

.footer-info-item p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
        min-height: 3rem; /* Adjusted for smaller font size */
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 2rem;
    }

    .footer-nav {
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-company-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-info-item {
        text-align: center;
        max-width: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        min-height: 2.4rem; /* Adjusted for smaller font size */
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .service-card,
    .product-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.product-card {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4) {
    animation-delay: 0.3s;
}

.product-card:nth-child(2) {
    animation-delay: 0.1s;
}

.product-card:nth-child(3) {
    animation-delay: 0.2s;
} 

/* Dark Theme */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #181818;
    color: #f3f3f3;
  }
  .header {
    background: rgba(24, 24, 24, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-link {
    color: #f3f3f3;
  }
  .nav-link:hover {
    color: #f8d208;
  }
  .nav-link::after {
    background: linear-gradient(135deg, #e9b116 0%, #f8d208 100%);
  }
  
  .nav-link-active {
    color: #e9b116;
  }
  .logo-text {
    background: linear-gradient(135deg, #f8d208 0%, #e9b116 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero {
    background: linear-gradient(135deg, #232323 0%, #181818 100%);
  }
  .section-title {
    background: linear-gradient(135deg, #f8d208 0%, #e9b116 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .section-subtitle {
    color: #cccccc;
  }
  .services {
    background: #232323;
  }
  .service-card {
    background: #181818;
    color: #f3f3f3;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  }
  .service-card h3 {
    color: #f8d208;
  }
  .service-card p {
    color: #cccccc;
  }
  .products {
    background: #181818;
  }
  .product-card {
    background: #232323;
    color: #f3f3f3;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  }
  .product-card h3 {
    color: #f8d208;
  }
  .product-card p {
    color: #cccccc;
  }
  .tag {
    background: linear-gradient(135deg, #f8d208 0%, #e9b116 100%);
    color: #232323;
  }
  .contact {
    background: #232323;
  }
  .contact-info h3,
  .contact-form h3 {
    color: #f8d208;
  }
  .contact-info p,
  .contact-item p,
  .contact-item h4 {
    color: #cccccc;
  }
  .contact-form {
    background: #181818;
    border: 1px solid rgba(255,255,255,0.05);
  }
  .form-group label {
    color: #f3f3f3;
  }
  .form-group input,
  .form-group textarea {
    background: #232323;
    color: #f3f3f3;
    border: 1px solid #444;
  }
  .form-group input:focus,
  .form-group textarea:focus {
    border-color: #f8d208;
    box-shadow: 0 0 0 3px rgba(248, 210, 8, 0.1);
  }
  .btn-primary {
    background: linear-gradient(135deg, #f8d208 0%, #e9b116 100%);
    color: #232323;
  }
  .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(248, 210, 8, 0.3);
  }
  .btn-secondary {
    background: transparent;
    color: #f8d208;
    border: 2px solid #f8d208;
  }
  .btn-secondary:hover {
    background: linear-gradient(135deg, #f8d208 0%, #e9b116 100%);
    color: #232323;
  }
  .footer {
    background: #111;
    color: #f3f3f3;
  }
  .footer-links a {
    color: #f3f3f3;
  }
  .footer-links a:hover {
    color: #f8d208;
  }
  .footer-bottom {
    color: #888;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .notification {
    background: #232323 !important;
    color: #f8d208 !important;
  }
  .notification-success {
    background: #2e7d32 !important;
    color: #fff !important;
  }
  .notification-error {
    background: #c62828 !important;
    color: #fff !important;
  }
  .notification-info {
    background: #232323 !important;
    color: #f8d208 !important;
  }
  /* Progress bar */
  body .progress-bar {
    background: linear-gradient(135deg, #f8d208 0%, #e9b116 100%);
  }
  .service-icon i {
    color: #333;
    /* Ensure icon is visible against the medal background in dark mode */
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
  }
} 

.product-logo {
    width: auto;
    height: 100%;
    max-height: 50px;
}

.unused.azure-cloud {
    color: #f8d208;
    filter: drop-shadow(0 0 0.5px #e9b116) drop-shadow(0 0 2px #fff8);
    /* Optional: add a thin text stroke for a more outlined look */
    -webkit-text-stroke: 1px #e9b116;
    text-stroke: 1px #e9b116;
}
@media (prefers-color-scheme: dark) {
  .unused.azure-cloud {
    color: #fffbe6;
    -webkit-text-stroke: 1px #f8d208;
    text-stroke: 1px #f8d208;
  }
}

.product-title-link {
    color: #e9b116;
    text-decoration: none;
    font-weight: 500;
    margin-left: 10px;
}

.product-title-link:hover {
    text-decoration: underline;
    color: #f8d208;
}

.perl-logo-wrapper {
    text-align: center;
}

.container--text-content {
    max-width: 800px;
}
.container--text-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.container--text-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.container--text-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.container--text-content h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.container--text-content ul {
    margin-bottom: 1rem;
    list-style-position: inside;
}