/* Global Styles */
:root {
    --primary-color: #232f3e; /* AWS blue */
    --secondary-color: #ff9900; /* AWS orange */
    --text-color: #333;
    --light-bg: #f8f8f8;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.logo span {
    color: var(--secondary-color); /* Or your brand color */
}

.tagline {
    font-size: 12px;

    margin: 2px 0 0 0; /* Small top margin, no other margins */
    line-height: 1;
}
.nav-links {
    display: flex;
    list-style: none;
}


.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--white);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Flash cards carousel */
.flash-cards-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
    height: 200px;
  }
  
  .flash-cards {
    display: flex;
    position: relative;
    width: 300%;
    animation: slide 12s infinite;
  }
  
  .flash-card {
    flex: 1;
    min-width: 33.333%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #ff9900,#232f3e);
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  
  .flash-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
  }
  
  .flash-card p {
    margin-bottom: 1.5rem;
  }
  
  .flash-card .btn {
    background-color: white;
    color: #0033a0;
  }
  
  .flash-card .btn:hover {
    background-color: #f0f0f0;
  }
  
  @keyframes slide {
    0%, 30% { transform: translateX(0); }
    33.33%, 63.33% { transform: translateX(-33.333%); }
    66.66%, 96.66% { transform: translateX(-66.666%); }
    100% { transform: translateX(0); }
  }
/* Hero Section */
/* Hero Section */
.hero {
    min-height: 100vh; /* Changed from height to min-height */
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(35, 47, 62, 0.8), rgba(35, 47, 62, 0.8)), url('../images/cloud-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 80px 20px 40px 20px; /* Added horizontal padding */
}

.hero-content {
    max-width: 800px;
    width: 100%; /* Ensure full width usage */
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    word-wrap: break-word; /* Prevent text overflow */
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.5; /* Better readability */
}

.btn-container {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on small screens */
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 140px; /* Minimum button width */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 60px 15px 30px 15px;
        text-align: center; /* Center align on mobile */
    }
    
    .hero-content h1 {
        font-size: 28px; /* Reduced font size for mobile */
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 16px; /* Reduced font size for mobile */
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    .btn-container {
        flex-direction: column; /* Stack buttons vertically on mobile */
        align-items: center;
        gap: 10px;
    }
    
    .btn {
        width: 100%; /* Full width buttons on mobile */
        max-width: 280px; /* But not too wide */
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 10px 20px 10px;
    }
    
    .hero-content h1 {
        font-size: 24px; /* Even smaller for very small screens */
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .btn {
        font-size: 14px;
        padding: 12px 16px;
    }
}

/* Tablet Responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
}
.highlight {
    color: var(--secondary-color);
}

/* Button Styles */
.btn-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    min-width: 200px;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 40px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-title p {
    color: #070606;
    max-width: 600px;
    margin: 0 auto;
}

.certifications {
    margin-top: 30px;
}

.cert-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Social Media Popup */
.social-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 99;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.social-icon .tooltip {
    position: absolute;
    left: -80px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.social-icon:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.social-icon.twitter {
    background-color: #1DA1F2;
    color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='white' d='M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25px;
}

.social-icon.whatsapp {
    background-color: #25D366;
    color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='white' d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25px;
}

/* Icon placeholder styles */
.icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    background-color: var(--secondary-color);
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
}

.icon-cloud {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4z'/%3E%3C/svg%3E");
}

.icon-security {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M466.5 83.7l-192-80a48.15 48.15 0 0 0-36.9 0l-192 80C27.7 91.1 16 108.6 16 128c0 198.5 114.5 335.7 221.5 380.3 11.8 4.9 25.1 4.9 36.9 0C360.1 472.6 496 349.3 496 128c0-19.4-11.7-36.9-29.5-44.3z'/%3E%3C/svg%3E");
}

.icon-network {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M640 264v-16c0-8.84-7.16-16-16-16H344v-40h72c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32H224c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h72v40H16c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16h104v40H64c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h160c17.67 0 32-14.33 32-32V352c0-17.67-14.33-32-32-32h-56v-40h304v40h-56c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h160c17.67 0 32-14.33 32-32V352c0-17.67-14.33-32-32-32h-56v-40h104c8.84 0 16-7.16 16-16z'/%3E%3C/svg%3E");
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.8;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .btn-container {
        flex-direction: column;
    }
    
    .nav-links {
        display: none; /* Mobile menu would be implemented with JavaScript */
    }
}
/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    font-size: 24px;
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-toggle:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: var(--shadow);
    z-index: 1001;
}

.chatbot-toggle:hover::before {
    content: '';
    position: absolute;
    bottom: 60px;
    right: 15px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--primary-color);
    z-index: 1001;
}

.chatbot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 500px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 16px;
}

#chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 80%;
    padding: 10px;
    border-radius: 10px;
    word-wrap: break-word;
}

.message.user {
    background: var(--secondary-color);
    color: var(--white);
    align-self: flex-end;
    margin-left: auto;
}

.message.bot {
    background: #f0f0f0;
    color: var(--text-color);
    align-self: flex-start;
}

.message.loading {
    background: #f0f0f0;
    color: var(--text-color);
    align-self: flex-start;
    font-style: italic;
}

.chatbot-input {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

#chatbot-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

#chatbot-send {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

#chatbot-send:hover {
    background: #e68900;
}

@media (max-width: 768px) {
    .chatbot-window {
        width: 300px;
        height: 400px;
    }
    
    .chatbot-container {
        bottom: 15px;
        right: 15px;
    }
}
