/* Frontend CSS for AGF SMART TECHNOLOGIES LTD */
:root {
    --primary-color: #0074D9;
    --secondary-color: #001f3f;
    --accent-color: #2ECC40;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
    --container-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Navbar */
.navbar {
    height: 80px;
    background: var(--white);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.navbar-sticky {
    position: sticky;
    top: 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-logo img {
    /* height controlled by admin settings */
}

.navbar-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--secondary-color);
}

.navbar-logo .highlight {
    color: var(--primary-color);
}

.navbar-menu ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.navbar-menu a:hover,
.navbar-menu .active a {
    color: var(--primary-color);
}

.nav-cta {
    background: var(--primary-color);
    color: #fff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #000 100%);
    color: #fff;
    text-align: center;
    position: relative;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: 0.3s;
}

.hero-btn:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

/* Grids */
.services-grid, .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card, .product-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #eee;
}

.service-card:hover, .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3, .product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.25rem;
}

.team-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.team-photo-frame {
    width: 150px;
    height: 150px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 16px 35px rgba(0,0,0,0.10);
    padding: 8px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-photo {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #f3f4f6;
}

.team-photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0,116,217,0.12), rgba(46,204,64,0.10));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0,31,63,0.65);
    font-size: 3rem;
}

.team-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.team-badges {
    margin: 0.75rem 0 1.25rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.team-bio {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.footer-logo .highlight {
    color: var(--primary-color);
}

.footer h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer-contact li i {
    width: 25px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-menu {
        display: none;
    }
    .navbar-toggler {
        display: block;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
}
