body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F0ECE1;
    color: #333;
}
h1{
    color: #FFFFFF;
}

h2, h3, h4 {
    color: #1A2166;
}

.btn {
    background-color: #4EB290;
    color: white;
    font: Rubik;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    font-weight: 600;
}

.btn.secondary {
    background-color: #E8ECEF;
    font: Rubik;
    color: #4EB290;
}

/* Top Bar Styling */
.top-bar {
    background-color: #1A2166; /* Dark Blue Background */
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 17px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar img {
    width: 18px; /* Adjust the size of the icons */
    height: 18px;
    vertical-align: middle;
}
/* Navigation Styles */
.main-nav {
    background: #333;
    padding: 15px 0;
}

.nav-list {
    display: flex;
    gap: 30px;
    list-style: none;
    font-weight: 500;

}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font: bold;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #B8860B;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 10px 0;
    list-style: none;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 8px 15px;
}

.dropdown-menu a {
    color: #333;
    display: block;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    color: #B0B4B7;
    background: #f9f9f9;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F0ECE1;
    padding: 15px 88px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #323B4B;
    font-weight: 600;
    font-size: 18px;
}


.btn {
    background: linear-gradient(45deg, #1A2166, #2DAF74);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }
  
  .btn:active {
    transform: translateY(1px);
  }
  
  /* Optional: Add a shine effect on hover */
  .btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.3s ease;
  }
  
  .btn:hover::after {
    left: 100%;
  }
  

/* Responsive Design */
@media screen and (max-width: 768px) {
    /* Fixing top bar alignment */
    .top-bar {
        text-align: center;
        display: flex;
        justify-content: center;
        width: 110%;
        top: 0;
        left: 0;
        z-index: 1000;
        
    }


    .top-bar span {
        display: flex;
        flex-wrap: wrap;
        gap: 18px;
        justify-content: center;
    }


    nav {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        width: 105%;

    }

}
.header-image {
    width: 100%;
    max-width: 1200px; /* Adjust based on your design */
    margin: 0 auto;
    padding: 20px 15px;
}

.header-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Optional */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Optional */
}

/* Mobile-specific fixes */
@media (max-width: 768px) {
    .company-header-image {
        padding: 10px;
    }
    
    .company-header-image img {
        max-height: 200px; /* Adjust based on your needs */
        object-fit: cover; /* Ensures image stays proportional */
    }
}


/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #F0ECE1;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.aia-header {
    background-color: #F0ECE1;
    color: #333;
    padding: 40px 0;
    text-align: center;
}

.aia-header h1 {
    font-size: 2.3rem;
    margin-bottom: 10px;
    color: #1A2166;
}

.subtitle {
    font-size: 1.2rem;
    color: #95A1BB;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.header-line {
    width: 50px;
    height: 2px;
    background: #4EB290;
    margin: 20px auto;
}

/* Services Section */
.insurance-services {
    padding: 60px 0;
}

.insurance-services h2 {
    text-align: center;
    color: #1A2166;
    margin-bottom: 40px;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #E6F2FF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: #1A2166;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

.learn-more {
    display: inline-block;
    color: #4EB290;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #4EB290;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.learn-more:hover {
    color: #1A2166;
    border-color: #1A2166;
}

/* CTA Section */
.insurance-cta {
    color: white;
    padding: 60px 0;
    text-align: center;
}

.insurance-cta h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding: 0 20px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary {
    background: #4EB290;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.cta-secondary {
    background: white;
    color: #4EB290;
    border: 2px solid #4EB290;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    background: #3C8B6F;
}

.cta-secondary:hover {
    background: #4EB290;
    color: white;
}


/* Footer Styles */
.footer {
    background-color: #0D1326;
    color: #fff;
    padding: 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    padding: 0 20px;
}

.footer-column h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #B0B3C1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ffffff;
}

.contact p {
    color: #B0B3C1;
    font-size: 14px;
    margin: 5px 0;
}

.contact a {
    color: #50C878; /* Light Green */
    text-decoration: none;
    font-weight: bold;
}

.contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #B0B3C1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-header h1 {
        font-size: 2rem;
    }
    
    .services-main h2 {
        font-size: 1.8rem;
    }
    
    .services-cta h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer{
        width: 110%;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        top: 0;
        left: -10;
        z-index: 1000;
    }
}



/* Responsive Design */
@media screen and (max-width: 768px) {
    /* Fixing top bar alignment */
    .top-bar {
        text-align: center;
        font-size: 15px;
        display: flex;
        justify-content: center;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1000;
        overflow-x: hidden;
        
    }


    .top-bar span {
        display: flex;
        flex-wrap: wrap;
        gap: 18px;
        justify-content: center;
    }


    nav {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: white;
        gap: 30px;
        padding: 10px;
        width: 100%;

    }

 
    .cta {
        padding: 40px 20px;
        width: 90%;
        
    }
    .footer{
        width: 100%;
        
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        top: 0;
        left: -10;
        gap: 35px;
        z-index: 1000;
        overflow-x: hidden;
    }
}



/* Text Size Adjustments for Readability */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
}

/* Image Scaling */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent Horizontal Scrolling */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Form Elements Responsiveness */
input, textarea, select {
    max-width: 100%;
    box-sizing: border-box;
}



/* Text Size Adjustments for Readability */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
}

/* Image Scaling */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent Horizontal Scrolling */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Form Elements Responsiveness */
input, textarea, select {
    max-width: 100%;
    box-sizing: border-box;
}




.chat-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
  }
  
  .chat-toggle-btn {
    width: 60px;
    height: 60px;
    background-color: #4EB290;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .chat-toggle-btn:hover {
    background-color: #3a8a6d;
    transform: scale(1.05);
  }
  
  .chat-window {
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
  }
  
  .chat-header {
    background: #1A2166;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
  }
  
  .close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  .chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
  }
  
  .chat-message {
    margin-bottom: 15px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 0.95rem;
  }
  
  .chat-message.bot {
    background: white;
    border: 1px solid #e0e0e0;
    border-top-left-radius: 5px;
    margin-right: auto;
  }
  
  .chat-message.user {
    background: #4EB290;
    color: white;
    margin-left: auto;
    border-top-right-radius: 5px;
  }
  
  .timestamp {
    display: block;
    font-size: 0.7rem;
    color: #888;
    margin-top: 5px;
    text-align: right;
  }
  
  .chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #e0e0e0;
    background: white;
  }
  
  .chat-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    outline: none;
  }
  
  .chat-input button {
    background: #4EB290;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 0 20px;
    margin-left: 10px;
    cursor: pointer;
    font-weight: 500;
  }
  
  @media (max-width: 768px) {
    .chat-container {
      bottom: 20px;
      right: 20px;
    }
    .chat-window {
      width: calc(100vw - 40px);
      height: 70vh;
      right: 20px;
      bottom: 80px;
    }
  }
