/* Modern CSS for InfoLibrarian Website */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #FFA500;
    color: wh#606060;
}

.btn-primary:hover {
    background-color: #000066;
    transform: translateY(-2px);
}

a.btn-primary:focus:not(:hover),
a.btn-primary:active:not(:hover) {
    background-color: #C74B27 !important;
    color: white !important;
}


.btn-secondary {
    background-color: #3d7299;
    color: white;
}

.btn-secondary:hover {
    background-color: #808080;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color:  #3D7299;
    border: 2px solid #FFA500;
}

.btn-outline:hover {
    background-color: #3d7299;
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #000033 0%, #000066 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Service Cards */
.featured-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #000033;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
}

.blog-card h3 {
    margin-bottom: 0.5rem;
}

.blog-card h3 a {
    color: #000033;
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: #000066;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

/* Company Highlights */
.company-highlights {
    background-color: #f8f9fa;
    padding: 4rem 0;
    margin-top: 4rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight {
    text-align: center;
    padding: 1.5rem;
}

.highlight h3 {
    color: #000033;
    margin-bottom: 1rem;
}

/* Sidebar */
.sidebar {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.sidebar-widget {
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    color: #000033;
    margin-bottom: 1rem;
    border-bottom: 2px solid #000033;
    padding-bottom: 0.5rem;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.sidebar-widget li {
    margin-bottom: 0.5rem;
}

.sidebar-widget a {
    color: #000033;
    text-decoration: none;
}

.sidebar-widget a:hover {
    color: #000066;
}

/* Blog Preview */
.blog-preview {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.blog-preview:last-child {
    border-bottom: none;
}

.blog-preview h4 {
    margin-bottom: 0.5rem;
}

.blog-preview h4 a {
    color: #000033;
    text-decoration: none;
}

.blog-preview h4 a:hover {
    color: #000066;
}

.blog-preview small {
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .featured-services {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .mainfloatL > div {
        float: none !important;
        width: 100% !important;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .service-card,
    .blog-card {
        padding: 1rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Hide/Show Classes */
.hide-mobile {
    display: block;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
    
    .show-mobile {
        display: block;
    }
}

/* Content Styling */
.content {
    padding: 2rem 0;
}

.content h1 {
    color: #000033;
    border-bottom: 3px solid #000033;
    padding-bottom: 0.5rem;
}

.content h2 {
    color: #000033;
    margin-top: 2rem;
}

.content h3 {
    color: #000033;
    margin-top: 1.5rem;
}

.content ul, .content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.content li {
    margin-bottom: 0.5rem;
}

.content blockquote {
    border-left: 4px solid #000033;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666;
}

.content code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.content pre {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1rem 0;
}

.content pre code {
    background: none;
    padding: 0;
} 

.divider {
  width: 100%;
  height: 0;
  border: none;
  border-top: 4px solid #0ea5e9;
  margin: 2.5rem 0 2.5rem 0;
  background: none;
} 

.clientsbanner {
  width: 100%;
  background: #fff;
  padding: 2rem 0 1rem 0;
  margin: 0 auto;
  display: block;
}
.clientsbannerinner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
#clients ul {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 24px;
  justify-content: flex-start;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
#clients ul li {
  flex: 0 0 auto;
  min-width: 80px;
  margin-right: 0;
}
@media (max-width: 900px) {
  #clients ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
  }
  #clients ul li {
    min-width: 80px;
    margin-right: 8px;
  }
  .clientsbanner {
    padding: 1.2rem 0 3.5rem 0;
    margin-bottom: 2.5rem;
    min-height: 90px;
    overflow-x: auto;
  }
} 
.clientsbanner .labelx {
  text-align: center;
  display: block;
  margin: 0 auto 0.5rem auto;
}

/* Innovation Timeline */
.innovation-timeline {
    max-width: 800px;
    margin: 3rem auto;
    position: relative;
}

.innovation-timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #000033, #000066);
}

.timeline-item {
    display: flex;
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-year {
    width: 100px;
    text-align: right;
    padding-right: 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #000033;
    position: relative;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #000033;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #000033;
}

.timeline-content {
    flex: 1;
    padding-left: 2rem;
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-left: 1rem;
}

.timeline-content h4 {
    color: #000033;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.timeline-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .innovation-timeline::before {
        left: 80px;
    }
    
    .timeline-year {
        width: 70px;
        padding-right: 1rem;
        font-size: 1rem;
    }
    
    .timeline-year::after {
        right: -6px;
        width: 12px;
        height: 12px;
    }
    
    .timeline-content {
        padding-left: 1rem;
        margin-left: 0.5rem;
    }
} 